Annotation API for Python#
- class eot.wowool.annotation.Annotation#
Annotation
is the base class for all annotations- __init__(begin_offset: int, end_offset: int)#
Initialize an
Annotation
instance- Parameters
begin_offset (
int
) – Begin offset of the annotationend_offset (
int
) – End offset of the annotation
- Return type
- property begin_offset: int#
- Returns
The begin offset of the annotation
- Type
int
- property end_offset: int#
- Returns
The end offset of the annotation
- Type
int
See also the corresponding JSON schema.