Custom Entity Extract Type Enumeration
The extraction type for a user defined CustomEntityDefinition entity.
Definition
Namespace: OpenDiscoverSDK.Interfaces.Settings.TextAnalytics
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
C#
[DataContractAttribute]
public enum CustomEntityExtractTypeRemarks
This enumeration determines what type, if any, of text immediately following a user defined CustomEntityDefinition
is extracted.
Members
| None | 0 | No extraction for identified keyword sequence. In this case the keywords themselves are usually considered the information. |
| NextTerm | 1 | The next term immediately following the keyword sequence. The next term is not required to be on same line as keyword sequence. A term is a word, number (5, 5.44), alpha-numeric word ('a123'), numeric-alpha word ('123a'), hyphenated word/numbers ('4242-4442-3ABC'), or a single symbol ('!','@','$','-',... etc) |
| Date | 2 | A date immediately following the end of the custom keyword sequence. Examples: "March 10, 2017", "3/10/17", "10 Mar 2017", "2020-aug-12", "05-20-2010" |
| RemainingLine | 3 | All remaining terms and symbols on the same line following the keyword sequence. |
| PreceedingTextOnSameLine | 4 | All text preceeding keyword sequence that is on same line. |
| PreviousTerm | 5 | The previous term immediately before the start of the keyword sequence. The preceeding term is not required to be on same line as keyword sequence. A term is a word, number (5, 5.44), alpha-numeric word ('a123'), numeric-alpha word ('123a'), hyphenated word/numbers ('4242-4442-3ABC'), or a single symbol ('!','@','$','-',... etc) |
| RegularExpressionAfter | 6 | Execute regular expression to capture data in the text immediately after the keyword sequence. See RegularExpression. The number of characters searched by the regular expression pattern is given by RegExSearchLength. |
| RegularExpressionBefore | 7 | Execute regular expression to capture data in the text preceeding before the keyword sequence. The number of characters searched by the regular expression pattern is given by RegExSearchLength. |
| RegularExpressionBeforeAndAfter | 8 | Execute regular expression to capture data in the text before and after the keyword sequence. The number of characters searched before and after keyword sequence is given by RegExSearchLength. |