/word_embedding

Computing the Word Mover’s Distance between sentences

Primary LanguagePython

Backend web app

Host requirements

  • Python 3.6+
  • Redis must be up and running (port 6379)
  • rename config.py.template to config.py and fill-up missing values
  • download and extract pretrained model GoogleNews-vectors-negative300.bin

Installation

$ pip install -r requirements.txt

Project bootstrap

$ python manager.py db upgrade

Run server

$ python manager.py

$ celery worker -A backend.celery --loglevel=info

Frontend web app

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Customize configuration

See Configuration Reference.