17 lines
322 B
Python
17 lines
322 B
Python
|
from updateDatabase import *
|
||
|
|
||
|
|
||
|
pluriDBupdater = PluritonUpdater()
|
||
|
|
||
|
|
||
|
pluriDBupdater.create_hklDB_from_csv('Translations.txt')
|
||
|
|
||
|
pluriDBupdater.load_DB_into_FASTsearch_and_generate_BOW()
|
||
|
|
||
|
#pluriDBupdater.loadModels()
|
||
|
|
||
|
einfach, schwer = pluriDBupdater.searchNearest2Translate('Die Maschinen besser')
|
||
|
|
||
|
print('Schwer', schwer)
|
||
|
|