Skip to content
/ fate Public

ngram text synthesis with delusions of grandeur

License

Notifications You must be signed in to change notification settings

pteichman/fate

Repository files navigation

fate

fate is a framework for generating text. It's a formal split from my work in the Python and Go versions of cobe.

cobe minimized program memory to run on a virtual machine with 64MB of RAM, and to that end used an on-disk database for its language model. That restriction seems quaint today.

This work begins with a highly performant trigram language model that can generate replies to text and has reasonable memory usage.

Usage is straightforward: docs are at godoc.org. I've kept the API surface very small to start.

You can try it out on the command line:

$ go get github.com/pteichman/fate/cmd/fate-console
$ fate-console <text files>

That will learn everything in the files (line by line) and set up an interactive reply loop.

About

ngram text synthesis with delusions of grandeur

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages