The following code demonstrates a NullReferenceException when invoking CommitStaged:
public void SymSpellTest()
{
// Demonstrates a problem in SymSpell.
var spell = new SymSpell();
var stage = new SymSpell.SuggestionStage(10);
spell.CreateDictionaryEntry("word", 10, stage);
spell.CommitStaged(stage); // this causes a NullReferenceException
}
I have been having trouble figuring this out. I apologize for not debugging further.
The following code demonstrates a NullReferenceException when invoking CommitStaged:
I have been having trouble figuring this out. I apologize for not debugging further.