Struct google_language1::Token[][src]

pub struct Token {
    pub text: Option<TextSpan>,
    pub part_of_speech: Option<PartOfSpeech>,
    pub dependency_edge: Option<DependencyEdge>,
    pub lemma: Option<String>,
}

Represents the smallest syntactic building block of the text.

This type is not used in any activity, and only used as part of another schema.

Fields

The token text.

Parts of speech tag for this token.

Dependency tree parse for this token.

Lemma of the token.

Trait Implementations

impl Default for Token
[src]

Returns the "default value" for a type. Read more

impl Clone for Token
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Token
[src]

Formats the value using the given formatter. Read more

impl Part for Token
[src]

Auto Trait Implementations

impl Send for Token

impl Sync for Token