Skip to content

Commit 6efe98e

Browse files
authored
Merge pull request #8 from dataiku/feature/add-jp-support
Add Japanese Support
2 parents d8a2816 + a1d5ed8 commit 6efe98e

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
22

3+
## Version 1.3.4 - Feature release - 2021-12-31
4+
- Add Japanese support
5+
36
## Version 1.3.3 - Patch release - 2021-09-08
47
- Fixed gensism version to avoid api conflict with Flair package

code-env/python/spec/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ flair==0.6.1
33
gensim==3.8.0
44
flask>=1.0,<1.1
55
tqdm==4.50.0
6-
spacy==2.3.2
6+
spacy[ja]==2.3.2
77
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
88
https://github.com/explosion/spacy-models/releases/download/es_core_news_sm-2.3.1/es_core_news_sm-2.3.1.tar.gz
99
https://github.com/explosion/spacy-models/releases/download/zh_core_web_sm-2.3.1/zh_core_web_sm-2.3.1.tar.gz
1010
https://github.com/explosion/spacy-models/releases/download/pl_core_news_sm-2.3.0/pl_core_news_sm-2.3.0.tar.gz
1111
https://github.com/explosion/spacy-models/releases/download/nb_core_news_sm-2.3.0/nb_core_news_sm-2.3.0.tar.gz
1212
https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-2.3.0/fr_core_news_sm-2.3.0.tar.gz
13-
https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-2.3.0/de_core_news_sm-2.3.0.tar.gz
13+
https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-2.3.0/de_core_news_sm-2.3.0.tar.gz
14+
https://github.com/explosion/spacy-models/releases/download/ja_core_news_sm-2.3.0/ja_core_news_sm-2.3.0.tar.gz

custom-recipes/named-entity-recognition-extract/recipe.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
"value": "de",
7676
"label": "German"
7777
},
78+
{
79+
"value": "ja",
80+
"label": "Japanese"
81+
},
7882
{
7983
"value": "nb",
8084
"label": "Norwegian Bokmål"
@@ -142,4 +146,4 @@
142146
"defaultValue": false
143147
}
144148
]
145-
}
149+
}

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "named-entity-recognition",
3-
"version": "1.3.3",
3+
"version": "1.3.4",
44
"meta": {
55
"label": "Named Entity Recognition",
66
"category": "Natural Language Processing",

python-lib/ner_utils_spacy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"pl": "nb_core_news_sm",
1212
"fr": "fr_core_news_sm",
1313
"de": "de_core_news_sm",
14+
"ja": "ja_core_news_sm",
1415
"nb": "nb_core_news_sm",
1516
}
1617

webapps/named-entity-recognition-spacy/body.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ <h2>Input Text</h3>
2929
<option selected value="en">English</option>
3030
<option value="fr">French</option>
3131
<option value="de">German</option>
32+
<option value="ja">Japanese</option>
3233
<option value="nb">Norwegian Bokmål</option>
3334
<option value="pl">Polish</option>
3435
<option value="es">Spanish</option>

0 commit comments

Comments
 (0)