class_docstr: :param statement_comparison_function: A comparison class.
      Defaults to ``LevenshteinDistance``.
  
  :param search_page_size:
      The maximum number of records to load into memory at a time when searching.
      Defaults to 1000
class_docstr_tok: [":","param","statement_comparison_function",":","A","comparison","class",".","Defaults","to","``","LevenshteinDistance","``",".",":","param","search_page_size",":","The","maximum","number","of","records","to","load","into","memory","at","a","time","when","searching",".","Defaults","to","1000"]
code: def __init__(self, chatbot, **kwargs):
      from chatterbot.comparisons import LevenshteinDistance
  
      self.chatbot = chatbot
  
      statement_comparison_function = kwargs.get(
          "statement_comparison_function", LevenshteinDistance
      )
  
      self.compare_statements = statement_comparison_function(
          language=self.chatbot.storage.tagger.language
      )
  
      self.search_page_size = kwargs.get("search_page_size", 1000)
  
label_desc: Use image node_id 1 to create a new IndexedTextSearch object  with example: obj = IndexedTextSearch(chatbot)