<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jewel12</author_name>
  <author_url>https://blog.hatena.ne.jp/jewel12/</author_url>
  <blog_title>ミントフレーバー緑茶</blog_title>
  <blog_url>https://mint.hateblo.jp/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>自然言語処理等では、ストップワードリストにこれから処理する語が含まれているか？というチェックをすることが多い。 これを Ruby で書くとき、リストが大きいと Array#include? では遅い場合があるので、 stop_words[ word ] = true のようにしてチェックしている。 Hash である stop_words を作成する方法は、以下の様にいくつか考えることができるけど、どれが良いのか分からないまま２番目の方法を使っている。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmint.hateblo.jp%2Fentry%2F20111122%2F1321987736&quot; title=&quot;要素の存在をチェックするための Hash を作りたい - ミントフレーバー緑茶&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>2011-11-22 03:48:56</published>
  <title>要素の存在をチェックするための Hash を作りたい</title>
  <type>rich</type>
  <url>https://mint.hateblo.jp/entry/20111122/1321987736</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
