Constructor LevenshteinAutomata
LevenshteinAutomata(String, Boolean)
Create a new LevenshteinAutomata for some input
string.
Optionally count transpositions as a primitive edit.
Declaration
public LevenshteinAutomata(string input, bool withTranspositions)
Parameters
Type | Name | Description |
---|---|---|
System.String | input | |
System.Boolean | withTranspositions |
LevenshteinAutomata(Int32[], Int32, Boolean)
Expert: specify a custom maximum possible symbol (alphaMax); default is MAX_CODE_POINT.
Declaration
public LevenshteinAutomata(int[] word, int alphaMax, bool withTranspositions)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | word | |
System.Int32 | alphaMax | |
System.Boolean | withTranspositions |