Merge pull request #842 from magnusburton/master

Added regular verb rules for Swedish
This commit is contained in:
Ines Montani 2017-02-17 11:18:20 +01:00 committed by GitHub
commit de997c1a33
1 changed files with 66 additions and 1 deletions

View File

@ -23,6 +23,71 @@ LEMMA_RULES = {
["larna", "el"] ["larna", "el"]
], ],
"verb": [
["r", ""],
["de", ""],
["t", ""],
["er", ""],
["te", ""],
["a", ""],
["e", ""],
["t", "d"],
["tt", "d"],
["tt", ""],
["ev", "iv"],
["ack", "ick"],
["ög", "yg"],
["it", ""],
["uckit", "ick"],
["ugit", "yg"],
["it", "et"],
["id", "ed"],
["ip", "ep"],
["iv", "ev"],
["in", "en"],
["ik", "ek"],
["ig", "eg"],
["ind", ""],
["inn", "ann"],
["nder", "nd"],
["inner", "inn"],
["and", "ind"],
["ann", "inn"],
["s", ""],
["anns", "inn"],
["undit", "ind"],
["unnit", "inn"],
["unnits", "inn"],
["uppit", "ipp"],
["ungit", "ing"],
["öd", "ud"],
["öt", "jut"],
["öt", "ut"],
["ög", "ug"],
["ögg", "ugg"],
["öng", "ung"],
["önk", "unk"],
["öt", "yt"],
["utit", "yt"],
["ös", "ys"],
["öv", "yv"],
["uvit", "yv"],
["öp", "yp"],
["upit", "yp"],
["ök", "yk"],
["ukit", "yk"],
["or", "ar"],
["öll", "all"],
["ät", "åt"],
["öll", "åll"],
["or", "är"],
["urit", "är"],
["åt", "ät"],
["ar", "är"],
["alt", "ält"],
["ultit", "ält"]
],
"adj": [ "adj": [
["are", ""], ["are", ""],
["ast", ""], ["ast", ""],
@ -33,7 +98,7 @@ LEMMA_RULES = {
["ängre", "ång"], ["ängre", "ång"],
["ängst", "ång"], ["ängst", "ång"],
["örre", "or"], ["örre", "or"],
["örst", "or"], ["örst", "or"]
], ],
"punct": [ "punct": [