TextClassify
TextClassify copied to clipboard
用python3训练tfidf时报错
for name in self.filenames: with open(join(name), 'r', 1000, 'utf-8') as f: tf_dict = dict()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0: invalid start byte
另一个demo改过来没有错误,有结果