TrieWord Method (String, Int32)

Stot

Stot

Semanter..::..TrieWord Method (String, Int32)

Adds the word to the Suggestions trie. A data structure containing all the Suggestions as values, under their Trie as key e.g Tomiwa is a value under T, To, Tom, Tomi, Tomiw, and Tomiwa e.t.c

Namespace:  Engine
Assembly:  Engine (in Engine.dll)

Syntax


public void TrieWord(
	string word,
	int weight
)
Public Sub TrieWord ( _
	word As String, _
	weight As Integer _
)
public:
void TrieWord(
	String^ word, 
	int^ weight
)

Parameters

word
Type: String
The word to be trie'ed.
weight
Type: Int32
The weight of this word.