Struct google_language1_beta1::Token [−][src]
pub struct Token { pub text: Option<TextSpan>, pub dependency_edge: Option<DependencyEdge>, pub part_of_speech: Option<PartOfSpeech>, 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
text: Option<TextSpan>
The token text.
dependency_edge: Option<DependencyEdge>
Dependency tree parse for this token.
part_of_speech: Option<PartOfSpeech>
Parts of speech tag for this token.
lemma: Option<String>
Lemma of the token.
Trait Implementations
impl Default for Token
[src]
impl Default for Token
impl Clone for Token
[src]
impl Clone for Token
fn clone(&self) -> Token
[src]
fn clone(&self) -> Token
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Token
[src]
impl Debug for Token
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Token
[src]
impl Part for Token