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

  1. from updateDatabase import *
  2. pluriDBupdater = PluritonUpdater()
  3. pluriDBupdater.create_hklDB_from_csv('Translations.txt')
  4. pluriDBupdater.load_DB_into_FASTsearch_and_generate_BOW()
  5. #pluriDBupdater.loadModels()
  6. einfach, schwer = pluriDBupdater.searchNearest2Translate('Die Maschinen besser')
  7. print('Schwer', schwer)