10

Just wondering if you are aware of any C based extension in python that can help me construct suffix trees/arrays in linear time ?

Praveen Gowda I V
  • 9,569
  • 4
  • 41
  • 49
Abhi
  • 6,075
  • 10
  • 41
  • 55

1 Answers1

8

You can checkout the following implementations.

http://www.daimi.au.dk/~mailund/suffix_tree.html

https://hkn.eecs.berkeley.edu/~dyoo/python/suffix_trees/

https://github.com/kvh/Python-Suffix-Tree

A guy improved (first one) and put it here.

http://researchonsearch.blogspot.com/2010/05/suffix-tree-implementation-with-unicode.html

All are C implementations.

Kev
  • 118,037
  • 53
  • 300
  • 385
shadyabhi
  • 16,675
  • 26
  • 80
  • 131