{"blog_url":"https://bitop.hatenablog.com/","provider_url":"https://hatena.blog","blog_title":"bitop\u2019s diary","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitop.hatenablog.com%2Fentry%2F2016%2F12%2F31%2F105723\" title=\"\u8a00\u8a9e\u51e6\u7406100\u672c\u30ce\u30c3\u30af - bitop\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","height":"190","published":"2016-12-31 10:57:23","provider_name":"Hatena Blog","categories":[],"title":"\u8a00\u8a9e\u51e6\u7406100\u672c\u30ce\u30c3\u30af","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/bitop/20161231/20161231105657.png","description":"37. \u983b\u5ea6\u4e0a\u4f4d10\u8a9e\u00b6 \u51fa\u73fe\u983b\u5ea6\u304c\u9ad8\u304410\u8a9e\u3068\u305d\u306e\u51fa\u73fe\u983b\u5ea6\u3092\u30b0\u30e9\u30d5\uff08\u4f8b\u3048\u3070\u68d2\u30b0\u30e9\u30d5\u306a\u3069\uff09\u3067\u8868\u793a\u305b\u3088\uff0e import re from collections import Counter sentences = [] with open(\"D:\\\\nlp100\\\\neko.txt.mecab\",encoding=\"UTF-8\") as fr: line = fr.readline() keitaiso = [] while line: if \"EOS\" in line: if len(keitaiso)>0: sentences.append(keitaiso) keitaiso = [] e\u2026","version":"1.0","type":"rich","author_name":"bitop","url":"https://bitop.hatenablog.com/entry/2016/12/31/105723","author_url":"https://blog.hatena.ne.jp/bitop/"}