Supporting vector cases are instances of supporting vectors and define when the vector has to be applied. The vector is applied on values returned by examination of the input string. The vector components might match examined values more than once for the single input string. An example of such mappings for the input string "Asik 5" on the vector "obec_cislo" with hypothetical entities "As, Dolni, 5" and "Asik, 5" will be: (As, 5) and (Asik, 5).
Name |
Type |
Required |
Description |
---|---|---|---|
When |
String |
Yes |
Expression to be evaluated on the input record and xa/xad pseudo inputs. The xa pseudo input represents the input string so that each recognized component is placed into the appropriate column (column names correspond to components). Moreover, the xad pseudo input represents the same values as xa but dictionary values are available. Recognized components are divided into two parts:
Moreover, the number of proposals for the particular vector and values can be queried by the getProposalCount function, which has the following signature: getProposalCount(vector_name, value[, value]...). The number of values must match the number of components defined for that vector and the name of the vector MUST be a constant expression. Note, that you MUST use values from the dictionary (the xad pseudo input becomes useful here). This condition is evaluated for each mapping of this vector. Default value: True. |
Name |
String |
Yes |
Name of the referenced vector from the reference data's vector definitions. |
Max Score To Accept |
Integer |
No |
Defines the maximum value of the score for the best proposal of the currently processed supporting vector case to accept this result and stop further processing of vector cases. This value overrides the default value in the identifier. This check is performed on all scores returned for all mappings of this vector. Default value: 0. |
Max Proposal Count |
Integer |
No |
Defines the maximum count of proposals that might be potentially returned by this vector to continue processing this vector. This condition must be satisfied together with the condition in the whencode> property. An undefined value of -1 means an infinite number of proposals. This condition is evaluated on each mapping of this vector. Default value: None. |
iWay Software |