public sealed class Token : IMessage<Token>, IEquatable<Token>, IDeepCloneable<Token>, IBufferMessage, IMessageRepresents the smallest syntactic building block of the text.
Namespace
Google.Cloud.Language.V1Assembly
Google.Cloud.Language.V1.dll
Constructors
Token()
public Token()Token(Token)
public Token(Token other)| Parameter | |
|---|---|
| Name | Description |
other |
Token |
Properties
DependencyEdge
public DependencyEdge DependencyEdge { get; set; }Dependency tree parse for this token.
| Property Value | |
|---|---|
| Type | Description |
DependencyEdge |
|
Lemma
public string Lemma { get; set; }Lemma of the token.
| Property Value | |
|---|---|
| Type | Description |
String |
|
PartOfSpeech
public PartOfSpeech PartOfSpeech { get; set; }Parts of speech tag for this token.
| Property Value | |
|---|---|
| Type | Description |
PartOfSpeech |
|
Text
public TextSpan Text { get; set; }The token text.
| Property Value | |
|---|---|
| Type | Description |
TextSpan |
|