Class PrioritizedToken
A Token with an assigned priority, usually originating from a recognizer's priority. This class is for internal purposes only and should not be used in third-party applications.
Inherited Members
Namespace: SdlSdl.LanguagePlatformCoreTokenization
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class PrioritizedToken
Constructors
PrioritizedToken(Token, int)
Initializes a new instance with the specified values.
Declaration
public PrioritizedToken(Token t, int priority)
Parameters
Type | Name | Description |
---|---|---|
Token | t | The token |
int | priority | The priority to assign to the token |
Fields
Priority
Gets or sets the priority assigned to the token
Declaration
public int Priority
Field Value
Type | Description |
---|---|
int |
Token
Gets or sets the token.
Declaration
public Token Token
Field Value
Type | Description |
---|---|
Token |