Cool Algorithm - Fast text search using BWT
blog.avadis-ngs.com
Cool Algorithm - Fast text search using BWT
1–9 of 9 posts
Re: Cool Algorithm - Fast text search using BWT
#2Re: Cool Algorithm - Fast text search using BWT
#3As far as I can tell, author is talking about FM-Index. It compresses the search data into a much smaller index memory footprint. I tried using it few times, but never figured out how to use it as a key-value data store. If anybody is interested, here is the code: http://pizzachili.di.unipi.it/indexes/FM-indexV2/fmindexV2.t...
Re: Cool Algorithm - Fast text search using BWT
#4As far as I can tell, author is talking about FM-Index. It compresses the search data into a much smaller index memory footprint. I tried using it few times, but never figured out how to use it as a key-value data store. If anybody is interested, here is the code: http://pizzachili.di.unipi.it/indexes/FM-indexV2/fmindexV2.t...
Re: Cool Algorithm - Fast text search using BWT
#5As far as I can tell, author is talking about FM-Index. It compresses the search data into a much smaller index memory footprint. I tried using it few times, but never figured out how to use it as a key-value data store. If anybody is interested, here is the code: http://pizzachili.di.unipi.it/indexes/FM-indexV2/fmindexV2.t...
I guess FM index is just not the right thing to use when you need a key-value data store. It's a full text index -- a data structure, which allows fast substring queries over a fixed text corpus.
Re: Cool Algorithm - Fast text search using BWT
#6Earlier quoted context omitted.
I guess FM index is just not the right thing to use when you need a key-value data store. It's a full text index -- a data structure, which allows fast substring queries over a fixed text corpus.
Perhaps if you want to store (tag) sub-strings with stored data then it might make sense?
Re: Cool Algorithm - Fast text search using BWT
#7CPD now uses Rabin-Karp searching, which is faster still. However, writing a copy-paste detector with BWT is fairly trivial and I still keep that script in my head for languages CPD can't handle.
Re: Cool Algorithm - Fast text search using BWT
#8Re: Cool Algorithm - Fast text search using BWT
#9 http://www.alexbowe.com/tag/datastructures
He describes how you can store the FM-index in less space than the original text.