Skip to content

Commit

Permalink
Merge pull request #8 from dataiku/feature/add-jp-support
Browse files Browse the repository at this point in the history
Add Japanese Support
  • Loading branch information
Muennighoff authored Jan 4, 2022
2 parents d8a2816 + a1d5ed8 commit 6efe98e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog

## Version 1.3.4 - Feature release - 2021-12-31
- Add Japanese support

## Version 1.3.3 - Patch release - 2021-09-08
- Fixed gensism version to avoid api conflict with Flair package
5 changes: 3 additions & 2 deletions code-env/python/spec/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ flair==0.6.1
gensim==3.8.0
flask>=1.0,<1.1
tqdm==4.50.0
spacy==2.3.2
spacy[ja]==2.3.2
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
https://github.com/explosion/spacy-models/releases/download/es_core_news_sm-2.3.1/es_core_news_sm-2.3.1.tar.gz
https://github.com/explosion/spacy-models/releases/download/zh_core_web_sm-2.3.1/zh_core_web_sm-2.3.1.tar.gz
https://github.com/explosion/spacy-models/releases/download/pl_core_news_sm-2.3.0/pl_core_news_sm-2.3.0.tar.gz
https://github.com/explosion/spacy-models/releases/download/nb_core_news_sm-2.3.0/nb_core_news_sm-2.3.0.tar.gz
https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-2.3.0/fr_core_news_sm-2.3.0.tar.gz
https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-2.3.0/de_core_news_sm-2.3.0.tar.gz
https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-2.3.0/de_core_news_sm-2.3.0.tar.gz
https://github.com/explosion/spacy-models/releases/download/ja_core_news_sm-2.3.0/ja_core_news_sm-2.3.0.tar.gz
6 changes: 5 additions & 1 deletion custom-recipes/named-entity-recognition-extract/recipe.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
"value": "de",
"label": "German"
},
{
"value": "ja",
"label": "Japanese"
},
{
"value": "nb",
"label": "Norwegian Bokmål"
Expand Down Expand Up @@ -142,4 +146,4 @@
"defaultValue": false
}
]
}
}
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "named-entity-recognition",
"version": "1.3.3",
"version": "1.3.4",
"meta": {
"label": "Named Entity Recognition",
"category": "Natural Language Processing",
Expand Down
1 change: 1 addition & 0 deletions python-lib/ner_utils_spacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"pl": "nb_core_news_sm",
"fr": "fr_core_news_sm",
"de": "de_core_news_sm",
"ja": "ja_core_news_sm",
"nb": "nb_core_news_sm",
}

Expand Down
1 change: 1 addition & 0 deletions webapps/named-entity-recognition-spacy/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ <h2>Input Text</h3>
<option selected value="en">English</option>
<option value="fr">French</option>
<option value="de">German</option>
<option value="ja">Japanese</option>
<option value="nb">Norwegian Bokmål</option>
<option value="pl">Polish</option>
<option value="es">Spanish</option>
Expand Down

0 comments on commit 6efe98e

Please sign in to comment.