getFuzzyAutomaton
fun getFuzzyAutomaton(term: String, maxEdits: Int, prefixLength: Int, transpositions: Boolean): CompiledAutomaton
Returns the CompiledAutomaton internally used by FuzzyQuery to match terms. This is a very low-level method and may no longer exist in case the implementation of fuzzy-matching changes in the future.
Return
A CompiledAutomaton that matches terms that satisfy input parameters.