<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>boscono</author_name>
  <author_url>https://blog.hatena.ne.jp/boscono/</author_url>
  <blog_title>てきとうなメモ</blog_title>
  <blog_url>https://boscono.hatenablog.com/</blog_url>
  <categories>
    <anon>Search</anon>
    <anon>NLP</anon>
  </categories>
  <description>SimString どうやって高速化しているのか気になったのでメモ。基本的には辞書となるキーワードリストに対して、n-gram→キーワードのID(SID)のリストのマッピングをCDB(Constant Database)に保存しておいて、そこから入力文字列のn-gramを含むSIDがいくつn-gramを含むか数えていき、コサインやジャッカード係数などの尺度でn-gramの類似度が閾値を超える数になったものを類似文字列として出力するという考え方。高速化の方法としては2つ考えられている。1つは文字列の長さごとに別のCDBファイルにしてあるという部分。閾値と尺度と入力文字列の長さが決まると類似文字列…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboscono.hatenablog.com%2Fentry%2F20110310%2Fp1&quot; title=&quot; SimStringメモ - てきとうなメモ&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-03-10 00:00:00</published>
  <title> SimStringメモ</title>
  <type>rich</type>
  <url>https://boscono.hatenablog.com/entry/20110310/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
