nlpmed_engine.data_structures package¶
Submodules¶
nlpmed_engine.data_structures.note module¶
- class nlpmed_engine.data_structures.note.Note(text: str, sections: list[nlpmed_engine.data_structures.section.Section] = <factory>, preprocessed_text: str | None = None, predicted_label: str | None = None, predicted_score: float | None = None)¶
Bases:
object
- predicted_label: str | None¶
- predicted_score: float | None¶
- preprocessed_text: str | None¶
- text: str¶
nlpmed_engine.data_structures.patient module¶
nlpmed_engine.data_structures.section module¶
- class nlpmed_engine.data_structures.section.Section(text: str, start_index: int, end_index: int, sentences: list[nlpmed_engine.data_structures.sentence.Sentence] = <factory>, important_indices: list[int] = <factory>, duplicate_indices: list[int] = <factory>, expanded_indices: list[int] = <factory>, is_important: bool = False)¶
Bases:
object
- duplicate_indices: list[int]¶
- end_index: int¶
- expanded_indices: list[int]¶
- important_indices: list[int]¶
- is_important: bool¶
- start_index: int¶
- text: str¶
nlpmed_engine.data_structures.sentence module¶
- class nlpmed_engine.data_structures.sentence.Sentence(text: str, start_index: int, end_index: int, is_duplicate: bool = False, is_important: bool = False, is_expanded: bool = False)¶
Bases:
object
- end_index: int¶
- is_duplicate: bool¶
- is_expanded: bool¶
- is_important: bool¶
- start_index: int¶
- text: str¶