<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tabris2012</author_name>
  <author_url>https://blog.hatena.ne.jp/tabris2012/</author_url>
  <blog_title>tabris2012の不定期日記</blog_title>
  <blog_url>https://tabris2012.hatenadiary.org/</blog_url>
  <categories>
    <anon>DBCLS</anon>
  </categories>
  <description>前回に引き続き、英文から名詞を抜き出すRubyクラスの実装を行いました。 前回は英文の単語数で分類するところまで書いたので、今回は分類された英文ごとに、品詞解析にかけて名詞を抜き出し、その出現数をカウントするところを実装しました。 品詞解析はGENIA taggerを使用しているので、これを別プロセスで起動していることを前提に、そのポートに英文を投げるというように書きました。あとは「NN」というタグが名詞を表しているので、そのタグがついた単語を回収するように書きました。@socket.puts @original_hash[id].gsub(&quot;\n&quot;, &quot; &quot;) result = @socke…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftabris2012.hatenadiary.org%2Fentry%2F20131211%2F1386732151&quot; title=&quot;英文の単語出現頻度を計算するクラスの続き - tabris2012の不定期日記&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>2013-12-11 12:22:31</published>
  <title>英文の単語出現頻度を計算するクラスの続き</title>
  <type>rich</type>
  <url>https://tabris2012.hatenadiary.org/entry/20131211/1386732151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
