

def __init__(self, fieldname, text, boost=1.0, minsimilarity=0.5, prefixlength=1):
    '\n        :param fieldname: The name of the field to search.\n        :param text: The text to search for.\n        :param boost: A boost factor to apply to scores of documents matching this\n            query.\n        :param minsimilarity: The minimum similarity ratio to match. 1.0 is\n            the maximum (an exact match to \'text\').\n        :param prefixlength: The matched terms must share this many initial\n            characters with \'text\'. For example, if text is "light" and\n            prefixlength is 2, then only terms starting with "li" are checked\n            for similarity.\n        '
    if (not text):
        raise QueryError('Fuzzy term is empty')
    self.fieldname = fieldname
    self.text = text
    self.boost = boost
    self.minsimilarity = text
    self.prefixlength = prefixlength

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py FuzzyTerm.__init__/VarMisuse@65/300 `minsimilarity`->`text`