Need better scanning performance?
RecognizeRawTextLinesStage
RecognizeRawTextLinesStage recognizes the raw values of text lines. In JSON, it is represented as a Stage object with "Stage": "SST_RECOGNIZE_RAW_TEXT_LINES".
JSON Structure
Location in template:
LabelRecognizerTaskSettingOptions[i]
└── SectionArray[j] (Section object)
└── StageArray[k] (Stage object where Stage = "SST_RECOGNIZE_RAW_TEXT_LINES")
Parent object: StageArray within TextLinesRecognitionSection
Example:
{
"Stage": "SST_RECOGNIZE_RAW_TEXT_LINES",
"DictionaryPath": "",
"DictionaryCorrectionThresholds": [
{
"MaxWordLength": 256,
"MinWordLength": 3,
"Threshold": 1
}
],
"ConfusableCharactersPath": "",
"ClusterSamplesCountThreshold": 0,
"OverlappingCharactersPath": "OverlappingChars.data",
"EnableRegexForceCorrection": 1
}
- This snippet shows a Stage object configured for recognizing raw text lines.
- To use it, add this object to the
StageArraywithin a TextLinesRecognitionSection.- For the complete JSON structure, see:
Parameters
Stage
Specifies the stage type. Fixed value: SST_RECOGNIZE_RAW_TEXT_LINES.
| Parameter Details |
|---|
| Type string |
| Required Yes |
Default Value"SST_RECOGNIZE_RAW_TEXT_LINES" |
DictionaryPath
Sets the path of the dictionary file. See DictionaryPath for details.
DictionaryCorrectionThresholds
Sets the threshold of dictionary error correction. See DictionaryCorrectionThresholds for details.
ConfusableCharactersPath
Sets the path to the .data file containing characters features for confusable characters telling. See ConfusableCharactersPath for details.
ClusterSamplesCountThreshold
Sets the threshold of cluster samples count. See ClusterSamplesCountThreshold for details.
OverlappingCharactersPath
Sets the path to the .data file containing characters features for overlapping matching. See OverlappingCharactersPath for details.
EnableRegexForceCorrection
Sets whether to enable forced correction based on the RegexPattern. See EnableRegexForceCorrection for details.