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.
 
 
 
 
 
 

17 lines
339 B

from GenitivSolve import *
from oi import *
oi = oi()
sentences = oi.ReadDoc2Sent('test1')
#sentences = [['Der', 'Hund', 'der', 'Frau', 'freute', 'sich'], ['Es', 'war', 'das', 'Haus', 'des', 'Nachbars', 'welches', 'brannte']]
gs = GenitivSolve()
output = gs.ReplaceGenitivWithDativ(sentences)
print('out of genitivsolve ',output)