Developer's Documentation for free mobile OCR SDK

Documentation Menu

setTranslationDictionary method of the RTRRecognitionService protocol

Sets the name of the translation dictionary. By default, no translation dictionary is used. Translation dictionaries should be put in the Translation subfolder of the application bundle.

Some dictionaries are supplied with the distribution. See Available Translation Dictionaries for a full list.

Important! After you attach a translation dictionary, the recognized text will be translated automatically, and the onBufferProcessedWithTextLines:resultStatus: method will return the result in the target language. The result of recognition in source language will not be available.

- (void)setTranslationDictionary:(NSString*)dictionaryName;



The name of the translation dictionary file without extension.