From d621df6422c1c1fe079d42ca5e2ae43f81d5cac4 Mon Sep 17 00:00:00 2001 From: mylibrar <54747962+mylibrar@users.noreply.github.com> Date: Sat, 11 Sep 2021 00:13:13 -0400 Subject: [PATCH] Update example code of forte (#9175) Co-authored-by: Suqi Sun --- website/meta/universe.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/meta/universe.json b/website/meta/universe.json index 993e900ff..2ff0cec9f 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -3259,15 +3259,17 @@ "slogan": "Forte is a toolkit for building Natural Language Processing pipelines, featuring cross-task interaction, adaptable data-model interfaces and composable pipelines.", "description": "Forte provides a platform to assemble state-of-the-art NLP and ML technologies in a highly-composable fashion, including a wide spectrum of tasks ranging from Information Retrieval, Natural Language Understanding to Natural Language Generation.", "github": "asyml/forte", - "pip": "forte.spacy torch", + "pip": "forte.spacy stave torch", "code_example": [ - "from forte.spacy import SpacyProcessor", + "from fortex.spacy import SpacyProcessor", + "from forte.processors.stave import StaveProcessor", "from forte import Pipeline", "from forte.data.readers import StringReader", "", "pipeline = Pipeline()", "pipeline.set_reader(StringReader())", "pipeline.add(SpacyProcessor())", + "pipeline.add(StaveProcessor())", "pipeline.run('Running SpaCy with Forte!')" ], "code_language": "python",