Diff of /medacy/data/data_file.py [000000] .. [6c353a]

Switch to side-by-side view

--- a
+++ b/medacy/data/data_file.py
@@ -0,0 +1,19 @@
+import os
+from dataclasses import dataclass
+
+
+@dataclass
+class DataFile:
+    """
+    DataFile wraps all relevant information needed to manage a text document and it's corresponding annotation. Specifically,
+    a Datafile keeps track of the filepath of the raw text, annotation file, and metamapped file for each document.
+
+    :ivar file_name: the name of the file being represented
+    :ivar txt_path: the text document corresponding to this file
+    :ivar ann_path: the annotations of the text document
+    :ivar metamapped_path: the metamap file
+    """
+    file_name: str
+    txt_path: os.PathLike
+    ann_path: os.PathLike
+    metamapped_path: os.PathLike = None