NesrineBannour
commited on
Commit
•
a2e5164
1
Parent(s):
67eeffe
Update README.md
Browse files
README.md
CHANGED
@@ -195,7 +195,7 @@ for doc in docs:
|
|
195 |
brat_output_converter = BratOutputConverter(attrs=[])
|
196 |
# To keep the same document names in the output folder
|
197 |
doc_names = [os.path.splitext(os.path.basename(doc.metadata["path_to_text"]))[0] for doc in docs]
|
198 |
-
brat_output_converter.save(docs, dir_path="
|
199 |
```
|
200 |
|
201 |
|
|
|
195 |
brat_output_converter = BratOutputConverter(attrs=[])
|
196 |
# To keep the same document names in the output folder
|
197 |
doc_names = [os.path.splitext(os.path.basename(doc.metadata["path_to_text"]))[0] for doc in docs]
|
198 |
+
brat_output_converter.save(docs, dir_path="path/to/exported_brat, doc_names=doc_names)
|
199 |
```
|
200 |
|
201 |
|