ABBYY FineReader Engine 11 CLI for Linux

Documentation Home / Recognition Keys

Below you can find the description of the recognition keys of the abbyyocr11 utility.
Note: full keys are marked by italic.

 

Key Parameters Default Description
-rbm --balancedMode
no The recognition will run in balanced mode (an intermediate mode between full and fast modes, which can be activated with the help of the -fm key).
-rcm --caseRecognitionMode
AutoCase
SmallCase
CapitalCase
AutoCase Specifies the mode of letter case recognition.
-rcc --cellsCount
the number of character cells for a recognized block 1 Specifies the number of character cells for a recognized block. This key is valid only for the handprint recognition. It has a sense only for the field marking types (-rfmt key) that imply splitting the text in cells.
-rdss --disableSecondStageRecognizer
no   No second-stage recognition will be performed.
-rehl --errorHighlightLevel
None
Scanty
Standard
Thorough
AllText
Standard  
-recc --exactConfidenceCalculation
no   Character confidence will be defined more accurately, but recognition speed may get slower.
-fm --fastMode
no   Provides 2-2,5 times faster recognition speed at the cost of moderate increased error rate (1,5-2 times more errors). For text printed with good quality ABBYY FineReader Engine makes 1-2 errors per page on average. The increase of errors can be easily eliminated by using various scenarios, e.g. the full text indexing with "fuzzy" search, preliminary recognition, etc.
-rfmt --fieldMarkingType
SimpleText
UnderlinedText
TextInFrame
GrayBoxes
CharBoxSeries
SimpleComb
CombInFrame
PartitionedFrame
SimpleText Unavailable in FineReader Engine for Linux.
-tol --oneLinePerTextCell
no   Presumes that the text in the block to which the current RecognizerParams object corresponds contains no more than one string.
-rowl --oneWordPerLine
no   Presumes that no text line may contain more than one word, so the lines of text will be recognized as a single word.
-rtt --TextTypes
Space-separated combination of the following constants:
Normal
Typewriter
Matrix
Index
Handprinted
OCR_A
OCR_B
MICR_E13B
MICR_CMC7
Gothic
Receipt
Normal Presumes that the text to recognize is of one of the types the collection contains.

The Handprinted constant is unavailable in FineReader Engine for Linux.

-rphp --prohibitHyphenation
no   Prohibits recognition of hyphenation from line to line.
-rpihp --prohibitInterblockHyphenation
no Presumes that text from one block cannot be carried over to the next block.
-rpi --prohibitItalic
no   Prohibits recognition of letters printed with italic-styled font.
-rpsub --prohibitSubscript
no Prohibits recognition of subscript letters.
-rpsup --prohibitSuperscript
no   Prohibits recognition of superscript letters.
-rscrv --saveCharacterRecognitionVariants
no Specifies whether the variants of a character's recognition are saved.
-rswrv --saveWordRecognitionVariants
no   Specifies whether the variants of a word's recognition are saved.
-rl  --recognitionLanguage
predefined languages and/or user languages English Sets the recognition language(s) which should be present in the list of the predefined ABBYY FineReader Engine languages and/or in the /UserLanguages directory.
-rldm --languageDetectionMode
Yes
No
Auto
No Manages automatic language detection. When language detection is on (Yes is passed to this option), the recognition language is detected for each word in the text. It is selected from the list of languages specified for the -rl option. Autodetection is intended to be used during recognition of documents the language of which is not known to you.

If you know for certain that all the languages you specified are present in the document, autodetection is useless. Turn it off by passing No to this property.

In Auto mode ABBYY FineReader Engine decides whether language detection should be performed or not.

-rws --writingStyle
Default,
American,
German,
Russian,
Polish,
Thai,
Japanese,
Arabic,
Baltic,
British,
Bulgarian,
Canadian,
Czech,
Croatian,
French,
Greek,
Hungarian,
Italian,
Romanian,
Slovak,
Spanish,
Turkish,
Ukrainian,
Common
Default Unavailable in FineReader Engine for Linux.
-upf --userPatternsFile
user patterns file path no This key sets the path to the user patterns file used for recognition.

Note: User patterns can be created using ABBYY FineReader Engine 11 (for Linux or Windows).
-dnubp --doNotUseBuiltInPatterns
no   When -dnubp key is not used, ABBYY FineReader Engine will use its own built-in patterns for recognition. Patterns are files establishing relationship between character image and character itself.

You may want to use this key when you do not want to use standard built-in ABBYY FineReader Engine patterns for character recognition, but user patterns only. This may be useful for recognition of text typed with decorative or non-standard fonts. In this case it is better not to use ABBYY FineReader Engine built-in patterns, but use your own user-defined patterns trained for these fonts.

Please note that when -dnubp key is used, the path to the user-defined patterns file should be specified with the -upf key as only information stored in this file will be used. If the path to the user patterns file is not specified, used -dnubp key is ignored so built-in patterns are used for recognition.

 

User Languages

 

In the ABBYY CLI OCR 11 installation directory (that is /opt/ABBYYOCR11 by default) there is the /UserLanguages subdirectory where you can put user languages created using the ABBYY FineReader Engine 11 for Windows.

www.ocr4linux.com
©2013 ABBYY Production LLC