Enum DetokenizationOperationType
Specifies in which direction a token should be moved when detokenizing.
public enum DetokenizationOperationType
- Extension Methods
Fields
MoveRight = 0Attaches the token to the token on the right side.
MoveLeft = 1Attaches the token to the token on the left side.
MoveBoth = 2Attaches the token to the token on the left and right sides.
RightLeftMatching = 3Attaches the token token to the right token on first occurrence, and to the token on the left side on the second occurrence.
Remarks
NOpenNLP: upstream declares this enum nested inside
DetokenizationDictionary, as DetokenizationDictionary.Operation.
A nested enum would have to be referred to by the same qualified name in C#,
but the upstream name Operation is too general for a namespace-level
type, so it is hoisted and renamed DetokenizationOperationType.