Latih Chatterbot Menggunakan YML

from chatterbot import ChatBot
from chatterbot.trainers import ChatterBotCorpusTrainer

bot = ChatBot(
    "Chat Bot",
    storage_adapter="chatterbot.storage.SQLStorageAdapter",
    database="botData.sqlite3"
)

trainer = ChatterBotCorpusTrainer(chatbot)

trainer.train("data/trainingdata.yml")
Lunatic Python