TypeError: loadCorpus () принимает 1 позиционный аргумент, но 2 были заданы - PullRequest
0 голосов
/ 01 ноября 2019
#done reading all word types
#read all the training sentences

sent= loadCorpus('bangla-corpuscleaned.txt','UTF-8')
print (sent[0][0])
print ('done reading corpus')
print (len(types))
types = []
...