-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fr] ETRE_VPPA_OU_ADJ_fix #9451
Conversation
@@ -82270,7 +82292,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | |||
<exception postag="V.* ppa [fe] .*|J [fe] .*|V ppa m sp" postag_regexp="yes"/></token> | |||
</marker> | |||
</pattern> | |||
<message>Le mot masculin « \7 » n’est pas accordé en genre avec le mot féminin « \2 ».</message> | |||
<message>Vérifiez l'accord en genre et en nombre de « \7 », le féminin semble plus probable.</message> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« \2 » is in min="0", so in some sentences we had an empty « »
@@ -82250,6 +82262,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | |||
<token min="0" max="4" postag="A"/> | |||
<token postag="(V ppa|J) m .*" postag_regexp="yes"/> | |||
</antipattern> | |||
<antipattern> | |||
<token postag="UNKNOWN"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only difference from the pattern is the UNKNOWN tag, with this change, we will prevent the rule from triggering when the gender of the token is also unknown.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🥜
To address: https://github.com/languagetooler-gmbh/languagetool-premium/issues/6459