Skip to content

Commit

Permalink
Update sources for a few word vectors - many EN models and the zh-han…
Browse files Browse the repository at this point in the history
…t model use conll17, kk uses fasttext, use fasttext157 to represent Word vectors for 157 languages
  • Loading branch information
AngledLuffa committed Jul 21, 2023
1 parent eba98ed commit 5458467
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stanza/resources/default_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"da": "conll17",
"de": "conll17",
"el": "conll17",
"en": "conll17",
"es": "conll17",
"et": "conll17",
"eu": "conll17",
Expand All @@ -132,6 +133,7 @@
"id": "conll17",
"it": "conll17",
"ja": "conll17",
"kk": "fasttext157",
"ko": "conll17",
"la": "conll17",
"lv": "conll17",
Expand All @@ -151,6 +153,7 @@
"uk": "conll17",
"ur": "conll17",
"vi": "conll17",
"zh-hant": "conll17",
}

default_pretrains = dict(default_treebanks)
Expand Down Expand Up @@ -216,7 +219,7 @@
"wikiner": "fasttextwiki",
},
"th": {
"lst20": "fasttext",
"lst20": "fasttext157",
},
"zh-hans": {
"ontonotes": "fasttextwiki",
Expand Down

0 comments on commit 5458467

Please sign in to comment.