Created
February 17, 2015 21:23
-
-
Save cardoni/abaff36456df87c9a235 to your computer and use it in GitHub Desktop.
wordpos module examples (https://github.com/moos/wordpos)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wordpos.getNouns( 'The angry bear chased the frightened little squirrel.', console.log ); | |
| // Output: | |
| [ 'bear', 'squirrel', 'little', 'chased' ] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More about parsing nouns here: http://cardoni.net/parsing-proper-nouns-with-regex/