Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.06 KB

File metadata and controls

30 lines (21 loc) · 1.06 KB

TextWithAnnotations

Properties

Name Type Description Notes
text str The text from which the annotations are extracted
annotations List[Annotation] The list of extracted annotations

Example

from cms_client.models.text_with_annotations import TextWithAnnotations

# TODO update the JSON string below
json = "{}"
# create an instance of TextWithAnnotations from a JSON string
text_with_annotations_instance = TextWithAnnotations.from_json(json)
# print the JSON string representation of the object
print(TextWithAnnotations.to_json())

# convert the object into a dict
text_with_annotations_dict = text_with_annotations_instance.to_dict()
# create an instance of TextWithAnnotations from a dict
text_with_annotations_from_dict = TextWithAnnotations.from_dict(text_with_annotations_dict)

[Back to Model list] [Back to API list] [Back to README]