| Содержимое | Описание |
|---|
{ | |
"Logging": {...}, | see Общая секция Logging |
"ThriftServers": {...}, | see Общая секция ThriftServers |
"NookDir": "/opt/iw/tm5", | In this section the working directory of the module is specified . By default – /opt/iw/tm5 |
"Startup": {...}, | see Общие настройки конфигурации |
| | |
"Bookworm": {...}, | see Общая секция Bookworm |
"DebugBreak": false, | To send or not to send SIGTRAP (SIGBREAK to Windows) while any exception handling. Used for debugging purposes |
"Analysis": { | |
"FormAnalysis": { | Form detector |
"MaxHighlightedRows": 50, | Maximum number of rows of the form to be highlighted. Default value – 50. |
"StopWordsPath": "etc/config-perm/cas/form_stopwords.txt", | Path to the stop words dictionary |
"Enabled": "On", | Enable (on) and disable (off) analysis technologies |
"LongFieldThreshold": 0.20000000298023224, | Long fields threshold (more then one word) in the interrupted form, used in the heuristic formula for comparison algorithm selection. Default value – 0.2. |
"MinMatchedRows": 1 | Minimum number of matched rows to activate the form. It has influence on all forms. Default value – 1. |
}, | |
"Vector": { | Vector image analysis technology |
"Enabled": "Off" | Enable (on) and disable (off) analysis technologies |
}, | |
"Researcher": { | Text object detector |
"LuaReplacesPath": "etc/config-perm/cas/lua_replaces.json", | Path to the file with symbols list to be replaced for the specified ones before sending the text to the verification function |
"Enabled": "On", | Enable (on) and disable (off) analysis technologies |
"ResultLimits": { | Event-context technology results limits |
"MaxEntriesPerInstance": 50, | Maximum number of found text objects to be written to the context. Default value – 50 |
"MaxInstancesPerTextObject": 50 | Maximum number of a occurrences of a text object occurrences to be written to the context. Default value – 50 |
} | |
}, | |
"Autoling": { | Automatic linguistics analysis. Default value - off |
"Enabled": "Off", | Enable (on) and disable (off) analysis technologies |
"Classifier": | |
{ | |
"Type": "cosine", | Classifier type. Available values: - svm - Support Vector Machine classifier;
- cosine - cosine measure classifier
|
"TermsNumLimit": 500 | Maximum number of terms used by classifier. Available only for cosine |
}; | |
"Extractor": | |
{ | |
"MaxTermSize": 1, | Maximum number of words in a term |
"Dictionary": | Dictionary |
[ | |
{ | |
"Type": "morpho", | Dictionary type: - morpho - morphological;
- simple - without morphology;
- virtual - virtual, returning a hash of the term as ID
|
"Path": "etc/config-perm/cas/all_lang.dict" | Path to the dictionary |
} | |
], | |
"Stopwords": | Stop words |
[ | |
{ | |
"Type": "morpho", | Dictionary type: - morpho - morphological;
- simple - without morphology;
- virtual - virtual, returning a hash of the term as ID
|
"Path": "etc/config-perm/cas/stopwords.dat" | Path to the dictionary with stop words |
} | |
] | |
} | |
}, | |
"Classifier": { | Content analysis |
"RelevanceThreshold": 0.10000000000000001, | Relevance threshold. Default value – 0.10000000000000001 |
"Enabled": "On", | Enable (on) and disable (off) analysis technologies |
"TranslitConfigPath": "etc/config-perm/cas/translit_table.txt", | Path to the file with the transliteration table |
"ResultLimits": { | Event-context technology results limits |
"MaxEntriesPerTerm": 50 | Maximum number of a occurrences of a text object to be written to the context. Default value – 50 |
}, | |
"Speller": "Off", | Speller. Technology is disabled by default – off |
"SymbolReplacesPath": "etc/config-perm/cas/symbol_replaces.json", | Path to the file with replacements. Symbol replacement is performed before text analysis in verification functions starts |
"Translit": "Off", | Translitiration. Technology is disabled by default – off |
"DictsPath": "etc/config-perm/cas/" | Path to the morphological dictionaries |
}, | |
"Stamper": { | Reference document detector |
"Enabled": "On", | Enable (on) and disable (off) analysis technologies |
"ResultLimits": { | Event-context technology results limits |
"MaxEntriesPerFingerprint": 50 | Maximum number of a occurrences of reference documents to be written to the context. Default value – 50 |
} | |
}, | |
"Images": { | Image detector |
"MatcherConfig": "etc/config-perm/cas/image-matcher.yml", | Path to the analysis configuration file (image-matcher.yml) |
"KeypointMatcher": { | Small image detector technology. Used for credit cards. |
"Enabled": "On" | |
}, | |
"ImageMaxWidth": 50000, | Maximum image width. If an image is wider, it will not be processed by the System. Default value – 50 000. |
"Barcode": { | Barcode recognition technology. Returns text |
"Enabled": "Off" | Enable (on) and disable (off) analysis technologies |
}, | |
"StampDetector": { | Stamp detector |
"Enabled": "On" | Enable (on) and disable (off) analysis technologies |
}, | |
"ResultLimits": { | Event-context technology results limits |
"MaxFingerprint": 50 | Maximum number of found fingerprints to be written to the context. Default value – 50 |
}, | |
"ImageClassifier": { | Image classifier technology to work with passports, drawings, maps |
"Enabled": "On" | |
}, | |
"ImageMaxHeigth": 50000 | Maximum image height. If an image is higher, it will not be processed by the System. Default value – 50 000. |
}, | |
"Exclusions": { | Eclusions |
"Enabled": "Off" | Enable (on) and disable (off) analysis technologies |
}, | |
"TableAnalysis": { | DB unloading detector |
"MinWords": 10, | Minimum number of words in a DB unloadings file, sufficient to detect unloading. All field names and data from the table are included in this value. It is required to have the interword space. Default value – 10 |
"Enabled": "On", | Enable (on) and disable (off) analysis technologies |
"MaxHighlightedWords": 50 | Maximum number of words from the unloading to be highlighted. Default value – 50 |
} | |
}, | |
"ResourceLimits": {...}, | see Общая секция ResourceLimits |
"Config": { | |
"EnableSchemaCheck": true, | Enable schema checking (disabling substantially increases the configuration loading speed). true by default |
"CacheMaxSize": 10000, | Number of analysis results saved in the cache. Number of cache elements. Default value – 10000 |
"SchemaPath": "etc/cas_config.xsd", | Path to the xsd file, used for xml configuration validation. Default value – etc/cas_config.xsd |
"Path": "etc/config/cas" | Path to the cas file. Default value – etc/config/cas |
}, | |
"Permissions": {...} | see. Общая секция Permissions |
| } | |