Class SimpleToken
Inheritance
System.Object
SimpleToken
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.Core.dll
public class SimpleToken : Token
Constructors
Declaration
Declaration
public SimpleToken(SimpleToken other)
Parameters
Declaration
public SimpleToken(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Declaration
public SimpleToken(string text, TokenType t)
Parameters
Type |
Name |
Description |
System.String |
text |
|
TokenType |
t |
|
Properties
Declaration
public override bool IsPlaceable { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public bool IsStopword { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override bool IsSubstitutable { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public string Stem { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public override void AcceptSegmentElementVisitor(ISegmentElementVisitor visitor)
Parameters
Overrides
Declaration
public override SegmentElement Duplicate()
Returns
Overrides
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
Declaration
public override SegmentElement.Similarity GetSimilarity(SegmentElement other)
Parameters
Returns
Overrides
Declaration
protected override TokenType GetTokenType()
Returns
Overrides
Declaration
protected override void SetTokenType(TokenType tokenType)
Parameters
Overrides
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()