Giter Site home page Giter Site logo

tense-converter's Introduction

Tense-Converter

A simple web page which makes use of compromise.js

What can we do here?

Convert a given sentence to it's past present and future tense.

The accuracy isn't 100%, few issues with the continuous form of verbs.


Libraries used

Compromise.js

require.js

Browserify

Issues

This is not particularly an issue, maybe a bad practice or method. The file bundle.js was created because I was not able to use the "require" keyword in my script, in order to use "Compromise", hence I did some googling, and used browserify, it created a file with 15k lines of code, which had basically every function of compromise I guess, hence, I am wondering if there is a better way to solve that "require" problem, instead of bundling a file with 15k lines of code. :)) hope I explained it well?

tense-converter's People

Contributors

abcdeepakr avatar

Watchers

 avatar  avatar

tense-converter's Issues

Bundle.js file size it too large, because of Browserify

I was not able to use the require function, so I did some googling and saw that we can bundle our javascript file with Browserify I did that and saw that it created a file with all the "compromise.js" library functions, The require function is working, the only problem is that, after bundling the new file has 15k lines of code, which I guess is unncecessat, since we have CDN's and all now.

##So can anyone find any other way to use the require function without the use of browserify, or just reduce the file size.

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.