GithubHelp home page GithubHelp logo

indigos33k3r / tenseflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bendichter/tenseflow

0.0 0.0 0.0 101 KB

Change the tense of any text

License: MIT License

Python 12.19% Jupyter Notebook 83.99% JavaScript 0.11% HTML 3.72%

tenseflow's Introduction

tenseflow

tenseflow automatically changes the tense of any English text.

Features

  • change to 'past', 'present', or 'future' tense
  • includes web app

Installation

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

Usage

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

Testing

Build Status

To test, run pytest from within the tenseflow directory

Notes

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!

tenseflow's People

Contributors

bendichter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.