code: def remove(name: str) -> bool:
      
      db = TinyDB(corpus_db_path())
      temp = Query()
      data = db.search(temp.name == name)
  
      if len(data) > 0:
          path = get_corpus_path(name)
          os.remove(path)
          db.remove(temp.name == name)
          return True
  
      return False
docs: Remove corpus
  
      :param string name: corpus name
      :return: True or False