Skip to content

Commit 31ba9c9

Browse files
author
Hämäläinen, Mika K
committed
fixed tests
1 parent 9fb2468 commit 31ba9c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

travis_test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
#encoding: utf-8
22
import unittest
3+
from uralicNLP import uralicApi
4+
if not uralicApi.is_language_installed("fin"):
5+
uralicApi.download("fin",show_progress=False)
36
from syntaxmaker.syntax_maker import *
47
import codecs
58
import copy
69

10+
711
class TestFSTS(unittest.TestCase):
812

913
def setUp(self):
14+
1015
vp = create_verb_pharse("uneksia")
1116
subject = create_phrase("NP", "rantaleijona", {u"PERS": "3", u"NUM": "PL"})
1217
dobject = create_phrase("NP", "aalto", {u"PERS": "3", u"NUM": "PL"})

0 commit comments

Comments
 (0)