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

回答編集履歴

1

wordsをparseに変更

2017/06/16 09:20

投稿

YouheiSakurai
YouheiSakurai

スコア6155

answer CHANGED
@@ -3,5 +3,5 @@
3
3
  ```python
4
4
  dictionary = Dictionary('file')
5
5
  report = Report('name', 'comment')
6
- words = dictionary.matchWords(report.comment.words())
6
+ words = dictionary.matchWords(report.comment.parse())
7
7
  ```