コード例 #1
0
ファイル: test_synthesize.py プロジェクト: estnltk/pyvabamorf
 def test_pood(self):
     words = synthesize('pood', form='sg p', partofspeech='S', phonetic=False)
     self.assertListEqual(words, ['poodi'])
コード例 #2
0
ファイル: test_synthesize.py プロジェクト: estnltk/pyvabamorf
 def test_palk(self):
     words = synthesize('palk', form='sg kom', phonetic=False, guess=False)
     self.assertListEqual(words, ['palgaga', 'palgiga'])
コード例 #3
0
ファイル: test_synthesize.py プロジェクト: estnltk/pyvabamorf
 def test_palk2(self):
     words = synthesize('palk', form='sg kom', hint='palga', phonetic=False)
     self.assertListEqual(words, ['palgaga'])
コード例 #4
0
ファイル: test_synthesize.py プロジェクト: estnltk/pyvabamorf
 def test_pooma(self):
     words = synthesize('pooma', form='ti', partofspeech='V', phonetic=False)
     self.assertListEqual(words, ['poodi'])
コード例 #5
0
ファイル: test_synthesize.py プロジェクト: estnltk/pyvabamorf
 def test_kaitse(self):
     words = synthesize('kaitse', form='sg g', phonetic=False)
     self.assertListEqual(words, ['kaitse', 'kaitsme'])
コード例 #6
0
 def test_pood(self):
     words = synthesize("pood", form="sg p", partofspeech="S", phonetic=False)
     self.assertListEqual(words, ["poodi"])
コード例 #7
0
 def test_palk2(self):
     words = synthesize("palk", form="sg kom", hint="palga", phonetic=False)
     self.assertListEqual(words, ["palgaga"])
コード例 #8
0
 def test_palk(self):
     words = synthesize("palk", form="sg kom", phonetic=False, guess=False)
     self.assertListEqual(words, ["palgaga", "palgiga"])
コード例 #9
0
 def test_kaitse(self):
     words = synthesize("kaitse", form="sg g", phonetic=False)
     self.assertListEqual(words, ["kaitse", "kaitsme"])
コード例 #10
0
 def test_pooma(self):
     words = synthesize("pooma", form="ti", partofspeech="V", phonetic=False)
     self.assertListEqual(words, ["poodi"])