Skip to content

Commit

Permalink
adding few more words; updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
reZach committed May 8, 2018
1 parent 50bcaa0 commit 91695cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ function Grammarify_SMS(){

// I
"idk": "I don't know",
"im": "I'm",

// J
"jude": "Jude", // how to expand this to all proper nouns??
Expand Down Expand Up @@ -521,7 +522,7 @@ function Grammarify_Disconnected(){
// S

// T
"today"
"today",

// U

Expand All @@ -532,6 +533,7 @@ function Grammarify_Disconnected(){
// X

// Y
"yourself"

// Z
];
Expand Down
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Grammarify is a npm package that safely cleans up text that has mispellings, imp
```
var grammarify = require("grammarify");
var sentence = "I'm so borrreeedddd";
var sentence = "im so borrreeedddd";
console.log(grammarify.clean(sentence)); // "I'm so bored."
```
---
Expand Down Expand Up @@ -63,6 +63,11 @@ _(Intended ellipsis are any two or more periods separated by any number of perio
```
"She likes to eat,cook,clean and dance!" -> "She likes to eat, cook, clean and dance!"
```

##### Fix extra spaces in between words
```
"Wow what an extra long coat!" -> "Wow what an extra long coat!"
```
---

## Bugs or suggestions?
Expand Down

0 comments on commit 91695cc

Please sign in to comment.