OCR file for Chinese for portable viewer?

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
tim126
User
Posts: 82
Joined: Thu Oct 02, 2014 1:48 am

OCR file for Chinese for portable viewer?

Post by tim126 »

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.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17810
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: OCR file for Chinese for portable viewer?

Post by Tracker Supp-Stefan »

Hello Tim,

This topic should help:
https://forum.pdf-xchange.com/ ... 63&t=12326

Cheers,
Stefan
tim126
User
Posts: 82
Joined: Thu Oct 02, 2014 1:48 am

Re: OCR file for Chinese for portable viewer?

Post by tim126 »

Thanks. In the linked post, you wrote
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.
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:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<language name="ChineseSimplified" localname="中文简体" prefix="chnsim" version="1.00"/>
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

Image

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

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17810
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: OCR file for Chinese for portable viewer?

Post by Tracker Supp-Stefan »

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
tim126
User
Posts: 82
Joined: Thu Oct 02, 2014 1:48 am

Re: OCR file for Chinese for portable viewer?

Post by tim126 »

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
It doesn't work.

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.
User avatar
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?

Post by Will - Tracker Supp »

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.
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
Serg - Tracker Dev
User
Posts: 14
Joined: Wed Sep 17, 2014 7:40 am
Location: Ukraine

Re: OCR file for Chinese for portable viewer?

Post by Serg - Tracker Dev »

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"/>
tim126
User
Posts: 82
Joined: Thu Oct 02, 2014 1:48 am

Re: OCR file for Chinese for portable viewer?

Post by tim126 »

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"/>
Thanks.
Seems prefix should also be three character long?

Is it the same process for adding to pdf editor?
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17810
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: OCR file for Chinese for portable viewer?

Post by Tracker Supp-Stefan »

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
tim126
User
Posts: 82
Joined: Thu Oct 02, 2014 1:48 am

Re: OCR file for Chinese for portable viewer?

Post by tim126 »

repeated and deleted
Last edited by tim126 on Thu Oct 09, 2014 12:27 pm, edited 1 time in total.
tim126
User
Posts: 82
Joined: Thu Oct 02, 2014 1:48 am

Re: OCR file for Chinese for portable viewer?

Post by tim126 »

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
Yes.

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?
User avatar
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?

Post by Will - Tracker Supp »

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.
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
Serg - Tracker Dev
User
Posts: 14
Joined: Wed Sep 17, 2014 7:40 am
Location: Ukraine

Re: OCR file for Chinese for portable viewer?

Post by Serg - Tracker Dev »

tim126 wrote:Seems prefix should also be three character long?
Not for all languages. We have a predefined identifier for ChineseSimplified - chi_sim
That should be used as prefix and begin of names of two language files.
Post Reply