bperel / wiper

Contribute to Wikipedia by accepting or refusing spelling and grammar suggestions
https://tools.wmflabs.org/wiper
GNU General Public License v3.0
3 stars 0 forks source link

Suggestion error (space before comma) for baseball players (in french) #8

Open doplu opened 4 years ago

doplu commented 4 years ago

Hello, I noticed that the suggestion is always wrong for Baseball players : "Insérez une espace après la virgule et non avant" https://ibb.co/R7dPjw3 https://fr.wikipedia.org/wiki/Jorge%20Soler

Thanks in advance ;)

bperel commented 4 years ago

I'm not sure how this false suggestion could be prevented : the syntax with the comma is specific to baseball, in all other cases the suggestion is correct ; and Wiper doesn't have a way to know that in this particular case the sentence is about baseball.

doplu commented 4 years ago

Ok Thanks. Does Wiper can exclude some article's categories (or does it just takes some random sentences and try to find an error)?

bperel commented 4 years ago

Missed your comment, sorry about that. Wiper currently doesn't care about the article's categories. The only thing that is filtered out is articles not belonging to the main namespace (so for instance discussion pages and user pages are ignored).

I'm not sure if it would be worth it to ignore articles based on their categories : once again, we face the issue of also ignoring potential real positives : if I have this sentence : image I would still want the 1st mistake to be found.

The ideal solution would be if there was a special markup in wiki to indicate these baseball points ; then wiper can easily detect if the text is within this markup and ignore it like it does for foreign-language texts.

doplu commented 4 years ago

Thanks for your explanations. ;) In that case is excluding "{{Portail|baseball|Cuba}}" (taken from the wikipedia page code https://fr.wikipedia.org/wiki/Jorge_Soler?veaction=editsource) or just "{{Portail|baseball|}" would do the trick ? I agree that it would alas miss real positive errors. False positives could really be hard to solve with (automatic or) semi-automatic tools ! See you ;) ps: see image https://ibb.co/GcdwnTV