Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/simonswine/shakespeare-trie-golang

Generates an autocomplete Trie from Shakespeare's full corpus.
https://github.com/simonswine/shakespeare-trie-golang

Last synced: 27 days ago
JSON representation

Generates an autocomplete Trie from Shakespeare's full corpus.

Awesome Lists containing this project

README

        

# Shakespeare's Tries

Generates an autocomplete Trie from Shakespeare's full corpus.

Written after November 2015's [West London Hack Night](http://www.meetup.com/West-London-Hack-Night/).

## Building & Running

You'll need [golang](https://golang.org/doc/install). Then call

``` sh
# get/install source code
go get github.com/simonswine/shakespeare-trie-golang

# run tests
go test github.com/simonswine/shakespeare-trie-golang

# run program
shakespeare-trie-golang
```

You can enter queries and it will show the lines that begin with that string.