質問編集履歴

1

修正

2018/06/14 05:13

投稿

rrrrrrrry
rrrrrrrry

スコア20

test CHANGED
File without changes
test CHANGED
@@ -186,6 +186,26 @@
186
186
 
187
187
 
188
188
 
189
+ ###mecab処理の部分をコメントアウトした際のエラー文
190
+
191
+
192
+
193
+ Count of urls : 1
194
+
195
+ Traceback (most recent call last):
196
+
197
+ File "ngram.py", line 76, in <module>
198
+
199
+ ngram = ng.get(text, ngram)
200
+
201
+ File "ngram.py", line 20, in get
202
+
203
+ seq = self.parse(text).split()
204
+
205
+ AttributeError: 'Ngram' object has no attribute 'parse'
206
+
207
+
208
+
189
209
  ###試したこと
190
210
 
191
211
  mecabの部分をコメントアウトしたりしたのですがうまくいかなかったです。