node-normalizer
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "node-normalizer", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Normalize and clean text", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Normalize, clean and fix text | ||
npm install node-normalize | ||
npm install node-normalizer | ||
@@ -26,2 +26,2 @@ The simple app processes input and tries to make it consumable for a bot. | ||
* xxx> means sentence then end stop | ||
* if you want to have the result NOT tokenized, put it in quotes | ||
* if you want to have the result NOT tokenized, put it in quotes |
@@ -63,2 +63,7 @@ | ||
it("Spell Fix 2 word combo", function() { | ||
norm.clean("hwo do you").should.eql("how do you"); | ||
norm.clean("hwo is you").should.eql("who is you"); | ||
}); | ||
it("Fix ASCII characters", function() { | ||
@@ -65,0 +70,0 @@ norm.clean("What’s up").should.eql("what is up"); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210844
203
27