RubyGems.org

Text::Hyphen is a Ruby library to hyphenate words in various languages using Ruby-fied versions of TeX hyphenation patterns. It 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 originally based on the Perl implementation of {TeX::Hyphen}[http://search.cpan.org/author/JANPAZ/TeX-Hyphen-0.140/lib/TeX/Hyphen.pm] and the {Ruby port}[http://rubyforge.org/projects/text-format]. The language hyphenation pattern files are based on the sources available from {CTAN}[http://www.ctan.org] as of 2004.12.19 and have been manually translated by Austin Ziegler. This is a small feature release adding support for custom hyphens and fixing a bug in ruby-hyphen. This release provides both Ruby 1.8.7 and Ruby 1.9.2 support. This is the last major release supporting Ruby 1.8 interpreters. Future versions will only work with Ruby 1.9 or later interpreters.

installgem install text-hyphen -v 1.3
Authors

Austin Ziegler

208,515 total downloads 1,870 for this version
Owners

6e32b16ec35070a346dd4e08799589e5Ae16cb4f6d78e485b04ce1e821592ae531ab75f7ddda241830659630746cdd3a

Gemfile
gem 'text-hyphen', '~> 1.3'
Versions
  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)