toposition
Arguments
The function takes two required arguments. The first argument position_type specifies the type of position to be extracted. It takes the following values:
Value |
Comments |
StartSentence |
Index number of the start sentence the argument is found in. |
StartSentenceToken |
Index number of the start token of the StartSentence. |
EndSentence |
Index number of the end sentence the argument is found in. |
EndSentenceToken |
Index number of the end token of the EndSentence. |
StartToken |
Index number of the argument’s start token. |
EndToken |
Index number of the argument’s end token. |
LengthToken |
The argument’s length in tokens. |
StartSymbol |
Index number of the start symbol. |
EndSymbol |
Index number of the end symbol. |
LengthSymbol |
The argument’s length in symbols. |
The second argument is a reference to a named group.