code: def find_word(ud_dataset, word) -> list:
      max_samples = 10
      i = 0
      sentences = []
      for s in ud_dataset:
          text_original = s.headers["text"]
          text = text_original.lower()
          if word in text:
              sentences.append(text_original)
              i += 1
          if i > max_samples:
              break
      return sentences
  
imports: import os
  from os.path import dirname, join
  import streamlit
  from underthesea.utils.col_dictionary import Dictionary
  from underthesea.file_utils import UNDERTHESEA_FOLDER
  from underthesea.utils.col_script import UDDataset
label_desc: Use image node_id 1 for calling a global function with example usage: find_word(ud_dataset, word) and returns: sentences