Project

hiq

0.0
No release in over a year
A simple Haiku generator gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 11.1.0
~> 1.4.1
~> 0.14.1
~> 3.11.0
~> 1.26.0
 Project Readme

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.