<?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>はじめに こないだIO.popenによるMecabの呼び出しを書きましたが，バインディングを利用した方法を書きます． こっちの方が速いのでおすすめ． バインディングのインストール sudo port install rb-mecab +utf8only MacPortsではたったこれだけ． 文字コードにはUTF-8を使うので+utf8onlyを指定しましょう． 実行例 サンプルとして，Rubyのホームページに載ってるテキストを100回Mecabを通してみます． require 'Benchmark' text = &lt;&lt;EOT Rubyは、手軽なオブジェクト指向プログラミングを実現するための種々…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkj-ki.hatenablog.com%2Fentry%2F20090609%2Fp1&quot; title=&quot;Mecabはバインディングで3.1倍速くなる - 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-06-09 00:00:00</published>
  <title>Mecabはバインディングで3.1倍速くなる</title>
  <type>rich</type>
  <url>https://kj-ki.hatenablog.com/entry/20090609/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
