| GenericPlaceableToken Class |
Namespace: Sdl.LanguagePlatform.Core.Tokenization
The GenericPlaceableToken type exposes the following members.
| Name | Description | |
|---|---|---|
| GenericPlaceableToken(GenericPlaceableToken) |
Initializes a new instance with the values from another instance, creating a deep copy.
| |
| GenericPlaceableToken(String, String, Boolean) |
Initializes a new instance with the specified token text, token class, and
substitution flag. The token type will be set to OtherTextPlaceable.
|
| Name | Description | |
|---|---|---|
| IsPlaceable | IsPlaceable. Always returns true for instances of this class.
(Overrides SimpleTokenIsPlaceable.) | |
| IsPunctuation |
true iff the token is a general punctuation, an opening punctuation, or a closing punctuation
(Inherited from Token.) | |
| IsStopword |
Gets or sets whether this token is a stop word
(Inherited from SimpleToken.) | |
| IsSubstitutable | IsSubstitutable. Returns the value of the corresponding constructor
flag.
(Overrides SimpleTokenIsSubstitutable.) | |
| IsWhitespace |
Gets a value which indicates whether this token is a whitespace token or not.
(Inherited from Token.) | |
| IsWord |
true iff the token is a word, an abbreviation, or an acronym
(Inherited from Token.) | |
| Span |
Gets or sets the span covered by this token in the original segment.
(Inherited from Token.) | |
| Stem |
An optional stem to assign to this token. Stems are used for TM search and scoring.
(Inherited from SimpleToken.) | |
| Text |
Gets or sets the token's text.
(Inherited from Token.) | |
| TokenClass |
Gets the value of the token class which has been used during construction.
| |
| Type |
Gets, or sets, the TokenType of this token.
(Inherited from Token.) |
| Name | Description | |
|---|---|---|
| AcceptSegmentElementVisitor |
Visitor pattern implementation. Calls VisitSimpleToken(SimpleToken).
(Inherited from SimpleToken.) | |
| Duplicate |
See Duplicate (Overrides SimpleTokenDuplicate.) | |
| Equals | Equals(object) (Overrides SimpleTokenEquals(Object).) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | GetHashCode(object) (Overrides SimpleTokenGetHashCode.) | |
| GetSimilarity | GetSimilarity(SegmentElement). To be similar, instances need to have the
same token class.
(Overrides SimpleTokenGetSimilarity(SegmentElement).) | |
| GetTokenType | (Inherited from SimpleToken.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetWeakHashCode |
See GetWeakHashCode (Inherited from Token.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetTokenType |
Overwrites the token type. This should only be done with caution, and to reclassify
exchangeable token types (acronyms, words, abbreviations). In particular, do not set
the token type to one of the special (localizable) token types.
(Inherited from SimpleToken.) | |
| ToString | (Inherited from SimpleToken.) |