mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-09 16:58:17 +03:00
Merge branch 'master' into spacy.io
This commit is contained in:
commit
e055977851
|
@ -1562,7 +1562,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "pyInflect",
|
"id": "pyInflect",
|
||||||
"slogan": "A python module for word inflections",
|
"slogan": "A Python module for word inflections",
|
||||||
"description": "This package uses the [spaCy 2.0 extensions](https://spacy.io/usage/processing-pipelines#extensions) to add word inflections to the system.",
|
"description": "This package uses the [spaCy 2.0 extensions](https://spacy.io/usage/processing-pipelines#extensions) to add word inflections to the system.",
|
||||||
"github": "bjascob/pyInflect",
|
"github": "bjascob/pyInflect",
|
||||||
"pip": "pyinflect",
|
"pip": "pyinflect",
|
||||||
|
@ -1582,6 +1582,29 @@
|
||||||
"category": ["pipeline"],
|
"category": ["pipeline"],
|
||||||
"tags": ["inflection"]
|
"tags": ["inflection"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "lemminflect",
|
||||||
|
"slogan": "A Python module for English lemmatization and inflection",
|
||||||
|
"description": "LemmInflect uses a dictionary approach to lemmatize English words and inflect them into forms specified by a user supplied [Universal Dependencies](https://universaldependencies.org/u/pos/) or [Penn Treebank](https://www.ling.upenn.edu/courses/Fall_2003/ling001/penn_treebank_pos.html) tag. The library works with out-of-vocabulary (OOV) words by applying neural network techniques to classify word forms and choose the appropriate morphing rules. The system acts as a standalone module or as an extension to spaCy.",
|
||||||
|
"github": "bjascob/LemmInflect",
|
||||||
|
"pip": "lemminflect",
|
||||||
|
"thumb": "https://raw.githubusercontent.com/bjascob/LemmInflect/master/docs/img/icons8-citrus-80.png",
|
||||||
|
"code_example": [
|
||||||
|
"import spacy",
|
||||||
|
"import lemminflect",
|
||||||
|
"",
|
||||||
|
"nlp = spacy.load('en_core_web_sm')",
|
||||||
|
"doc = nlp('I am testing this example.')",
|
||||||
|
"doc[2]._.lemma() # 'test'",
|
||||||
|
"doc[4]._.inflect('NNS') # 'examples'"
|
||||||
|
],
|
||||||
|
"author": "Brad Jascob",
|
||||||
|
"author_links": {
|
||||||
|
"github": "bjascob"
|
||||||
|
},
|
||||||
|
"category": ["pipeline"],
|
||||||
|
"tags": ["inflection", "lemmatizer"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "blackstone",
|
"id": "blackstone",
|
||||||
"title": "Blackstone",
|
"title": "Blackstone",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user