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 );