From 73a8d852fbb4601139e67407ca407ff850b5116e Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Thu, 17 Oct 2024 08:20:52 -0700 Subject: [PATCH] Fix problem that suppressed homographs --- src/SIL.Machine.Morphology.HermitCrab/Morpher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs b/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs index c6c58a91..1638941a 100644 --- a/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs +++ b/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs @@ -364,9 +364,9 @@ private IEnumerable LexicalGuess(Word input) _traceManager.LexicalLookup(input.Stratum, input); CharacterDefinitionTable table = input.Stratum.CharacterDefinitionTable; IEnumerable shapeNodes = input.Shape.GetNodes(input.Range); - HashSet shapeSet = new HashSet(); foreach (RootAllomorph lexicalPattern in _lexicalPatterns) { + HashSet shapeSet = new HashSet(); IEnumerable shapePattern = lexicalPattern.Segments.Shape.GetNodes( lexicalPattern.Segments.Shape.Range );