Just wondering, do you know about any C-based extension in python that can help me build suffix trees / arrays in linear time?
You can check 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
The guy improved (first) and put it here.
http://researchonsearch.blogspot.com/2010/05/suffix-tree-implementation-with-unicode.html
All are C. implementations.