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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space RED and version 6.7-9-KRT
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": "On", 
Включение (значение on) и выключение (значение off) технологий анализа
            "LongFieldThreshold": 0.20000000298023224, 
Доля длинных полей (больше одного слова) в перехваченной форме, используется в эвристической формуле для выбора алгоритма сравнения. Значение по умолчанию – 0.2.
            "MinMatchedRows": 1
Минимальное количество полей, при нахождении которых форма срабатывает. Влияет на все формы. Значение по умолчанию – 1.
        }, 
 
        "Vector": {
Технология анализа векторных изображений
            "Enabled": "Off"
Включение (значение on) и выключение (значение off) технологий анализа
        }, 
 
        "Researcher": {
Детектор текстовых объектов.
            "LuaReplacesPath": "etc/config-perm/cas/lua_replaces.json", 
Путь до файла со списком символов, которые нужно заменить на заданные перед отправкой текста в верифицирующую функцию.
            "Enabled": "On", 
Включение (значение on) и выключение (значение off) технологий анализа
            "ResultLimits": {
Лимиты на количество результатов данной технологии в конетксте контексте события.
                "MaxEntriesPerInstance": 50, 

Максимальное количество найденных текстовых объектов, которые будут записаны в контекст.

Значение по умолчанию – 50.
                "MaxInstancesPerTextObject": 50
Максимальное количество вхождений текстового объекта, которые будут записаны в контекст

По-другому, сколько максимально раз уникальный объект может быть найден. Из пары параметров "MaxEntriesPerInstance и MaxInstancesPerTextObject" используется только этот в случае, если шаблон текстового объекта задан как СТРОКА. Значение по умолчанию – 50.

            }
Предупреждение
 
        }, 
 
        "Autoling": {
Автоматический лингвистический анализ. Значение по умолчанию - off.
            "Enabled": "Off", 
Включение (значение on) и выключение (значение off) технологий анализа
            "Classifier":
 
            {
 
titleВажно!

Для корректной работы технологий анализа значение параметра должно быть не меньше значения порога встречаемости текстового объекта, который устанавливается в Консоли Управления ТМ (подробнее здесь)

                "MaxInstancesPerTextObject": 50

Максимальное количество вхождений текстового объекта, которые будут записаны в контекст. По-другому, сколько разных значений объектов может быть найдено. Из пары параметров "MaxEntriesPerInstance и MaxInstancesPerTextObject" используется только этот в случае, если шаблон текстового объекта задан как РЕГУЛЯРНОЕ ВЫРАЖЕНИЕ. Значение по умолчанию – 50.

 

Предупреждение
titleВажно!

Для корректной работы технологий анализа значение параметра должно быть не меньше значения порога встречаемости текстового объекта, который устанавливается в Консоли Управления ТМ (подробнее здесь)

            }
 
        }, 
 
        "Autoling": {
Автоматический лингвистический анализ. Значение по умолчанию - off.
            "Enabled": "Off", 
Включение (значение on) и выключение (значение off) технологий анализа
            "Classifier":
 
           "Type": "cosine",
Тип классификатора.
 {
 
                 "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": "On", 
Включение (значение on) и выключение (значение off) технологий анализа
            "TranslitConfigPath": "etc/config-perm/cas/translit_table.txt", 
Путь до файла с таблицей замен для транслитерации.
            "ResultLimits": {
Лимиты на количество результатов данной технологии в контексте события.
                "MaxEntriesPerTerm": 50
Максимальное количество вхождений найденных терминов для каждой категории, которые будут записаны в контекст. Значение по умолчанию – 50.
            }, 
 
            "Speller": "Off", 
Технология опечаток. По умолчанию технология выключена – значение off
            "SymbolReplacesPath": "etc/config-perm/cas/symbol_replaces.json",
Путь до файла замен. Подмена символов осуществляется перед анализом текста в верифицирующих функциях текстовых объектов. Например, замена буквы Ё на Е.
            "Translit": "Off", 
Технология транслитерации. По умолчанию технология выключена – значение off
            "DictsPath": "etc/config-perm/cas/"
Путь до директории с морфологическими словарями.
        }, 
 
        "Stamper": {
Детектор эталонных документов.
            "Enabled": "On", 
Включение (значение on) и выключение (значение off) технологий анализа
            "ResultLimits": {
Лимиты на количество результатов данной технологии в контексте события.
                "MaxEntriesPerFingerprint": 50
Максимальное количество вхождений найденных эталонных документов, которые будут записаны в контекст. Значение по умолчанию – 50.
            }
 
        }, 
 
        "Images": {

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

            "MatcherConfig": "etc/config-perm/cas/image-matcher.yml", 
Путь к файлу с точными настройками анализа (image-matcher.yml)
            "KeypointMatcher": {
Технология поиска малых изображений на большом. Работает на кредитных картах
                "Enabled": "On"
 
            }, 
 
            "ImageMaxWidth": 50000, 
Максимальная ширина изображения. Если изображение имеет большую ширину, то оно не будет обрабатываться системой. Значение по умолчанию – 50 000.
            "Barcode": {
Технология распознавания штрих- и баркодов. Выдает текст
                "Enabled": "Off"
Включение (значение on) и выключение (значение off) технологий анализа
            }, 
 
            "StampDetector": {
Детектор печатей
                "Enabled": "On"
Включение (значение on) и выключение (значение off) технологий анализа
            }, 
 
            "ResultLimits": {
Лимиты на количество результатов данной технологии в контексте события.
                "MaxFingerprint": 50
Максимальное количество найденных эталонных изображений, которые будут записаны в контекст. Значение по умолчанию – 50.
            }, 
 
            "ImageClassifier": {
Технология классификатора изображений, работающая с паспортами, чертежами, географическими картами
                "Enabled": "On"
 
            }, 
 
            "ImageMaxHeigth": 50000
Максимальная высота изображения. Если изображение имеет большую высоту, то оно не будет обрабатываться системой. Значение по умолчанию – 50000.
        }, 
 
        "Exclusions": {
Исключения
            "Enabled": "Off"
Включение (значение on) и выключение (значение off) технологий анализа
        }, 
 
        "TableAnalysis": {
Детектор выгрузок из БД
            "MinWords": 10, 
Минимальное количество слов в файле выгрузки из БД, достаточное для детектирования выгрузки. В данное количество входят все названия полей и все содержащиеся в таблице данные. Требуется, чтобы слова были отделены друг от друга пробелом или иным отступом. Значение по умолчанию – 10.
            "Enabled": "On", 
Включение (значение on) и выключение (значение off) технологий анализа
            "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
}
 
    "Bookworm
Sv translation
languageen
СодержимоеОписание
{
 
    "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
ContentDescription
{
 
    "Logging": {...},
see Общая секция Logging
    "ThriftServers": {...},
see Общая секция ThriftServers
    "NookDir": "/opt/iw/tm5", 
In this section the module working directory is specified. By default – /opt/iw/tm5
    "Startup":  {...},
see Общие настройки конфигурации
  
    "Bookworm": {...},
see Общая секция Bookworm
    "DebugBreak": false, 
If SIGTRAP should be sent (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 text objects found to be written to the context. This means, how many times maximum the unique object can be found. From parameters "MaxEntriesPerInstance" and "MaxInstancesPerTextObject" it is used only in case the text object template is specified as a string. Default value – 50 

 

Предупреждение
titleNote:

To perform analisys technologies correctly, the parameter value should be not less than the text object occurrence, specified within TM Management Console (more here )

                "MaxInstancesPerTextObject": 50

Maximum number of text object occurrences to be written to the context. This means, how many different object values can be found. From parameters "MaxEntriesPerInstance" and "MaxInstancesPerTextObject" it is used only this one, in case the text object template is set asregular expression. Default value – 50.

 

Предупреждение
titleNote:

To perform analisys technologies correctly, the parameter value should be not less than the text object occurrence, specified within TM Management Console (more here)

            }
 
        }, 
 
        "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 Общая секция
    "DebugBreak": false, 
To send or not to send SIGTRAP (SIGBREAK to Windows) while any exception handling. Used for debugging purposes
    "AnalysisResourceLimits
    "Config": {
 
               "FormAnalysis": {
Form detector
            "MaxHighlightedRows": 50, 
Maximum number of rows of the form to be highlighted. Default value – 50.
            "StopWordsPath"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-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.cas file. Default value – etc/config/cas
    }, 
 
    "Permissions": {...}
see Общая секция Permissions
}