Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hiq

Hiq is a simple Haiku generator for Ruby. It allows you to generate haikus with 5 - 7 - 5 composition.

The Haikus are generated from premade lines which in turn were generated by RNN learning from the following Haiku collection

Installation

Add this line to your application's Gemfile:

gem 'hiq'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hiq

Usage

Inside Ruby Code

>  puts Hiq.haiku('root', 'beer')
root of my joy fade
the sad facade of beer torn                                              
tears flow in the rain 

As CLI Tool

> haiku mug moment
the lines of mug
A spark of moment above
Valentine's Day

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/TarasJan/hiq.

About

Haiku generator

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages