Commit 21e4e037 authored by crazyer's avatar crazyer

text miner

parent 1e5e7374
...@@ -8,7 +8,7 @@ from config import config ...@@ -8,7 +8,7 @@ from config import config
class Filter(object): class Filter(object):
def __init__(self, file_path, encoding="utf-*"): def __init__(self, file_path, encoding="utf-8"):
self.file_path = file_path self.file_path = file_path
self.encoding = encoding self.encoding = encoding
self.stopwords = set() self.stopwords = set()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment