suffix-tree

Looking for the suffix tree implementation in C#?

I've implemented a basic search for a research project. I'm trying to make the search more efficient by building a suffix tree. I'm interested in a C# implementation of the Ukkonen algorith. I don't want to waste time rolling my own if such implementation exists. ...

Generalized Suffix Tree Java Implementation

Hello folks ! I am looking for a Java implementation of the Generalized Suffix Tree which have the following functionality: After the creation of the gst from lets say 1000 strings ich want to find out how many of this 1000 strings contains a given other string. This have to be quiet fast, since the suffix tree in my use case would be...

Understanding Ukkonen's algorithm for suffix trees

Hello, I'm doing some work with Ukkonen's algorithm for building suffix trees, but I'm not understanding some parts of the author's explanation for it's linear-time complexity. I have learned the algorithm and have coded it, but the paper which I'm using as the main source of information (linked bellow) is kinda confusing at some parts...

Token Suffix Tree Tutorial

Can someone please point to tutorials on - "Token Suffix Trees". Google, gives only links to research papers that are already using them! :( Thanks in advance. ...

best one than suffix trie and KMP automaton

Hii!! Can anybody help me to know is there any data structure which is having either less time or requires less space than "suffix trie" and KMP automaton.I need it urgently.Please answer my question as soon as possible ...

Short, Java implementation of a suffix tree and usage?

I'm looking for a short, simple suffix tree building/usage algorithm in Java. The best I've found so far lies withing the Semantic Discovery Toolkit, but the implementation is several thousand lines long and spans several classes. Ideally, the implementation would be as short as possible and span no more than a few hundred lines. Does a...

Building a suffix tree in C++

I'm attempting to build a suffix tree in C++ as part of an assignment on gene sequencing void Tree::insert(string ins) { Node* iterator = chooseBranch(root, ins.at(0)); string temp; for(int i=0; i<100; i++) { if(iterator->data=="") . . . chooseBranch() is a function to pick which of 4 children to go to, a...

Successive adding of char to get the longest word in the dictionary

Given a dictionary of words and an initial character. find the longest possible word in the dictionary by successively adding a character to the word. At any given instance the word should be valid word in the dictionary. ex : a -> at -> cat -> cart -> chart .... ...

How to speed up calculation of length of longest common substring?

I have two very large strings and I am trying to find out their Longest Common Substring. One way is using suffix trees (supposed to have a very good complexity, though a complex implementation), and the another is the dynamic programming method (both are mentioned on the Wikipedia page linked above). Using dynamic programming The pr...

Building a suffix tree for a string matching algorithm in large database.

Hi friends, I had an internship interview last week and I was given a question regarding searching for a particular string in a large database. I was totally clueless about it during the interview though I just gave a reply the"multi-level hashing" as that was the only hin I knew which had the best time efficiency, After a bit googling I...