tenseflow automatically changes the tense of any English text.
- change to
'past'
,'present'
, or'future'
tense - includes web app
Unfortunately, the package is only compatible with python 2.
Install this package
git clone https://github.com/bendichter/tenseflow.git
cd tenseflow
pip install .
download default English SpaCy model
sudo python -m spacy download en
Basic usage
from tenseflow import change_tense
change_tense('I will go to the store.', 'past')
u'I went to the store.'
Run web app
export FLASK_APP=app.py
flask run
To test, run pytest
from within the tenseflow directory
Unfortunately, some of the dependencies in this project are only available in python2, so this project only works in python 2 with no plans to move to python 3. Sorry for the inconvenience!