text: # -*- coding: utf-8 -*-
  """
  Created on Sat Jan  9 23:53:54 2021
  
  @author: hp
  """
  
  from chatterbot import ChatBot
  from chatterbot.trainers import ListTrainer
  from chatterbot.trainers import ChatterBotCorpusTrainer
  import yaml
  
  my_bot = ChatBot(name='PyBot', read_only=True,
                   logic_adapters=['chatterbot.logic.MathematicalEvaluation',
                                   'chatterbot.logic.BestMatch'])
  
  list_trainer = ListTrainer(my_bot)
  
  open()
  corpus_trainer = ChatterBotCorpusTrainer(my_bot)
  corpus_trainer.train('chatterbot.corpus.english')