You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
459 B

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))