Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterhector authored Feb 4, 2022
1 parent 541d93d commit 6ceaf01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ from fortex.spacy import SpacyProcessor
for pack in Pipeline().set_reader(
TerminalReader()
).add(
SpacyProcessor(), {"processors": "[sentence, ner]"}
SpacyProcessor(), {"processors": ["sentence", "ner"]}
).initialize().process_dataset():
for sentence in pack.get("ft.onto.base_ontology.Sentence"):
print("The sentence is: ", sentence.text)
Expand Down

0 comments on commit 6ceaf01

Please sign in to comment.