If you search for "npm natural language processing", there are couple of packages that seem like should do that, but I never tried doing this in JavaScript, so can't speak of their quality.
-
-
-
Hmm I gave 'compromise' a go but it's not accurate enough :(
End of conversation
New conversation -
-
-
I've used nltk in the past, but it's written in python, maybe there is something similar.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
If you're running on a server you can use node to execute an external program that does what you need.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.