mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-25 00:34:20 +03:00
Added Augmenty to universe (#10229)
* Added Augmenty to universe * Update website/meta/universe.json Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> * Update website/meta/universe.json Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
42072f4468
commit
e4625d2fc3
|
@ -953,6 +953,37 @@
|
|||
"category": ["pipeline"],
|
||||
"tags": ["lemmatizer", "danish"]
|
||||
},
|
||||
{
|
||||
"id": "augmenty",
|
||||
"title": "Augmenty",
|
||||
"slogan": "The cherry on top of your NLP pipeline",
|
||||
"description": "Augmenty is an augmentation library based on spaCy for augmenting texts. Augmenty differs from other augmentation libraries in that it corrects (as far as possible) the token, sentence and document labels under the augmentation.",
|
||||
"github": "kennethenevoldsen/augmenty",
|
||||
"pip": "augmenty",
|
||||
"code_example": [
|
||||
"import spacy",
|
||||
"import augmenty",
|
||||
"",
|
||||
"nlp = spacy.load('en_core_web_md')",
|
||||
"",
|
||||
"docs = nlp.pipe(['Augmenty is a great tool for text augmentation'])",
|
||||
"",
|
||||
"ent_dict = {'ORG': [['spaCy'], ['spaCy', 'Universe']]}",
|
||||
"entity_augmenter = augmenty.load('ents_replace.v1',",
|
||||
" ent_dict = ent_dict, level=1)",
|
||||
"",
|
||||
"for doc in augmenty.docs(docs, augmenter=entity_augmenter, nlp=nlp):",
|
||||
" print(doc)"
|
||||
],
|
||||
"thumb": "https://github.com/KennethEnevoldsen/augmenty/blob/master/img/icon.png?raw=true",
|
||||
"author": "Kenneth Enevoldsen",
|
||||
"author_links": {
|
||||
"github": "kennethenevoldsen",
|
||||
"website": "https://www.kennethenevoldsen.com"
|
||||
},
|
||||
"category": ["training", "research"],
|
||||
"tags": ["training", "research", "augmentation"]
|
||||
},
|
||||
{
|
||||
"id": "dacy",
|
||||
"title": "DaCy",
|
||||
|
|
Loading…
Reference in New Issue
Block a user