프로퍼티 | 타입 | 설명 | |
---|---|---|---|
root |
메소드 | 설명 | |
---|---|---|
AddWord ( String word ) : void |
Append word to the prefix tree
|
|
GetNode ( String argString ) : |
Get node for given word or prefix
|
|
GetPrefix ( String prefix ) : |
Get node for given prefix if exists
|
|
GetWord ( String word ) : |
Get node for given word if exists
|
|
Trie ( ) : System |
Init empty prefix tree
|
|
Trie ( IEnumerable |
Init prefix tree for given lexicon
|
|
СontainsPrefix ( String prefix ) : bool |
Check if trie contains given prefix
|
|
СontainsWord ( String word ) : bool |
Check if trie contains given word
|
메소드 | 설명 | |
---|---|---|
Сontains ( String argString, bool word ) : bool |
Check if trie contains given word or prefix
|