Version française
Home     About     Download     Resources     Contact us    
Browse thread
Suffix trees
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sebastien Ferre <Sebastien.Ferre@i...>
Subject: Re: [Caml-list] Suffix trees
Hi,

Jon Harrop wrote:
> Anyone got any high-performance suffix tree implementations in OCaml? (I've 
> seen Jean-Christophe's)

you can find the implementation I made for my
own needs at http://www.irisa.fr/LIS/ferre/software.en.html .
I hope it will fit your needs. I thrived to make it
efficient.

It is possible to make it more efficient by
removing the code for the computation of maximal substrings
that makes the computation of the suffix tree in O(n.ln(n))
instead of O(n).
The motivation for the computation of these maximal substrings
can be found in the following paper:
http://www.springerlink.com/content/a2p06g831821054g/

Do not hesitate to ask me explanations about the interface
as the comments are rather limited :-).

Cheers,
Sébastien Ferré