compressed suffix array

Kunihiko Sadakane (sada@dais.is.tohoku.ac.jp)

%mkarray file
  Create the suffix array "file.sa" from "file."

%mkcsa file [D L]
  Create the compressed suffix array "file.psi" and "file.idx"
    from "file" and "file.sa."
  D is the interval of two indices of the suffix array stored explicitly.
  That is, SA[i*D] is stored explicitly.
  L is the interval of two indices of the psi function stored explicitly.
  That is, Psi[i*L] is stored explicitly.
  Default values are D=16 and L=128.

%csa file
  Search keywords using the compressed suffix array "file.psi" and "file.idx."

%chendian file
  Change the endian of "file.psi" and "file.idx."
  Output files are "file_.psi" and "file_.idx."
  Note: SPARC is big endian, while Intel x86 is little endian.
        No information on the endian is stored in "file.idx."
