Archy

File List
Login

Files of check-in [e94fd31985] in the top-level directory


archy

An uninspired poet.

Build

$ rebar3 compile

Application

archy is the software that powers http://archy.zdsmith.com. It consists of two halves: archy, the core logic that randomly generates poetry, and archyweb, the Cowboy application that requests a new poem and then wraps it in a web page.

At startup, archy will read the text files in archy/priv and interpret them as poetry. It will create a series of ETS tables from the parsed poems. Then, whenever a poem is requested, it will generate a poem from the skeletons of one of the parsed poems, randomly using either the original language or pulling a structurally equivalent word from a different text.