質問編集履歴

3

誤字

2018/12/03 02:38

投稿

rrrrrrrry
rrrrrrrry

スコア20

test CHANGED
File without changes
test CHANGED
@@ -84,7 +84,7 @@
84
84
 
85
85
  if (item[0] not in ('EOS', '', 't', 'ー') and
86
86
 
87
- item[1] == '名詞' or item[2] == '動詞' or item[2] == '形容詞' or item[2] == '形容動詞' and item[5] == '一般')]
87
+ item[1] == '名詞' or item[2] == '動詞' or item[3] == '形容詞' or item[4] == '形容動詞' and item[5] == '一般')]
88
88
 
89
89
 
90
90
 

2

誤字

2018/12/03 02:38

投稿

rrrrrrrry
rrrrrrrry

スコア20

test CHANGED
File without changes
test CHANGED
File without changes

1

誤字

2018/12/03 02:38

投稿

rrrrrrrry
rrrrrrrry

スコア20

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  File "count.py", line 23, in <listcomp>
28
28
 
29
- item[1] == '名詞' or item[2] == '動詞' or item[2] == '形容詞' or item[2] == '形容動詞' and item[5] == '一般')]
29
+ item[1] == '名詞' or item[2] == '動詞' or item[3] == '形容詞' or item[4] == '形容動詞' and item[5] == '一般')]
30
30
 
31
31
  IndexError: list index out of range
32
32