Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/simonswine/shakespeare-trie-golang
- Owner: simonswine
- Created: 2015-11-20T23:20:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-20T23:24:37.000Z (about 9 years ago)
- Last Synced: 2023-03-11T19:37:10.059Z (almost 2 years ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.