Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space RED and version 6.10-11
Sv translation
languageru
директории с морфологическими словарями.
СодержимоеОписание
{
 
    "Logging": {...},
см. Общая секция Logging
    "ThriftServers": {...},
см. Общая секция ThriftServers
    "NookDir": "/opt/iw/tm5", 
В секции указывается рабочий каталог модуля. По умолчанию – /opt/iw/tm5.
    "Startup":  {...},
см. Общие настройки конфигурации
  
    "Bookworm": {...},
см. Общая секция Bookworm
    "DebugBreak": false, 
Посылать ли SIGTRAP (SIGBREAK на Windows) при обработке любого исключения. Служит для отладки
    "Analysis": {
 
        "FormAnalysis": {
Детектор форм.
            "MaxHighlightedRows": 50, 
Максимальное количество полей формы, которое будет подсвечено. Значение по умолчанию – 50.
            "StopWordsPath": "etc/config-perm/cas/form_stopwords.txt", 
Путь до словаря со стоп-словами
            "Enabled": "Ontrue", 
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
            "LongFieldThreshold": 0.20000000298023224, 
Доля длинных полей (больше одного слова) в перехваченной форме, используется в эвристической формуле для выбора алгоритма сравнения. Значение по умолчанию – 0.2.
            "MinMatchedRows": 1
Минимальное количество полей, при нахождении которых форма срабатывает. Влияет на все формы. Значение по умолчанию – 1.
        }, 
 
        "Vector": {
Технология анализа векторных изображений
            "Enabled": "Offtrue"
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
        }, 
 
        "Researcher": {
Детектор текстовых объектов.
            "LuaReplacesPath": "etc/config-perm/cas/lua_replaces.json", 
Путь до файла со списком символов, которые нужно заменить на заданные перед отправкой текста в верифицирующую функцию.
            "Enabled": "Ontrue", 
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
            "ResultLimits": {
Лимиты на количество результатов данной технологии в конетксте события.
                "MaxEntriesPerInstance": 50, 
Максимальное количество найденных текстовых объектов, которые будут записаны в контекст. Значение по умолчанию – 50.
                "MaxInstancesPerTextObject": 50
Максимальное количество вхождений текстового объекта, которые будут записаны в контекст. Значение по умолчанию – 50.
            }
 
        }, 
 
        "Autoling": {
Автоматический лингвистический анализ. Значение по умолчанию - offfalse.
            "Enabled": "Offfalse", 
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
            "Classifier":
 
            {
 
                 "Type": "cosine",

Тип классификатора. Доступны значения:

  • svm - классификатор на основе Support Vector Machine;
  • cosine - классификатор на основе косинусной меры
                 "TermsNumLimit": 500

Максимальное число терминов, используемое классификатором. Доступно только для типа cosine

             };
 
             "Extractor":
 
             {
 
                 "MaxTermSize": 1,

Максимальное число слов в термине

                 "Dictionary":
 Словарь
                 [          
 
                     {
 
                         "Type": "morpho",

Тип словаря:

  • morpho - морфологический словарь;
  • simple - словарь без морфологии;
  • virtual - виртуальный словарь, возвращающий хэш от термина в качестве его ID
                         "Path": "etc/config-perm/cas/all_lang.dict"
 Путь к словарю
                     }
 
                 ],
 
                 "Stopwords":
 Стоп-слова
                 [
 
                     {
 
                          "Type": "morpho",

Тип словаря:

  • morpho - морфологический словарь;
  • simple - словарь без морфологии;
  • virtual - виртуальный словарь, возвращающий хэш от термина в качестве его ID
                          "Path": "etc/config-perm/cas/stopwords.dat"
 Путь до словаря со стоп-словами
                     }
 
                 ]
 
             }
 
        }, 
 
        "Classifier": {

Контентный анализ. Параметр содержит следующие настройки:

            "RelevanceThreshold": 0.10000000000000001, 
Порог срабатывания категорий. Значение по умолчанию – 0.10000000000000001
            "Enabled": "Ontrue", 
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
            "TranslitConfigPath": "etc/config-perm/cas/translit_table.txt", 
Путь до файла с таблицей замен для транслитерации.
            "ResultLimits": {
Лимиты на количество результатов данной технологии в контексте события.
                "MaxEntriesPerTerm": 50
Максимальное количество вхождений найденных терминов для каждой категории, которые будут записаны в контекст. Значение по умолчанию – 50.
            }, 
 
            "Speller": "Off", {
Технология опечаток. По умолчанию технология выключена – значение off
                "SymbolReplacesPathEnabled": "true",
Включение (значение true) и выключение (значение false) технологии
                "SpellerDictsPath": "etc/config-perm/cas/symbol_replaces.json",
Путь до файла замен. Подмена символов осуществляется перед анализом текста в верифицирующих функциях текстовых объектов. Например, замена буквы Ё на Е.директории с морфологическими словарями.
                },
 
            "Translit": "Off",{ 
Технология транслитерации. По умолчанию технология выключена – значение off            "DictsPath
                "TranslitConfigPath": "etc/config-perm/cas/translit_table.txt",
Путь до файла с таблицей замен для транслитерации.
                "Enabled": "true"
Включение (значение true) и выключение (значение false) технологии
} 
        }, 
 
        "Stamper": {
Детектор эталонных документов.
            "Enabled": "Ontrue", 
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
            "ResultLimits": {
Лимиты на количество результатов данной технологии в контексте события.
                "MaxEntriesPerFingerprint": 50
Максимальное количество вхождений найденных эталонных документов, которые будут записаны в контекст. Значение по умолчанию – 50.
            }
 
        }, 
 
        "Images": {

Детектор изображений. Параметр содержит следующие настройки:

            "MatcherConfig": "etc/config-perm/cas/image-matcher.yml", 
Путь к файлу с точными настройками анализа (image-matcher.yml)
            "KeypointMatcher": {
Технология поиска малых изображений на большом. Работает на кредитных картах
                "Enabled": "Ontrue"
 
            }, 
 
            "ImageMaxWidth": 50000, 
Максимальная ширина изображения. Если изображение имеет большую ширину, то оно не будет обрабатываться системой. Значение по умолчанию – 50 000.
            "Barcode": {
Технология распознавания штрих- и баркодов. Выдает текст
                "Enabled": "Offfalse"
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
            }, 
 
            "StampDetector": {
Детектор печатей
                "Enabled": "Ontrue"
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
            }, 
 
            "ResultLimits": {
Лимиты на количество результатов данной технологии в контексте события.
                "MaxFingerprint": 50
Максимальное количество найденных эталонных изображений, которые будут записаны в контекст. Значение по умолчанию – 50.
            }, 
 
            "ImageClassifier": {
Технология классификатора изображений, работающая с паспортами, чертежами, географическими картами
                "Enabled": "Ontrue"
 
            }, 
 
            "ImageMaxHeigth": 50000
Максимальная высота изображения. Если изображение имеет большую высоту, то оно не будет обрабатываться системой. Значение по умолчанию – 50000.
        }, 
 
        "Exclusions": {
Исключения
            "Enabled": "Offfalse"
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
        }, 
 
        "TableAnalysis": {
Детектор выгрузок из БД
            "MinWords": 10, 
Минимальное количество слов в файле выгрузки из БД, достаточное для детектирования выгрузки. В данное количество входят все названия полей и все содержащиеся в таблице данные. Требуется, чтобы слова были отделены друг от друга пробелом или иным отступом. Значение по умолчанию – 10.
            "Enabled": "Ontrue", 
Включение (значение ontrue) и выключение (значение offfalse) технологий анализа
            "MaxHighlightedWords": 50
Максимальное количество слов из выгрузки, которое будут подсвечены. Значение по умолчанию – 50.
        }
 
    }, 
 
    "ResourceLimits": {...},
см. Общая секция ResourceLimits
    "Config": {
 
        "EnableSchemaCheck": true, 
Включение проверки xml на xsd (отключение значительно увеличивает скорость загрузки конфигурации). Значение по умолчанию – true
        "CacheMaxSize": 10000, 
Количество результатов анализа контентов, которое хранится в кэше. Количество элементов кэша. Значение по умолчанию – 10000
        "SchemaPath": "etc/cas_config.xsd", 
Путь до xsd файла, по которому проверяется валидность xml конфигурации. Значение по умолчанию – etc/cas_config.xsd
        "Path": "etc/config/cas"
Путь, к конфигурационному файлу cas. Значение по умолчанию – etc/config/cas
    }, 
 
    "Permissions": {...}
см. Общая секция Permissions
}
 
