mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
Update pip and code example
This commit is contained in:
parent
f011126ebd
commit
c61ecb6f7c
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user