code: def search_line(line, search, searchtype):
      
      if searchtype == 're' or searchtype == 'word':
          return re.search(search, line)  #, re.IGNORECASE)
      elif searchtype == 'pos':
          return searcher.search_out(line, search)
      elif searchtype == 'hyper':
          return searcher.hypernym_search(line, search)
docs: Return True if search term is found in given line, False otherwise.