class_docstr: Search for keywords in text documents
docstr: convenience method to search chinese text
docstr_tok: ["convenience","method","to","search","chinese","text"]
code: def _search_chinese(
      self,
      query,
      docs,
      substrings_on=True,
      parse=1,
      min_matches=1,
      progress=False,
  ):
      """
      convenience method to search chinese text
      """
      original_query = query
      if not isinstance(query, str):
          raise ValueError("query must be str")
      if parse > 0:
          q = U.split_chinese(query)[0]
          num_words = len(q.split())
          query = build_ngrams(q, n=parse)
          query = ["".join(q) for q in query]
      return self._search(
          query, docs, substrings_on=substrings_on, progress=progress
      )
  
file_path: ktrain/ktrain/text/shallownlp/searcher.py
imports: from .None import utils
  from .imports import *
label_desc: Use image node_id 4 for calling the Searcher obj's underlying member method code with example usage: obj._search_chinese(query, docs, substrings_on, parse, min_matches, progress) and returns: self