English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2007-08-31 (08:25)
From: Sebastien Ferre <Sebastien.Ferre@i...>
Subject: Re: [Caml-list] Suffix trees

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

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:

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

Sébastien Ferré