Sha256: 5eed546b16cb9fbc289ab878f8d71fe786279edaa6cbea2884d765bbcde18d55

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

# Guillaume

Guillaume is a generative poetry creation tool.

## Installation

Add this line to your application's Gemfile:

    gem "guillaume"

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install guillaume

## Usage

### Command line

    Usage: guillaume /path/to/text_source.txt
        -v, --verbose                    Verbose output while writing
        -m, --max-stanzas STANZAS        Maximum number of stanzas to write

### Gem

    require "guillaume"
    source_text_file = Guillaume::SourceText.new("/path/to/text_source.txt")
    poem = Guillaume::Poem.new(source_text_file, max_stanzas: 5)
    puts poem.formatted

## TODO

- establish data storage
- write separate parsing methods for poetry (linebreak-aware) and literature (linebreak-agnostic)
- write functionality for staying/straying from topics

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guillaume-0.0.2 README.markdown
guillaume-0.0.1 README.markdown