Sv translation
languageen
ContentDescription
{
 
    "Logging": {...},
see
Общая секция see General section Logging
    "ThriftServers": {...},
see Общая секция ThriftServers
    "NookDir": "/opt/iw/tm5", 
In this section the module working directory is specified. By default – /opt/iw/tm5
    "Startup":  {...},
see Общие настройки конфигурации
  
Configuration general settings
    "Bookworm": {...},
see Общая секция General section Bookworm
    "DebugBreak": false, 
If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes.
    "Analysis": {
 
            "FormAnalysis": {
Form detectorDetector of forms.
            "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": "OnTrue", 
Enable Enabling (ontrue) and disable disabling (offfalse) of analysis technologies.
            "LongFieldThreshold": 0.20000000298023224, 
Long fields threshold (more then one word) in the interrupted intercepted 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": "OffTrue"
Enable Enabling (ontrue) and disable disabling (offfalse) of analysis technologies.
        }, 
 
        "Researcher": {
Text object detector.
            "LuaReplacesPath": "etc/config-perm/cas/lua_replaces.json", 
Path to the file with symbols symbol list to be replaced for the specified ones before sending the text to the verification function.
            "Enabled": "OnTrue", 
Enable Enabling (ontrue) and disable disabling (offfalse) of analysis technologies.
            "ResultLimits": {
Event-context technology results limits.
               "MaxEntriesPerInstance": 50, 
Maximum number of found text objects found to be written to the context. Default value – 50
                "MaxInstancesPerTextObject": 50
Maximum number of a occurrences of a text object to be written to the context. Default value – 50
            }
 
        }, 
 
        "Autoling": {
Automatic linguistics analysis. Default value - offfalse
            "Enabled": "OffFalse", 
Enable Enabling (ontrue) and disable disablings (offfalse) of analysis technologies.
            "Classifier":
 
            {
 
                 "Type": "cosine",

Classifier Classification 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 dictionary.
                     }
 
                 ]
 
             }
 
        }, 
 
        "Classifier": {

Content analysis.

            "RelevanceThreshold": 0.10000000000000001, 
Relevance threshold. Default value – 0.10000000000000001
            "Enabled": "OnTrue", 
Enable Enabling (ontrue) and disable disabling (offfalse) of analysis technologies
            "TranslitConfigPath": "etc/config-perm/cas/translit_table.txt", 
Path to the file with the transliteration table
".
            "ResultLimits": {
EventLimits for the number of event-context technology results limits.
                "MaxEntriesPerTerm": 50
Maximum number of a occurrences of a text object to terms entries for each category, which should be written to the context. Default value – 50
            }, 
 
            "Speller": "Off", {
Speller. Technology is disabled by default – off
            "SymbolReplacesPathEnabled": "true",
Enabling (true) and disabling (false) of analysis technologies.
"SpellerDictsPath": "etc/config-perm/cas/symbol_replaces.json",Path to the file with replacements. Symbol replacement is performed before text analysis in verification functions startsdirectory containing morphological dictionaries
     },
 
            "Translit": "Off",{ 
Translitiration. Technology is disabled by default – off
            "DictsPath": "etc/config-perm/cas/"
Path to the morphological dictionaries
        }, 
"TranslitConfigPath": "etc/config-perm/cas/translit_table.txt",
Path to the exchange tables for translitiration
  "Enabled": "true" 
Enabling (true) and disabling (false) of analysis technologies.
}
 
}, 
        "Stamper": {
Reference document detector.
            "Enabled": "OnTrue", 
Enable Enabling (ontrue) and disable disabling (offfalse) analysis ofanalysis technologies.
            "ResultLimits": {
Event-context technology results limits.
                 "MaxEntriesPerFingerprint": 50
Maximum number of a occurrences of reference documents entries 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": "OnTrue"
 
            }, 
 
            "ImageMaxWidth": 50000, 
Maximum image width. If an the image is wider, it will not be processed by the System. Default value – 50 000
            "Barcode": {
Barcode recognition technology. Returns text.
                "Enabled": "Off"
Enable Enabling (on) and disable disabling (off) of analysis technologies.
            }, 
 
            "StampDetector": {
Stamp detector.
                "Enabled": "OnTrue"
Enable Enabling (ontrue) and disable disabling (offfalse) of 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": "OnTrue"
 
            }, 
 
            "ImageMaxHeigth": 50000
Maximum image height. If an the image is higher, it will not be processed by the System. Default value – 50 00050000
        }, 
 
        "Exclusions": {
Eclusions.
            "Enabled": "OffFalse"
Enable Enabling (ontrue) and disable disabling (offfalse) of 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 having an interword space. Default value – 10
            "Enabled": "OnTrue", 
Enable Enabling (ontrue) and disable disabling (offfalse) of analysis technologies.
            "MaxHighlightedWords": 50
Maximum number of words from the unloading to be highlighted. Default value – 50
        }
 
    }, 
 
    "ResourceLimits": {...},
see Общая секция General section ResourceLimits
    "Config": {
 
        "EnableSchemaCheck": true, 
Enable schema checking Enabling the check of xml on xsd  (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 Общая секция General section Permissions
}