CorrectWord Method (String, Int32)

Stot

Stot

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

The Correcter Corrects the specified word using the Set dictionary

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

Syntax


public List<string> CorrectWord(
	string word,
	int top
)
Public Function CorrectWord ( _
	word As String, _
	top As Integer _
) As List(Of String)
public:
List<String^>^ CorrectWord(
	String^ word, 
	int^ top
)

Parameters

word
Type: String
The word to be corrected.
top
Type: Int32
The max number of corrections to be suggested.

Return Value

A list containing the specified number of suggestions correcting the specified word.