Hacker News new | ask | show | jobs
by turtleherder 4375 days ago
Yes. I think it should consist of two independent modules. The first would be the basic mechanism for creating the plugin, walking the node, and doing the text conversion, which would just be a function you could pass in. Then it would have a build step to make Chrome and FireFox extensions.

Or maybe you would want to pass in a series of regexp replacement pairs there, but even that is too limiting, I think. You might want to do something based on information about the whole node, not just the regex

Then the second module would be the good-enough natural language processor. You'd have an API for nouns, one for verbs, etc.