Skip to content

Added Russian language #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Are available languages with the following Universal Dependencies training sets:
* no: Norwegian
* pl: Polish
* pt: Portuguese
* ru: Russian
* sl: Slovenian
* es: Spanish
* sv: Swedish
Expand Down
3 changes: 2 additions & 1 deletion flask_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def _v1_spec():
'required': True,
'type': 'string',
'enum': ['bg', 'cs', 'da', 'hr', 'el', 'en', 'es', 'et', 'eu', 'fi', 'fr', 'gl', 'grc',
'he', 'hi', 'hr', 'hu', 'id', 'it', 'la', 'nl', 'no', 'pl', 'pt', 'sl', 'sv', 'zh']
'he', 'hi', 'hr', 'hu', 'id', 'it', 'la', 'nl', 'no', 'pl', 'pt', 'ru' 'sl', 'sv',
'zh']
}
],
'consumes': [
Expand Down
2 changes: 1 addition & 1 deletion install-syntaxnet-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cd ..
bazel test syntaxnet/... util/utf8/...
mkdir universal_models
cd universal_models
for LANG in Ancient_Greek-PROIEL Basque Bulgarian Chinese Croatian Czech Danish Dutch English Estonian Finnish French Galician German Greek Hebrew Hindi Hungarian Indonesian Italian Latin-PROIEL Norwegian Persian Polish Portuguese Slovenian Spanish Swedish; do
for LANG in Ancient_Greek-PROIEL Basque Bulgarian Chinese Croatian Czech Danish Dutch English Estonian Finnish French Galician German Greek Hebrew Hindi Hungarian Indonesian Italian Latin-PROIEL Norwegian Persian Polish Portuguese Russian Slovenian Spanish Swedish; do
wget http://download.tensorflow.org/models/parsey_universal/${LANG}.zip
unzip ${LANG}.zip
rm ${LANG}.zip
Expand Down
1 change: 1 addition & 0 deletions parsey.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'no': 'Norwegian',
'pl': 'Polish',
'pt': 'Portuguese',
'ru': 'Russian',
'sl': 'Slovenian',
'es': 'Spanish',
'sv': 'Swedish'
Expand Down