Instead of looking for texts containing sentences that are close in meaning, V 1 of this app uses the small word2vec magnitude model and finds similarities separately for each word in the original sentence, composing new sentences from them.
- Make sure that you have Python 3, virtualenv, Node.js v8.15.1 and npm v5 or above installed.
- Run
git clone https://github.com/gooduling/samepoint.git
cd samepoint
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt
to install python dependencies. - Move to the client directory:
cd client
. - Run
npm install
in order to install frontend dependencies. - Run
npm run build
to generate the frontend code for serving by server. - Run
cd ..
python3 service.py
to run the python server - See the app on
http://localhost:8000