mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-12 23:35:47 +03:00
Update to spacy_conll in universe (#10617)
* update to spacy_conll * Update website/meta/universe.json Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> * Update website/meta/universe.json Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
2e320414a1
commit
1e217d71b8
|
@ -2405,16 +2405,15 @@
|
||||||
{
|
{
|
||||||
"id": "spacy-conll",
|
"id": "spacy-conll",
|
||||||
"title": "spacy_conll",
|
"title": "spacy_conll",
|
||||||
"slogan": "Parsing to CoNLL with spaCy, spacy-stanza, and spacy-udpipe",
|
"slogan": "Parsing from and to CoNLL-U format with `spacy`, `spacy-stanza` and `spacy-udpipe`",
|
||||||
"description": "This module allows you to parse text into CoNLL-U format. You can use it as a command line tool, or embed it in your own scripts by adding it as a custom pipeline component to a spaCy, spacy-stanfordnlp, spacy-stanza, or spacy-udpipe pipeline. It also provides an easy-to-use function to quickly initialize a parser. CoNLL-related properties are added to Doc elements, sentence Spans, and Tokens.",
|
"description": "This module allows you to parse text into CoNLL-U format or read ConLL-U into a spaCy `Doc`. You can use it as a command line tool, or embed it in your own scripts by adding it as a custom pipeline component to a `spacy`, `spacy-stanza` or `spacy-udpipe` pipeline. It also provides an easy-to-use function to quickly initialize any spaCy-wrapped parser. CoNLL-related properties are added to `Doc` elements, `Span` sentences, and `Token` objects.",
|
||||||
"code_example": [
|
"code_example": [
|
||||||
"from spacy_conll import init_parser",
|
"from spacy_conll import init_parser",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"# Initialise English parser, already including the ConllFormatter as a pipeline component.",
|
"# Initialise English parser, already including the ConllFormatter as a pipeline component.",
|
||||||
"# Indicate that we want to get the CoNLL headers in the string output.",
|
"# Indicate that we want to get the CoNLL headers in the string output.",
|
||||||
"# `use_gpu` and `verbose` are specific to stanza (and stanfordnlp). These keywords arguments",
|
"# `use_gpu` and `verbose` are specific to stanza. These keywords arguments are passed onto their Pipeline() initialisation",
|
||||||
"# are passed onto their Pipeline() initialisation",
|
|
||||||
"nlp = init_parser(\"en\",",
|
"nlp = init_parser(\"en\",",
|
||||||
" \"stanza\",",
|
" \"stanza\",",
|
||||||
" parser_opts={\"use_gpu\": True, \"verbose\": False},",
|
" parser_opts={\"use_gpu\": True, \"verbose\": False},",
|
||||||
|
@ -2435,7 +2434,7 @@
|
||||||
},
|
},
|
||||||
"github": "BramVanroy/spacy_conll",
|
"github": "BramVanroy/spacy_conll",
|
||||||
"category": ["standalone", "pipeline"],
|
"category": ["standalone", "pipeline"],
|
||||||
"tags": ["linguistics", "computational linguistics", "conll"]
|
"tags": ["linguistics", "computational linguistics", "conll", "conll-u"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "spacy-langdetect",
|
"id": "spacy-langdetect",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user