From: Austin Ziegler Date: 2006-05-16T04:33:46+09:00 Subject: Re: text::hyphen, de patterns On 5/15/06, Patrick Gundlach wrote: > I'd like to use text::hyphen, and I'd like to know how to use german > hyphenation patterns. There are two files de1.rb and de2.rb in the > distribution, but what parameter should I use to the Text::Hyphen.new method? I will have to make this easier to use, but: require 'text/hyphen' require 'text/hyphen/language/de1' hyp = Text::Hyphen.new hyp.language = Text::Hyphen::Language::DE Let me think about this for a while to figure out a clean API for these multiply named language definitions. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca