

def _words(self, ixreader):
    text = self.text
    minsim = self.minsimilarity
    for term in ixreader.expand_prefix(self.fieldname, text[:self.prefixlength]):
        if (text == term):
            (yield term)
        elif (relative(text, term) > minsim):
            (yield term)

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py FuzzyTerm._words/original