News for hackers. Stuff that matters.
Re:Show HN: Browser plugin that turns 'disrupt' into 'bullshit' by yellowapple on Thursday July 03, 2014 @01:33PM (#7984485)
We need to start working toward a generic plugin for word replacement so that I can merge this with my existing s/cloud/butt and s/keyboard/leopard substitutions.
Re:Show HN: Browser plugin that turns 'disrupt' into 'bullshit' by turtleherder on Thursday July 03, 2014 @01:58PM (#7984617)
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.