5 bot = Chatbot('bot')
6 bot.set_trainer(ListTrainer)
7 for files in (file pathway help)
8 data = open( file pathway + files, 'r').readlines()
9 bot.train(data)
I would appreciate help on clearing up these lines of code, finding pathway to files and overall correctness of code
6 bot.set_trainer(ListTrainer)
7 for files in (file pathway help)
8 data = open( file pathway + files, 'r').readlines()
9 bot.train(data)
I would appreciate help on clearing up these lines of code, finding pathway to files and overall correctness of code