Language Generator

My goal with this app was to produce the most natural and grammatically correct language possible using programmatic rules. Press the buttons to get a series of random sentences. The app retrieves words from a JSON file using an AJAX call and then generates language using grammar rules written in JavaScript. It relies heavily on string manipulation.

The next generation of this app will use word frequency weighting.