Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement shrinkWords #20

Open
dalmaer opened this issue Dec 29, 2010 · 1 comment
Open

Implement shrinkWords #20

dalmaer opened this issue Dec 29, 2010 · 1 comment
Labels

Comments

@dalmaer
Copy link
Member

dalmaer commented Dec 29, 2010

The shrinkWords action takes the text and does what it can to shrink it for you. E.g. s/and/&/g.

@ewpreston
Copy link
Contributor

Have this basically implemented. Using an array to store regex/shortcut objects for each word/phrase we want to support. If you can regex it you can shrink it. Presumes space on each end to delimit word. May want to support punctuation at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants