PluriTon/build/tfgpu-pluriton/test_runwithgen.py
2021-10-18 18:22:03 +02:00

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