--- Comment #8 from David Chan <> ---
(2) is correct. Your method is more precise and works for more languages.
However the old method is faster[*], and completely reliable if it returns
false. Therefore we should do the following pseudo-code:

function detectTofu ( text ) {
    maybeTofu = <old technique>;
    if ( maybeTofu ) {
        isTofu = <new technique>;
    } else {
        isTofu = false;
    return isTofu;

[*] I *presume* the old method is faster, but I have not actually tested this.
Feel free to do so and to post actual numbers here!

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to