Skip to main content
Known Participant
May 17, 2021
Question

PDF tool API for OCR

  • May 17, 2021
  • 1 reply
  • 927 views

Hi Folks,

 

Hope you all doing well!

 

Im using PDF tool API (node.js) to run the OCR for Chinese language scanned PDF files. Actually, I want to know, the chinese language support for both traditional and simplified or simplified only?

From the below link, we have found supportedlocale for ZH_CN, this will support both traditional & simplified chinese as well please explain?

 

 

This topic has been closed for replies.

1 reply

Legend
May 17, 2021

zh_CN is a language code for Chinese as found in mainland China specifically. So, simplified Chinese. The most commonly used code for traditional Chinese is zh_TW. You may also see zh-Hans for the simplified script and zh-Hant for the traditional script.

Rocky@Author
Known Participant
May 17, 2021

Thanks for reply,

 

I have tried with zh_TW and it is not support for PDF tool API, got error. 

Rocky@Author
Known Participant
May 18, 2021

 

I have found the code ZH_HK(honkong) in the same link below. Could you please confirm this will support traditional Chinese language scanned image files...

 

.withOcrLang(PDFToolsSdk.OCR.options.OCRSupportedLocale.ZH_HK)

 

 

I have found