medkit.core.collection
medkit.core.collection#
Classes:
|
Collection of documents of any modality (text, audio). |
- class Collection(*, text_docs=None, audio_docs=None)[source]#
Collection of documents of any modality (text, audio).
This class allows to group together a set of documents representing a common unit (for instance a patient), even if they don’t belong to the same modality.
This class is still a work-in-progress. In the future it should be possible to attach additional information to a Collection.
- Parameters
text_docs (
Optional
[List
[TextDocument
]]) – List of text documentsaudio_docs (
Optional
[List
[AudioDocument
]]) – List of audio documents
Attributes:
List of all the documents belonging to the document, whatever they modality
- property all_docs: List[medkit.core.document.Document]#
List of all the documents belonging to the document, whatever they modality
- Return type
List
[Document
]