回答編集履歴

1

replace comma to dot

2022/10/19 08:56

投稿

ps_aux_grep
ps_aux_grep

スコア1579

test CHANGED
@@ -5,4 +5,4 @@
5
5
 
6
6
  例えば,`doc = ["abc", "def"]`としたものを`str(doc)`にすると,その文字列は`"['abc', 'def']"`になります.括弧やクォーテーションごとMeCabの解析対象になってしまっています.
7
7
 
8
- `str(documents)`ではなく,`'\n',join(documents)`にでもしましょう.
8
+ `str(documents)`ではなく,`'\n'.join(documents)`にでもしましょう.