docstr: find minimum Bound for match_word
docstr_tok: ["find","minimum","Bound","for","match_word"]
code: def find_min_bound(self, match_info, query):
      """
      find minimum Bound for match_word
      """
      end_index, (match_word, pos, wordfreq) = match_info
      start_index = end_index - len(match_word) + 1
  
      bound = Bound(start_index=start_index, end_index=end_index)
  
      # find left bound
      query_len = 0
      for word_index, word in enumerate(query.seg_query_list):
          query_len += len(word)
          if query_len > start_index:
              bound.left_bound = word_index
              bound.left_char_bound = query_len - len(word)
              break
      # find right bound
      query_len = 0
      for word_index, word in enumerate(query.seg_query_list):
          query_len += len(word)
          if query_len > end_index:
              bound.right_bound = word_index
              bound.right_char_bound = query_len - 1
              break
      return bound
  
imports: import io
  import numpy
  import six
label_desc: Use image node_id 4 for calling the Interventer obj's underlying member method code with example usage: obj.find_min_bound(match_info, query) and returns: bound