public void CharacterTyped(char character) { if (Trie.IsWordSeparator(character)) { this.WordTyped(); return; } this.currentWord += character; if (this.currentSubTrie != null) { this.currentSubTrie = this.currentSubTrie.GetSubTrie(character); } else { this.isUnknownWord = true; } }
public bool IsWordSeparator(char character) { return(Trie.IsWordSeparator(character)); }
public bool ValidCharacter(char character) { return(Trie.IsLatinLetter(character) || Trie.IsWordSeparator(character)); }