|
|
|
|
|
by turtleherder
4362 days ago
|
|
Totally. It takes about 30-40 milliseconds on a typical news page, and that's after I added a pretty hacky series of brute-force regexps in a panic after I realized that I had been assuming that disrupt is always a transitive verb, but it's increasingly used intransitively these days, especially in the kinds of articles this plugin is meant for. So the translation, ('We disrupted that industry' => 'We rained bullshit on that industry'), was rendering badly when the verb was used intransitively ('We can't disrupt on our own' => 'We can't rain bullshit on on our own'). The regexps I added have mostly taken care of the problem for the time being, as Chrome auto-updates its extensions in users' browsers. Now the latter sentence above renders 'We can't bullshit on our own.' Once I reintegrate the new rules into the generalized verb creation function this weekend, it should be a little faster. |
|