google_api_language v0.5.0 GoogleApi.Language.V1.Model.Token View Source
Represents the smallest syntactic building block of the text.
Attributes
dependencyEdge
(type:GoogleApi.Language.V1.Model.DependencyEdge.t
, default:nil
) - Dependency tree parse for this token.lemma
(type:String.t
, default:nil
) - Lemma of the token.partOfSpeech
(type:GoogleApi.Language.V1.Model.PartOfSpeech.t
, default:nil
) - Parts of speech tag for this token.text
(type:GoogleApi.Language.V1.Model.TextSpan.t
, default:nil
) - The token text.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Language.V1.Model.Token{
dependencyEdge: GoogleApi.Language.V1.Model.DependencyEdge.t(),
lemma: String.t(),
partOfSpeech: GoogleApi.Language.V1.Model.PartOfSpeech.t(),
text: GoogleApi.Language.V1.Model.TextSpan.t()
}
t() :: %GoogleApi.Language.V1.Model.Token{ dependencyEdge: GoogleApi.Language.V1.Model.DependencyEdge.t(), lemma: String.t(), partOfSpeech: GoogleApi.Language.V1.Model.PartOfSpeech.t(), text: GoogleApi.Language.V1.Model.TextSpan.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.