Update pip and code example

This commit is contained in:
Suqi Sun 2021-06-30 14:49:51 -04:00 committed by Paul O'Leary McCann
parent f011126ebd
commit c61ecb6f7c

View File

@ -3171,15 +3171,15 @@
"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",
"pip": "\"git+https://git@github.com/asyml/forte-wrappers.git#egg=forte.spacy&subdirectory=src/spacy\"",
"code_example": [
"from forte.spacy import SpacyProcessor",
"from forte import Pipeline",
"from forte.data.readers import StringReader",
"",
"pipline = Pipeline()",
"pipeline = Pipeline()",
"pipeline.set_reader(StringReader())",
"pipline.add(SpacyProcessor())",
"pipeline.add(SpacyProcessor())",
"pipeline.run('Running SpaCy with Forte!')"
],
"code_language": "python",