medcat.stats.mctexport
Module Contents
Classes
dict() -> new empty dictionary |
|
dict() -> new empty dictionary |
|
dict() -> new empty dictionary |
|
dict() -> new empty dictionary |
Functions
|
|
|
|
|
|
|
|
|
|
Attributes
The project name, project ID, CUIs str, and TUIs str |
- class medcat.stats.mctexport.MedCATTrainerExportAnnotation
Bases:
typing_extensions.TypedDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
- start: int
- end: int
- cui: str
- value: str
- class medcat.stats.mctexport.MedCATTrainerExportDocument
Bases:
typing_extensions.TypedDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
- name: str
- id: Any
- last_modified: str
- text: str
- annotations: List[MedCATTrainerExportAnnotation]
- class medcat.stats.mctexport.MedCATTrainerExportProject
Bases:
typing_extensions.TypedDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
- name: str
- id: Any
- cuis: str
- tuis: str | None
- documents: List[MedCATTrainerExportDocument]
- medcat.stats.mctexport.MedCATTrainerExportProjectInfo
The project name, project ID, CUIs str, and TUIs str
- class medcat.stats.mctexport.MedCATTrainerExport
Bases:
typing_extensions.TypedDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
- projects: List[MedCATTrainerExportProject]
- medcat.stats.mctexport.iter_projects(export)
- Parameters:
export (MedCATTrainerExport) –
- Return type:
Iterator[MedCATTrainerExportProject]
- medcat.stats.mctexport.iter_docs(export)
- Parameters:
export (MedCATTrainerExport) –
- Return type:
Iterator[Tuple[MedCATTrainerExportProjectInfo, MedCATTrainerExportDocument]]
- medcat.stats.mctexport.iter_anns(export)
- Parameters:
export (MedCATTrainerExport) –
- Return type:
Iterator[Tuple[MedCATTrainerExportProjectInfo, MedCATTrainerExportDocument, MedCATTrainerExportAnnotation]]
- medcat.stats.mctexport.count_all_annotations(export)
- Parameters:
export (MedCATTrainerExport) –
- Return type:
int
- medcat.stats.mctexport.count_all_docs(export)
- Parameters:
export (MedCATTrainerExport) –
- Return type:
int
- medcat.stats.mctexport.get_nr_of_annotations(doc)
- Parameters:
doc (MedCATTrainerExportDocument) –
- Return type:
int