Prohibit.txt not working in French

Hello,

A vanilla standalone LT download has a few entries in prohibit.txt in French, but they do not seem to be taken into account. For instance, the sentence “Des échanges socioculturels.” does not trigger any error, while “socioculturels” is in the file.

Adding entries in prohibit.txt or prohibit_custom.txt works fine in English and German when I try it. Is it supposed to work in French?

Yes, it should work. Seems like to broke with this commit. @jaumeortola, maybe you have an idea for a quick fix?

I think we can revert the change in MorfologikSpellerRule.java. I will do it when the tests are complete.

On the other hand, there is no reason to add “socioculturels” to prohibit.txt because it is a correct word, right?

Done here: [fr] prohibit.txt, improve SOCIOCULTUREL · languagetool-org/languagetool@c94f5df · GitHub

I used “socioculturels” as an example as it was in the file already, but I intend to add my own words.

Thanks a lot!