Spaces:
Runtime error
Runtime error
Update run_segbot.py
Browse files- run_segbot.py +1 -1
run_segbot.py
CHANGED
@@ -21,7 +21,7 @@ class CPU_Unpickler(pickle.Unpickler):
|
|
21 |
|
22 |
|
23 |
def create_data(doc,fm,split_method):
|
24 |
-
wakati = MeCab.Tagger("-Owakati -b 81920")
|
25 |
seg = pysbd.Segmenter(language="ja", clean=False)
|
26 |
texts = []
|
27 |
sent = ""
|
|
|
21 |
|
22 |
|
23 |
def create_data(doc,fm,split_method):
|
24 |
+
wakati = MeCab.Tagger("-Owakati -b 81920 -r /etc/mecabrc -d /home/user/app/mecab-ipadic-neologd")
|
25 |
seg = pysbd.Segmenter(language="ja", clean=False)
|
26 |
texts = []
|
27 |
sent = ""
|