NLUSpan

A slice from a Doc object

Implements

Fields

has_vector (Boolean)

A boolean value indicating whether a word vector is associated with the object.

text (String)

Verbatim text content.

text_with_ws (String)

Text content, with trailing space character if present.

vector ([Float])

A real-valued meaning representation.

vector_norm (Float)

The L2 norm of the document’s vector representation.

entities ([NLUSpan])

Span references

lemma (String)

Base form of the span, with no inflectional suffixes.

subtree ([NLUToken])

Tokens within the span and tokens which descend from them.

tokens ([NLUToken])

Token references