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

4 years ago
  1. from GenitivSolve import *
  2. from oi import *
  3. oi = oi()
  4. sentences = oi.ReadDoc2Sent('test1')
  5. #sentences = [['Der', 'Hund', 'der', 'Frau', 'freute', 'sich'], ['Es', 'war', 'das', 'Haus', 'des', 'Nachbars', 'welches', 'brannte']]
  6. gs = GenitivSolve()
  7. output = gs.ReplaceGenitivWithDativ(sentences)
  8. print('out of genitivsolve ',output)