diff --git a/CHANGELOG.md b/CHANGELOG.md index 9066872..a022660 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/code-env/python/spec/requirements.txt b/code-env/python/spec/requirements.txt index b1e133d..4a93d27 100644 --- a/code-env/python/spec/requirements.txt +++ b/code-env/python/spec/requirements.txt @@ -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 \ No newline at end of file +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 diff --git a/custom-recipes/named-entity-recognition-extract/recipe.json b/custom-recipes/named-entity-recognition-extract/recipe.json index 91ac5c0..32c4ec9 100644 --- a/custom-recipes/named-entity-recognition-extract/recipe.json +++ b/custom-recipes/named-entity-recognition-extract/recipe.json @@ -75,6 +75,10 @@ "value": "de", "label": "German" }, + { + "value": "ja", + "label": "Japanese" + }, { "value": "nb", "label": "Norwegian Bokmål" @@ -142,4 +146,4 @@ "defaultValue": false } ] -} \ No newline at end of file +} diff --git a/plugin.json b/plugin.json index bddb653..c8708ea 100644 --- a/plugin.json +++ b/plugin.json @@ -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", diff --git a/python-lib/ner_utils_spacy.py b/python-lib/ner_utils_spacy.py index 68106e1..6835264 100644 --- a/python-lib/ner_utils_spacy.py +++ b/python-lib/ner_utils_spacy.py @@ -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", } diff --git a/webapps/named-entity-recognition-spacy/body.html b/webapps/named-entity-recognition-spacy/body.html index 747d608..b6af082 100644 --- a/webapps/named-entity-recognition-spacy/body.html +++ b/webapps/named-entity-recognition-spacy/body.html @@ -29,6 +29,7 @@