【问题标题】:suffix tree implementation in python [closed]python中的后缀树实现[关闭] 【发布时间】:2012-02-18 05:58:27 【问题描述】: 只是想知道您是否知道 python 中有任何基于 C 的扩展可以帮助我在线性时间内构建后缀树/数组? 【问题讨论】: 相关问题:stackoverflow.com/questions/9347078/… 标签: python suffix-tree 【解决方案1】: 您可以查看以下实现。 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 一个人改进了(第一个)并把它放在这里。 http://researchonsearch.blogspot.com/2010/05/suffix-tree-implementation-with-unicode.html 都是 C 实现。 【讨论】: