Class SemanticMarkup (0.1.1)

SemanticMarkup(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Semantic markup denotes a substring (by index and length) with markup information.

Attributes

NameDescription
type_ .annotated_string.AnnotatedString.SemanticMarkupType
The semantic type of the markup substring.
start_char_index int
Unicode character index of the query.
length int
The length (number of unicode characters) of the markup substring.