Skip to content

rahul-1996/Suffix-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

To run: python suffix.py

A Suffix tree implementation in python supporting the following operations:

  1. List all the occurrences of a query-string in the set of documents.
  2. List only the first occurrence of a given query-string in every document. If the query-string is not present, find the first occurrence of the longest substring of the query-string.
  3. For a given query-string (query of words), list the documents ranked by the relevance.

Professor Ben Langmead's implementation was used as reference during the implementation. Resource: http://www.cs.jhu.edu/~langmea/resources/lecture_notes/suffix_trees.pdf

About

A suffix tree implementation in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages