<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gepuro</author_name>
  <author_url>https://blog.hatena.ne.jp/gepuro/</author_url>
  <blog_title>gepuroの日記</blog_title>
  <blog_url>https://gepuro.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>テキストマイニング</anon>
  </categories>
  <description>日頃の生活の中で、２つの文字列の編集距離を求めたいなあっと思うことは、しばしばあると思います。 そんな時に、手軽に使用することができるライブラリがpylevenshteinです。C言語で書かれていて、高速で処理することができるそうです。 ライブラリは、http://code.google.com/p/pylevenshtein/に公開されています。 いつも通りに、 $ sudo python setup.py installでインストールできます。 実行例を In [1]: import Levenshtein In [2]: print Levenshtein.distance(&quot;play&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgepuro.hatenadiary.org%2Fentry%2F20120117%2F1326817795&quot; title=&quot; 編集距離を求めるライブラリpylevenshteinの紹介 - gepuroの日記&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>2012-01-17 01:29:55</published>
  <title> 編集距離を求めるライブラリpylevenshteinの紹介</title>
  <type>rich</type>
  <url>https://gepuro.hatenadiary.org/entry/20120117/1326817795</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
