An open API service indexing awesome lists of open source software.

https://github.com/willis7/phrase-trie

Implementation of the Trie search algorithm for finding phrases in a body of text
https://github.com/willis7/phrase-trie

data-structures golang trie

Last synced: 12 months ago
JSON representation

Implementation of the Trie search algorithm for finding phrases in a body of text

Awesome Lists containing this project

README

          

# Phrase Trie

Demonstrates the use of a Trie search to find phrases in a body of text. The body of text needs to be sanitised by removing newline and tab characters; `/n` and `/t` respectively.

## Use Cases

### Searching sensitive content

One application may be to search sensitive content in source code. For example, `AWS_SECRET` or `password =`.

## References

* [Wikipedia](https://en.wikipedia.org/wiki/Trie)