Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Perl module: A set of interfaces to create and manipulate string Suffix Trees
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
t
.gitignore
Changes
INSTALL
MANIFEST
MANIFEST.SKIP
META.json
META.yml
Makefile.PL
README
SuffixTree.pm
c-implementation_notes.txt
suffix_tree.c
suffix_tree.h
suffix_tree_wrap.c

README

PORTABILITY

This version uses a wrap file, suffix_tree_wrap.c, that was generated
for usage under Linux (we tested it only on Mandrake 9).

If you are using some other platform, you might want to generate your
own wrap file.

You need to have SWIG installed (get it from: http://www.swig.org/).

Now do ONE of the following (1 or 2):


[1]
---------------------------------------------------------------------
To generate a wrap file use the following commands from the directory
where the suffix tree source files (suffix_tree.h suffix_tree.c) are:

    cp SuffixTree.pm bak.SuffixTree
    swig -perl -module SuffixTree suffix_tree.h
    rm SuffixTree.pm
    mv bak.SuffixTree SuffixTree.pm

Now you need to do something that SWIG forgot, and that is to add the
following line somewhere in the beginning of the newly created wrap
file, suffix_tree_wrap.c

    #include "suffix_tree.h"
---------------------------------------------------------------------

-OR-

[2]
---------------------------------------------------------------------
Run the following script:
    We will do this someday...
---------------------------------------------------------------------

INSTALLATION

To install (once your wrap file is compatible with your system), read
the instructions in the INSTALL file.

FURTHER INFORMATION

    perldoc SuffixTree

COPYRIGHT

Copyright (c) 2002, 2003 Shlomo Yona. All rights reserved.

This library is free software. 
You can redistribute it and/or modify it under the same terms as Perl itself.  
Something went wrong with that request. Please try again.