Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'''
serialVersionUID = 1
a_0 = [
Among(u"", -1, 6),
Among(u"U", 0, 2),
Among(u"Y", 0, 1),
Among(u"\u00E4", 0, 3),
Among(u"\u00F6", 0, 4),
Among(u"\u00FC", 0, 5)
]
a_1 = [
Among(u"e", -1, 2),
Among(u"em", -1, 1),
Among(u"en", -1, 2),
Among(u"ern", -1, 1),
Among(u"er", -1, 1),
Among(u"s", -1, 3),
Among(u"es", 5, 2)
]
a_2 = [
Among(u"en", -1, 1),
Among(u"er", -1, 1),
Among(u"st", -1, 2),
Among(u"est", 2, 1)
]
a_3 = [
Among(u"ig", -1, 1),
Among(u"lich", -1, 1)
Among(u"imento", -1, 6),
Among(u"ivo", -1, 9),
Among(u"it\u00E0", -1, 8),
Among(u"ist\u00E0", -1, 1),
Among(u"ist\u00E8", -1, 1),
Among(u"ist\u00EC", -1, 1)
]
a_7 = [
Among(u"isca", -1, 1),
Among(u"enda", -1, 1),
Among(u"ata", -1, 1),
Among(u"ita", -1, 1),
Among(u"uta", -1, 1),
Among(u"ava", -1, 1),
Among(u"eva", -1, 1),
Among(u"iva", -1, 1),
Among(u"erebbe", -1, 1),
Among(u"irebbe", -1, 1),
Among(u"isce", -1, 1),
Among(u"ende", -1, 1),
Among(u"are", -1, 1),
Among(u"ere", -1, 1),
Among(u"ire", -1, 1),
Among(u"asse", -1, 1),
Among(u"ate", -1, 1),
Among(u"avate", 16, 1),
Among(u"evate", 16, 1),
Among(u"ivate", 16, 1),
Among(u"ete", -1, 1),
Among(u"erete", 20, 1),
Among(u"irete", 20, 1),
serialVersionUID = 1
a_0 = [
Among(u"", -1, 6),
Among(u"\u00E1", 0, 1),
Among(u"\u00E9", 0, 2),
Among(u"\u00ED", 0, 3),
Among(u"\u00F3", 0, 4),
Among(u"\u00FA", 0, 5)
]
a_1 = [
Among(u"la", -1, -1),
Among(u"sela", 0, -1),
Among(u"le", -1, -1),
Among(u"me", -1, -1),
Among(u"se", -1, -1),
Among(u"lo", -1, -1),
Among(u"selo", 5, -1),
Among(u"las", -1, -1),
Among(u"selas", 7, -1),
Among(u"les", -1, -1),
Among(u"los", -1, -1),
Among(u"selos", 10, -1),
Among(u"nos", -1, -1)
]
a_2 = [
Among(u"ando", -1, 6),
Among(u"iendo", -1, 6),
Among(u"yendo", -1, 7),
Among(u"\u00E1ndo", -1, 2),
a_1 = [
Among(u"", -1, 3),
Among(u"a~", 0, 1),
Among(u"o~", 0, 2)
]
a_2 = [
Among(u"ic", -1, -1),
Among(u"ad", -1, -1),
Among(u"os", -1, -1),
Among(u"iv", -1, 1)
]
a_3 = [
Among(u"ante", -1, 1),
Among(u"avel", -1, 1),
Among(u"\u00EDvel", -1, 1)
]
a_4 = [
Among(u"ic", -1, 1),
Among(u"abil", -1, 1),
Among(u"iv", -1, 1)
]
a_5 = [
Among(u"ica", -1, 1),
Among(u"\u00E2ncia", -1, 1),
Among(u"\u00EAncia", -1, 4),
Among(u"ira", -1, 9),
Among(u"adora", -1, 1),
Among(u"osa", -1, 1),
a_1 = [
Among(u"dt", -1, -1),
Among(u"vt", -1, -1)
]
a_2 = [
Among(u"leg", -1, 1),
Among(u"eleg", 0, 1),
Among(u"ig", -1, 1),
Among(u"eig", 2, 1),
Among(u"lig", 2, 1),
Among(u"elig", 4, 1),
Among(u"els", -1, 1),
Among(u"lov", -1, 1),
Among(u"elov", 7, 1),
Among(u"slov", 7, 1),
Among(u"hetslov", 9, 1)
]
g_v = [17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 128]
g_s_ending = [119, 125, 149, 1]
I_x = 0
I_p1 = 0
def copy_from(self, other):
self.I_x = other.I_x
self.I_p1 = other.I_p1
super.copy_from(other)
Among(u"ivitati", -1, 3),
Among(u"icivi", -1, 4),
Among(u"ativi", -1, 5),
Among(u"itivi", -1, 6),
Among(u"icit\u0103i", -1, 4),
Among(u"abilit\u0103i", -1, 1),
Among(u"ivit\u0103i", -1, 3),
Among(u"icit\u0103\u0163i", -1, 4),
Among(u"abilit\u0103\u0163i", -1, 1),
Among(u"ivit\u0103\u0163i", -1, 3),
Among(u"ical", -1, 4),
Among(u"ator", -1, 5),
Among(u"icator", 35, 4),
Among(u"itor", -1, 6),
Among(u"\u0103tor", -1, 5),
Among(u"iciv", -1, 4),
Among(u"ativ", -1, 5),
Among(u"itiv", -1, 6),
Among(u"ical\u0103", -1, 4),
Among(u"iciv\u0103", -1, 4),
Among(u"ativ\u0103", -1, 5),
Among(u"itiv\u0103", -1, 6)
]
a_3 = [
Among(u"ica", -1, 1),
Among(u"abila", -1, 1),
Among(u"ibila", -1, 1),
Among(u"oasa", -1, 1),
Among(u"ata", -1, 1),
Among(u"ita", -1, 1),
Among(u"anta", -1, 1),
a_4 = [
Among(u"nsa", -1, 3),
Among(u"mme", -1, 3),
Among(u"nne", -1, 3),
Among(u"ni", -1, 2),
Among(u"si", -1, 1),
Among(u"an", -1, 4),
Among(u"en", -1, 6),
Among(u"\u00E4n", -1, 5),
Among(u"ns\u00E4", -1, 3)
]
a_5 = [
Among(u"aa", -1, -1),
Among(u"ee", -1, -1),
Among(u"ii", -1, -1),
Among(u"oo", -1, -1),
Among(u"uu", -1, -1),
Among(u"\u00E4\u00E4", -1, -1),
Among(u"\u00F6\u00F6", -1, -1)
]
a_6 = [
Among(u"a", -1, 8),
Among(u"lla", 0, -1),
Among(u"na", 0, -1),
Among(u"ssa", 0, -1),
Among(u"ta", 0, -1),
Among(u"lta", 4, -1),
Among(u"sta", 4, -1),
Among(u"tta", 4, 9),
Among(u"lle", -1, -1),
Among(u"lt\u00E4", 26, -1),
Among(u"st\u00E4", 26, -1),
Among(u"tt\u00E4", 26, 9)
]
a_7 = [
Among(u"eja", -1, -1),
Among(u"mma", -1, 1),
Among(u"imma", 1, -1),
Among(u"mpa", -1, 1),
Among(u"impa", 3, -1),
Among(u"mmi", -1, 1),
Among(u"immi", 5, -1),
Among(u"mpi", -1, 1),
Among(u"impi", 7, -1),
Among(u"ej\u00E4", -1, -1),
Among(u"mm\u00E4", -1, 1),
Among(u"imm\u00E4", 10, -1),
Among(u"mp\u00E4", -1, 1),
Among(u"imp\u00E4", 12, -1)
]
a_8 = [
Among(u"i", -1, -1),
Among(u"j", -1, -1)
]
a_9 = [
Among(u"mma", -1, 1),
Among(u"imma", 0, -1)
]
from .basestemmer import BaseStemmer
from .among import Among
class FinnishStemmer(BaseStemmer):
'''
self class was automatically generated by a Snowball to Python interpreter
It implements the stemming algorithm defined by a snowball script.
'''
serialVersionUID = 1
a_0 = [
Among(u"pa", -1, 1),
Among(u"sti", -1, 2),
Among(u"kaan", -1, 1),
Among(u"han", -1, 1),
Among(u"kin", -1, 1),
Among(u"h\u00E4n", -1, 1),
Among(u"k\u00E4\u00E4n", -1, 1),
Among(u"ko", -1, 1),
Among(u"p\u00E4", -1, 1),
Among(u"k\u00F6", -1, 1)
]
a_1 = [
Among(u"lla", -1, -1),
Among(u"na", -1, -1),
Among(u"ssa", -1, -1),
Among(u"ta", -1, -1),
Among(u"lta", 3, -1),
Among(u"sta", 3, -1)
]
Among(u"cele", 6, -1),
Among(u"gliele", 6, -1),
Among(u"mele", 6, -1),
Among(u"tele", 6, -1),
Among(u"vele", 6, -1),
Among(u"ne", -1, -1),
Among(u"cene", 12, -1),
Among(u"gliene", 12, -1),
Among(u"mene", 12, -1),
Among(u"sene", 12, -1),
Among(u"tene", 12, -1),
Among(u"vene", 12, -1),
Among(u"ci", -1, -1),
Among(u"li", -1, -1),
Among(u"celi", 20, -1),
Among(u"glieli", 20, -1),
Among(u"meli", 20, -1),
Among(u"teli", 20, -1),
Among(u"veli", 20, -1),
Among(u"gli", 20, -1),
Among(u"mi", -1, -1),
Among(u"si", -1, -1),
Among(u"ti", -1, -1),
Among(u"vi", -1, -1),
Among(u"lo", -1, -1),
Among(u"celo", 31, -1),
Among(u"glielo", 31, -1),
Among(u"melo", 31, -1),
Among(u"telo", 31, -1),
Among(u"velo", 31, -1)
]