Skip to content

Commit

Permalink
Merge pull request #9 from adrianeboyd/feature/pl-lemma-lookups
Browse files Browse the repository at this point in the history
  • Loading branch information
ines authored May 24, 2020
2 parents 1596ca6 + 47871af commit 8d8791f
Show file tree
Hide file tree
Showing 12 changed files with 3,778,464 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ spacy_lookups =
ru = spacy_lookups_data:ru
ta = spacy_lookups_data:ta
th = spacy_lookups_data:th
pl = spacy_lookups_data:pl
de_extra = spacy_lookups_data:de_extra
el_extra = spacy_lookups_data:el_extra
en_extra = spacy_lookups_data:en_extra
Expand Down
11 changes: 11 additions & 0 deletions spacy_lookups_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ def get_file(filename):
ru = {"lexeme_norm": get_file("ru_lexeme_norm.json")}
ta = {"lexeme_norm": get_file("ta_lexeme_norm.json")}
th = {"lexeme_norm": get_file("th_lexeme_norm.json")}
pl = {
"lemma_lookup_adj": get_file("pl_lemma_lookup_adj.json"),
"lemma_lookup_adp": get_file("pl_lemma_lookup_adp.json"),
"lemma_lookup_adv": get_file("pl_lemma_lookup_adv.json"),
"lemma_lookup_aux": get_file("pl_lemma_lookup_aux.json"),
"lemma_lookup_noun": get_file("pl_lemma_lookup_noun.json"),
"lemma_lookup_num": get_file("pl_lemma_lookup_num.json"),
"lemma_lookup_part": get_file("pl_lemma_lookup_part.json"),
"lemma_lookup_pron": get_file("pl_lemma_lookup_pron.json"),
"lemma_lookup_verb": get_file("pl_lemma_lookup_verb.json"),
}
de_extra = {
"lexeme_cluster": get_file("de_lexeme_cluster.json"),
"lexeme_prob": get_file("de_lexeme_prob.json"),
Expand Down
Loading

0 comments on commit 8d8791f

Please sign in to comment.