1.0.5 • Published 8 years ago

normalize-english v1.0.5

Weekly downloads
46
License
MIT
Repository
github
Last release
8 years ago

normalize-english

Normalize and clean English for chat-like applications

Installation

npm install normalize-english

Usage

import {clean} from 'normalize-english'
clean('THAT IS TREW') //-> 'that is true'

Based on @silentrob's https://www.npmjs.com/package/node-normalizer but with some key differences:

  • Data is obtained using require, so there is no async load step
  • No dependencies on the C++ "RE2" package, so it runs in the browser just fine
  • normalize-english performs case normalization
  • No ~ tokens are inserted - rather, normal english is inserted for replacements
1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago