Class GeneralPunctuationToken
A Token representing general punctuation tokens.
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Tokenization.Tokens
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
[DataContract]
public class GeneralPunctuationToken : Token, ICloneable<Token>
Constructors
GeneralPunctuationToken()
Initializes a new instance of the GeneralPunctuationToken class.
Declaration
public GeneralPunctuationToken()
GeneralPunctuationToken(string)
Initializes a new instance of the GeneralPunctuationToken class.
Declaration
public GeneralPunctuationToken(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The token text |
Properties
Type
Gets the type of Token.
Declaration
[DataMember(Name = "type")]
protected override string Type { get; }
Property Value
| Type | Description |
|---|---|
| string | The type. |