|
|
-
- from SayYes import *
-
- from oi import *
-
-
-
- sy = SayYes(None, None)
-
- #sy.create_hklDB_from_csv('Gegenwoerter.csv')
-
- #print(sy.hkldbOpposites1)
-
- sy.load_DB_into_FASTsearch()
-
- oi = oi()
-
- sentences = oi.ReadDoc2Sent('test1')
-
- #sentences = [['Er', 'war', 'wirklich', 'nicht', 'schn'],['Sie', 'ist', 'keine', 'hliche', 'Frau'],['Er', 'ging', 'nicht', 'langsam']]
-
-
- print(sy.replaceOpposites(sentences))
|