fromgroupdocs.search.optionsimportStep,TableDiscreteFunction# Define a step function for fuzzy search:# First step applies to words of length >= 5 with level 2,# second step applies to words of length >= 8 with level 3.fuzzy_algo=TableDiscreteFunction(1,[Step(5,2),Step(8,3)])