Constructor FSTCompletion
FSTCompletion(FST<Object>, Boolean, Boolean)
Constructs an FSTCompletion, specifying higherWeightsFirst and exactFirst.
Declaration
public FSTCompletion(FST<object> automaton, bool higherWeightsFirst, bool exactFirst)
Parameters
Type | Name | Description |
---|---|---|
FST<System.Object> | automaton | Automaton with completions. See FSTCompletionBuilder. |
System.Boolean | higherWeightsFirst | Return most popular suggestions first. This is the default
behavior for this implementation. Setting it to |
System.Boolean | exactFirst | Find and push an exact match to the first position of the result list if found. |
FSTCompletion(FST<Object>)
Defaults to higher weights first and exact first.
Declaration
public FSTCompletion(FST<object> automaton)
Parameters
Type | Name | Description |
---|---|---|
FST<System.Object> | automaton |