Monotone Arbeit nervt!
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.
 
 
 
 
 
 

18 lines
467 B

from updateDatabase import *
print('Init Pluriton..')
pluriDBupdater = PluritonUpdater()
print('done')
print('creaing hklDB from the Translations..')
pluriDBupdater.create_hklDB_from_csv('Translations.txt')
print('done')
print('generating BOW models..')
pluriDBupdater.load_DB_into_FASTsearch_and_generate_BOW()
print('done')
#pluriDBupdater.loadModels()
#einfach, schwer = pluriDBupdater.searchNearest2Translate('Die Maschinen besser')
#print('Schwer', schwer)