Suggestion |
The SuggestionOptions type exposes the following members.
| Name | Description | |
|---|---|---|
| DeltaLength | The maximum difference in length between the original input and a suggestion. Default is 3. | |
| Limit | The maximum number of suggestion to return. Default is 5. | |
| MaxLevenshteinDistance | The maximum Levenshtein distance between the original input and a suggestion. Default is 4. | |
| RejectQueueLength | Rejected words are matches that are not better than those already in the match queue. They are put in a rejected queue that gets reset in case one actually can go in the match queue. This option defines the size of the rejected queue (as reject*max(max_matched,limit)). If the rejected queue is filled, the engine stops looking for potential matches. | |
| ReturnStatistics | Whether to return statistics for a suggestions. Default is true. |