Skip to content
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

Merged
merged 1 commit into from
Oct 9, 2023
Merged

[fr] ETRE_VPPA_OU_ADJ_fix #9451

merged 1 commit into from
Oct 9, 2023

Conversation

GillouLT
Copy link
Collaborator

@GillouLT GillouLT commented Oct 9, 2023

@@ -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>
Copy link
Collaborator Author

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"/>
Copy link
Collaborator Author

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.

Copy link
Collaborator

@LucieSteib LucieSteib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🥜

@LucieSteib LucieSteib merged commit 4bf26a0 into master Oct 9, 2023
2 checks passed
@GillouLT GillouLT deleted the ETRE_VPPA_OU_ADJ_fix branch October 11, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants