Git Product home page Git Product logo

normalizer's People

Contributors

davidkaneda avatar dcharbonnier avatar nicolassharp avatar silentrob avatar zirkonit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

normalizer's Issues

Sequential Regex not getting applied correctly

Hey,

I wanted to understand the reasoning for which "+" was added between words. The "readme" mentions that it was done so that the "idiom" processor does not remove them. Why do we need this behaviour? It makes the sequential application of regex improper for some cases. Ex. We were excepting to normalize "I don't think so" to "~no" but because of "+", the sentence gets converted to "i do+not think so" and then the idiom processor fails.

How can we solve this?

Support multiple languages.

Hi,

I'm wondering if it would be possible to support multiple languages here (and in the other parts of the bot, like QTypes.) of if this implementation only focuses on american english?

I think supporting various languages would cause a lot of problems (different grammar, different semantic types, translation needed to use ConceptNet...) but would also add a lot of value to the library. There are a lot of people out there who a not native english speakers ;)

Remove RE2 dep

RE2 dep breaks the ability to run in non-node environments (like the browser).

Tests pass just fine with using normal RegExp objects. I have the code - would you accept a PR?

Normalizer Usage

Hey,

Just wondering if you could provide a usage example / sample code for Normalizer?

Cheers.

Documentation?

So I have installed the package via npm, so how do I normalize text?

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.