teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

修正

2018/06/14 05:13

投稿

rrrrrrrry
rrrrrrrry

スコア20

title CHANGED
File without changes
body CHANGED
@@ -92,5 +92,15 @@
92
92
 
93
93
  ```
94
94
 
95
+ ###mecab処理の部分をコメントアウトした際のエラー文
96
+
97
+ Count of urls : 1
98
+ Traceback (most recent call last):
99
+ File "ngram.py", line 76, in <module>
100
+ ngram = ng.get(text, ngram)
101
+ File "ngram.py", line 20, in get
102
+ seq = self.parse(text).split()
103
+ AttributeError: 'Ngram' object has no attribute 'parse'
104
+
95
105
  ###試したこと
96
106
  mecabの部分をコメントアウトしたりしたのですがうまくいかなかったです。