CustomEntityDefinition(String, String, ListString, Boolean, CustomEntityExtractType, String, Int32) Constructor |
Constructor.
Namespace: OpenDiscoverSDK.Interfaces.Settings.TextAnalyticsAssembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.6.0 (2025.4.6)
Syntaxpublic CustomEntityDefinition(
string name,
string classification,
List<string> keywordSequences,
bool requireKeywordSequenceAtStartOfLine,
CustomEntityExtractType customEntityExtractType,
string regExPattern = null,
int regExSearchLength = 0
)
Parameters
- name String
- The custom sequence name (see property Name)
- classification String
- The custom sequence name (see property Classification)
- keywordSequences ListString
-
A list of keyword sequences defining entity keywords. A sequence is 1 to a maximum of 14 keyword terms (words or symbols - number literals are not valid)
that define a custom item. See KeywordSequences for more information.
- requireKeywordSequenceAtStartOfLine Boolean
- If true, the KeywordSequences MUST begin at the start of a new line.
- customEntityExtractType CustomEntityExtractType
- The extraction type for a user defined entity.
- regExPattern String (Optional)
- [optional] Regular expression pattern, see property RegularExpression.
- regExSearchLength Int32 (Optional)
- [optional] The regular expression search length in characters, see property RegExSearchLength.
See Also