"I Write Like" source code.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 42 commits behind coding-robots:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
chrome
data
static
templates
train-data
.gitignore
LICENSE
README.md
app.rkt
authors.rkt
bayes.rkt
crc32.rkt
gui.rkt
train.rkt
utils.rkt

README.md

I Write Like

Running

To launch the web server:

racket app.rkt

and open http://localhost:8080.

Make sure you have Racket 5.1 or later installed.

Training

The original train data is not included (while the results of training are available in data directory).

First, put plain-text formatted books into train-data directory. Edit authors.rkt to add authors and file names (remove the ones you don't have). Finally, run racket train.rkt.

History

The original version was written in July 2010 in Python using web.py framework. Then I rewrote it in Racket in November 2010. This is the latest Racket version.