Search on legal documents using Tensorflow and a web_actix web interface
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.
 
 
 
 
 
 

16 lines
322 B

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)