<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naoya</author_name>
  <author_url>https://blog.hatena.ne.jp/naoya/</author_url>
  <blog_title>naoyaのはてなダイアリー</blog_title>
  <blog_url>https://naoya-2.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>圧縮全文索引の実装などでしばしば利用される Rank/Select 辞書と呼ばれるデータ構造があります。詳しくは参考文献を参照していただくとして、今回は一般の文字列に対して効率的に Rank/Select を可能とするデータ構造である Wavelet Tree (ウェーブレット木) のライブラリを作りました。 http://github.com/naoya/perl-algorithm-wavelettree/tree/master my $wt = Algorithm::WaveletTree-&gt;new(&quot;abccbbabca&quot;); is $wt-&gt;rank(6, 'a'), 2; is $…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaoya-2.hatenadiary.org%2Fentry%2F20081116%2F1226841070&quot; title=&quot; Wavelet Tree - naoyaのはてなダイアリー&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>2008-11-16 22:11:10</published>
  <title> Wavelet Tree</title>
  <type>rich</type>
  <url>https://naoya-2.hatenadiary.org/entry/20081116/1226841070</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
