Update pip and code example

This commit is contained in:
Suqi Sun 2021-06-30 14:49:51 -04:00
parent 4331c40b78
commit 61c868ed75

View File

@ -3142,15 +3142,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",