File tree Expand file tree Collapse file tree 5 files changed +50
-18
lines changed Expand file tree Collapse file tree 5 files changed +50
-18
lines changed Original file line number Diff line number Diff line change 1- mmif.serialize module
2- =====================
1+ mmif.serialize package
2+ ======================
33
4- mmif.serialize.model module
4+ Core package to provide serialization and deserialization of MMIF format.
5+
6+ ``model `` module
57---------------------------
68
79.. automodule :: mmif.serialize.model
810 :members:
911 :undoc-members:
1012 :show-inheritance:
1113
12- mmif.serialize.mmif module
14+ `` mmif `` module
1315--------------------------
1416
1517.. automodule :: mmif.serialize.mmif
1618 :members:
1719 :undoc-members:
1820 :show-inheritance:
1921
20- mmif.serialize. view module
22+ `` view `` module
2123--------------------------
2224
2325.. automodule :: mmif.serialize.view
2426 :members:
2527 :undoc-members:
2628 :show-inheritance:
2729
28- mmif.serialize. annotation module
30+ `` annotation `` module
2931--------------------------------
3032
3133.. automodule :: mmif.serialize.annotation
Original file line number Diff line number Diff line change 1- mmif.utils module
2- =================
1+ mmif.utils package
2+ ==================
33
4- mmif.utils.video_document_helper module
4+ Package containing utility modules for handling different types of source
5+ documents, and general implementation of common data structures and
6+ algorithms.
7+
8+ ``video_document_helper `` module
59----------------------------------------
610
711.. automodule :: mmif.utils.video_document_helper
812 :members:
913 :undoc-members:
1014 :show-inheritance:
1115
12- mmif.utils.sequence_helper module
16+ ``text_document_helper `` module
17+ ---------------------------------
18+
19+ .. automodule :: mmif.utils.sequence_helper
20+ :members:
21+ :undoc-members:
22+ :show-inheritance:
23+
24+ ``sequence_helper `` module
1325---------------------------------
1426
1527.. automodule :: mmif.utils.sequence_helper
1628 :members:
1729 :undoc-members:
1830 :show-inheritance:
31+
32+ ``sequence_helper `` module
33+ ---------------------------------
34+
35+ .. automodule :: mmif.utils.sequence_helper
36+ :members:
37+ :undoc-members:
38+ :show-inheritance:
39+
Original file line number Diff line number Diff line change 11mmif.vocabulary module
22======================
33
4- mmif.vocabulary.annotation\_ types module
5- ----------------------------------------
4+ Module contains Enum-like classes for CLAMS vocabulary.
65
7- .. automodule :: mmif.vocabulary.annotation_types
6+ .. autoclass :: mmif.vocabulary.ThingTypesBase
7+ :show-inheritance:
8+ .. autoclass :: mmif.vocabulary.ThingType
89 :members:
910 :undoc-members:
1011 :show-inheritance:
1112
12- mmif.vocabulary.document\_ types module
13- --------------------------------------
13+ .. autoclass :: mmif.vocabulary.ClamsTypesBase
14+ :show-inheritance:
15+ .. autoclass :: mmif.vocabulary.AnnotationTypesBase
16+ :show-inheritance:
17+ .. autoclass :: mmif.vocabulary.DocumentTypesBase
18+ :show-inheritance:
19+
20+ .. autoclass :: mmif.vocabulary.AnnotationTypes
21+ :members:
22+ :undoc-members:
23+ :show-inheritance:
1424
15- .. automodule :: mmif.vocabulary.document_types
25+ .. autoclass :: mmif.vocabulary.DocumentTypes
1626 :members:
1727 :undoc-members:
1828 :show-inheritance:
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ def get_last_contentful_view(self) -> Optional[View]:
120120 Returns the last view that is contentful, i.e., has no error or warning .
121121 """
122122 for view in reversed (self ._items .values ()):
123- if 'error' not in view .metadata and 'warning ' not in view .metadata :
123+ if 'error' not in view .metadata and 'warnings ' not in view .metadata :
124124 return view
125125
126126 def get_last_view (self ) -> Optional [View ]:
Original file line number Diff line number Diff line change 1- from mmif .utils import video_document_helper
You can’t perform that action at this time.
0 commit comments