class_docstr: Base class for objects that correct words in a user query.
class_docstr_tok: ["Base","class","for","objects","that","correct","words","in","a","user","query","."]
code: def __init__(self, fieldname):
      self.fieldname = fieldname
  
imports: from bisect import bisect_left
  from heapq import heappush, heapreplace
  from whoosh import highlight
  from whoosh.compat import iteritems, xrange
label_desc: Use image node_id 1 to create a new QueryCorrector object from inherited base classes: object with example: obj = QueryCorrector(fieldname)