Skip to content

Commit

Permalink
Required features on allomorphs should use subsumption
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyBlack authored and ddaspit committed Sep 19, 2023
1 parent 7bfeaf7 commit c347b6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ internal override bool IsWordValid(Morpher morpher, Word word)
if (!base.IsWordValid(morpher, word))
return false;

if (!RequiredSyntacticFeatureStruct.IsUnifiable(word.SyntacticFeatureStruct))
if (!RequiredSyntacticFeatureStruct.Subsumes(word.SyntacticFeatureStruct))
{
if (morpher.TraceManager.IsTracing)
morpher.TraceManager.Failed(morpher.Language, word, FailureReason.RequiredSyntacticFeatureStruct, this, RequiredSyntacticFeatureStruct);
Expand Down

0 comments on commit c347b6a

Please sign in to comment.