<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kj-ki</author_name>
  <author_url>https://blog.hatena.ne.jp/kj-ki/</author_url>
  <blog_title>kj-ki’s blog</blog_title>
  <blog_url>https://kj-ki.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>はじめに 油断してるとあっという間に時間が経つ． 気がついたら5月ももう終わりです． 前々回まで集合知プログラミングの第3章をやってきた訳ですが， ベイズフィルタを勉強したくなった関係で，第6章にいきなり飛びます． 今回は，本の中で登場する単語のカウンタです． 実行例 こんなふうに使います． なお，Mecabがあらかじめインストールされている必要がありますよ． counter = My::WordCounter.new counter.count('今，私はドトールにいます') counter.count('そして頑張ってデバッグしています') counter.result.each do |…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkj-ki.hatenablog.com%2Fentry%2F20090531%2Fp1&quot; title=&quot;Mecabで単語の出現数を数えるには - kj-ki’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-05-31 00:00:00</published>
  <title>Mecabで単語の出現数を数えるには</title>
  <type>rich</type>
  <url>https://kj-ki.hatenablog.com/entry/20090531/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
