OCR file for Chinese for portable viewer?
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
OCR file for Chinese for portable viewer?
I am using portable pdfxchange viewer.
In https://www.pdf-xchange.com/product/downloads, the "Portable Version (OCR Lang Files) | 8 MB" doesn't include Chinese file.
When I run the exe file for Chinese, it says pdfxchange viewer not installed. Probably because I am using portable version.
How can I solve the issue?
My OS is Ubuntu 12.04, and running portable viewer under wine-1.6.1
Thanks.
In https://www.pdf-xchange.com/product/downloads, the "Portable Version (OCR Lang Files) | 8 MB" doesn't include Chinese file.
When I run the exe file for Chinese, it says pdfxchange viewer not installed. Probably because I am using portable version.
How can I solve the issue?
My OS is Ubuntu 12.04, and running portable viewer under wine-1.6.1
Thanks.
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: OCR file for Chinese for portable viewer?
Thanks. In the linked post, you wrote
But the OCR option of the viewer doesn't show an option for Chinese Simplified. Only options for the languages in the base file. See my picture below
Btw, I don't have a file named "Langs.ini" for me to add the necessary entries for the new language.
The files under ocrdats directory are:
I downloaded chi_sim_pxvocr.dat from https://www.pdf-xchange.com/pdfxocr ... nguage_ext, and then created a text file named chisim.lng with following content:The tool for automatically adding languages is not yet available, but you can see all available languages here:
https://www.pdf-xchange.com/pdfxocr ... nguage_ext
And download the ones you need, and manually add them in our Viewer.
Please check the files in
C:\Program Files\Tracker Software\PDF Viewer\ocrdats
Copy your newly downloaded language in this folder, modify the "Langs.ini" by adding the necessary entries for the new language, and make a .lng file with the same name as your CHOSEN_LANGUAGE.dat and copy the contents ot one of the other .lng files (and modify the language description accordingly) - and you will have this language recognized in the Viewer OCR tool.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<language name="ChineseSimplified" localname="中文简体" prefix="chnsim" version="1.00"/>
Btw, I don't have a file named "Langs.ini" for me to add the necessary entries for the new language.
The files under ocrdats directory are:
Code: Select all
~/program_files/document/pdfxchange_portable/ocrdats$ ls -l
total 115492
-rw-rw-r-- 1 tim tim 132 Oct 2 12:28 chisim.lng
-rw-rw-r-- 1 tim tim 133 Oct 2 12:23 chisim.lng~
-rwxr--r-- 1 tim tim 41427474 Oct 11 2011 chi_sim_pxvocr.dat
-rwxr--r-- 1 tim tim 56148108 Oct 11 2011 chi_tra_pxvocr.dat
-rw-rw-r-- 1 tim tim 115 Dec 5 2011 deu.lng
-rw-rw-r-- 1 tim tim 2395687 Dec 5 2011 deu_pxvocr.dat
-rw-rw-r-- 1 tim tim 96 Dec 5 2011 eng.lng
-rw-rw-r-- 1 tim tim 3112137 Dec 13 2011 eng_pxvocr.dat
-rw-rw-r-- 1 tim tim 121 Dec 5 2011 fra.lng
-rw-rw-r-- 1 tim tim 2292872 Dec 5 2011 fra_pxvocr.dat
-rw-rw-r-- 1 tim tim 10562727 Dec 5 2011 osd_pxvocr.dat
-rw-rw-r-- 1 tim tim 120 Dec 5 2011 spa.lng
-rw-rw-r-- 1 tim tim 2281434 Dec 5 2011 spa_pxvocr.dat
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: OCR file for Chinese for portable viewer?
Hello tim126,
Yes indeed seems like the Langs.ini file is no longer used.
Can you please try to rename your files to
chi_sim.lng and chi_sim_pxvocr.dat and see if they would be recognized then.
Regards,
Stefan
Yes indeed seems like the Langs.ini file is no longer used.
Can you please try to rename your files to
chi_sim.lng and chi_sim_pxvocr.dat and see if they would be recognized then.
Regards,
Stefan
Re: OCR file for Chinese for portable viewer?
It doesn't work.Tracker Supp-Stefan wrote:Hello tim126,
Yes indeed seems like the Langs.ini file is no longer used.
Can you please try to rename your files to
chi_sim.lng and chi_sim_pxvocr.dat and see if they would be recognized then.
Regards,
Stefan
Also changing the names of both files to be either "chisim" or "chi" followed by their individual remaining parts of their names, doesn't work.
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: OCR file for Chinese for portable viewer?
Hi Tim,
As John has said in reply to another of your posts, I'm afraid that while we do try to support Linux users as best we can, it cannot be considered a priority and, given that this seems to be working fine in all supported Windows OS's, there's likely very little more that we can do here.
As John has said in reply to another of your posts, I'm afraid that while we do try to support Linux users as best we can, it cannot be considered a priority and, given that this seems to be working fine in all supported Windows OS's, there's likely very little more that we can do here.
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
-
- User
- Posts: 14
- Joined: Wed Sep 17, 2014 7:40 am
- Location: Ukraine
Re: OCR file for Chinese for portable viewer?
So, you have two files: chi_sim.lng and chi_sim_pxvocr.dat
But your language file chi_sim.lng contain incorrect prefix "chnsim"
Try to change it to "chi_sim":
But your language file chi_sim.lng contain incorrect prefix "chnsim"
Try to change it to "chi_sim":
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<language name="ChineseSimplified" localname="中文简体" prefix="chi_sim" version="1.00"/>
Re: OCR file for Chinese for portable viewer?
Thanks.Serg - Tracker Dev wrote:So, you have two files: chi_sim.lng and chi_sim_pxvocr.dat
But your language file chi_sim.lng contain incorrect prefix "chnsim"
Try to change it to "chi_sim":Code: Select all
<?xml version="1.0" encoding="utf-8"?> <language name="ChineseSimplified" localname="中文简体" prefix="chi_sim" version="1.00"/>
Seems prefix should also be three character long?
Is it the same process for adding to pdf editor?
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: OCR file for Chinese for portable viewer?
Hi Tim,
There is no portable version of the Editor available yet, and it uses a slightly different OCR dictionaries.
Did you manage to make the Viewer recognize your OCR languages?
Best,
Stefan
There is no portable version of the Editor available yet, and it uses a slightly different OCR dictionaries.
Did you manage to make the Viewer recognize your OCR languages?
Best,
Stefan
Re: OCR file for Chinese for portable viewer?
repeated and deleted
Last edited by tim126 on Thu Oct 09, 2014 12:27 pm, edited 1 time in total.
Re: OCR file for Chinese for portable viewer?
Yes.Tracker Supp-Stefan wrote:Hi Tim,
There is no portable version of the Editor available yet, and it uses a slightly different OCR dictionaries.
Did you manage to make the Viewer recognize your OCR languages?
Best,
Stefan
How shall I add a new language for OCR in editor?
Do you use some external software to perform OCR in viewer and in editor?
How are the qualities of the viewer and editor's OCR compared to adobe acrabat professional's OCR?
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: OCR file for Chinese for portable viewer?
Respectfully Tim, we cannot offer comparisons between our products and competitors'. This is up to you to test.
Regarding the OCR files, it seems that the Editor does share the same files as the Viewer and these can be downloaded here:
https://www.pdf-xchange.com/pdf-xchange-viewer-ocr
They can then be added under C:\Program Files\Tracker Software\PDF Editor\Languages.
Regarding the OCR files, it seems that the Editor does share the same files as the Viewer and these can be downloaded here:
https://www.pdf-xchange.com/pdf-xchange-viewer-ocr
They can then be added under C:\Program Files\Tracker Software\PDF Editor\Languages.
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
-
- User
- Posts: 14
- Joined: Wed Sep 17, 2014 7:40 am
- Location: Ukraine
Re: OCR file for Chinese for portable viewer?
Not for all languages. We have a predefined identifier for ChineseSimplified - chi_simtim126 wrote:Seems prefix should also be three character long?
That should be used as prefix and begin of names of two language files.