Text::Hyphen will hyphenate words using modified versions of TeX hyphenation patterns. Text::Hyphen will properly hyphenate various words according to the rules of the language the word is written in. The algorithm is based on that of the TeX typesetting system by Donald E. Knuth. This is based on the Perl implementation of TeX::Hyphen[1] and the Ruby port[2]. The language hyphenation pattern files are based on the sources available from CTAN[3] as of 2004.12.19 and have been translated by Austin Ziegler. This release is 1.0.2. It is a minor bugfix for the RubyGem release of Text::Hyphen to enable the hyphen command-line program. Text::Hyphen represents a significant improvement over its predecessor, TeX::Hyphen.

installgem install text-hyphen -v 1.0.2

Austin Ziegler

210,791 total downloads 51,177 for this version


gem 'text-hyphen', '~> 1.0.2'
  1. 1.4.1 August 27, 2012 (734 KB)
  2. 1.4 August 26, 2012 (697 KB)
  3. 1.3 June 21, 2012 (696 KB)
  4. 1.2 July 17, 2011 (696 KB)
  5. 1.0.2 February 8, 2011 (360 KB)
Show all versions (6 total)