|
|
-
- from ConjunctSolve import *
-
- from oi import *
-
- cs = ConjunctSolve(None,None)
-
-
-
- #cs.create_hklDB_from_csv('Indikativ_Conjunktiv.txt', None)
-
- #print(cs.hkldbIndi_Conju1)
-
- cs.load_DB_into_FASTsearch()
-
- oi = oi()
-
- sentences = oi.ReadDoc2Sent('test1')
-
- #sentences = [['Er', 'habe', 'es', 'nicht', 'schön'],['Sie', 'sei', 'gezeichnet', 'worden'],['Er', 'ging', 'nicht', 'langsam'],['Es', 'habe', 'sich', 'verheddert']]
-
-
- print(cs.replaceConjunctives(sentences))
|