class_docstr: Search for keywords in text documents
docstr: ```
  Args:
    queries(list of str): list of chinese text queries
    lang(str): language of queries.  default:None --> auto-detected
  ```
docstr_tok: ["``","`","Args",":","queries","(","list","of","str",")",":","list","of","chinese","text","queries","lang","(","str",")",":","language","of","queries",".","default",":","None","--",">","auto-detected","``","`"]
code: def __init__(self, queries, lang=None):
      """
      ```
      Args:
        queries(list of str): list of chinese text queries
        lang(str): language of queries.  default:None --> auto-detected
      ```
      """
      self.queries = queries
      if isinstance(self.queries, str):
          self.queries = [self.queries]
      self.lang = lang
      if self.lang is None:
          self.lang = U.detect_lang(queries)
  
file_path: ktrain/ktrain/text/shallownlp/searcher.py
imports: from .None import utils
  from .imports import *
label_desc: Use image node_id 1 to create a new Searcher object  with example: obj = Searcher(queries, lang)