MZ@ !L!This program cannot be run in DOS mode. $P111.111).11).1Rich1PEL5_JG!  0' 0`p3F0PP0.text  `.rdata00@@.data @@@.reloc*PP@BL$SVD$WPh|HQ0 u_^[Ë|$30уQӋu 0_^3[ËT$3IVQRT$BP Vy|$(Ѓ3ID PӋu0V403_^[ËL$WVQg40VWhHP0Wu Ӄ3_^[Ӄ_^[ÐT$3 tɁyIAu@JBuÐL$D$ 9t6Vt$ +@0yJBu-@QAu^ÐL$VD$ WPhHQ0 u_^Ë|$3уQ0u 0_3^ËT$3IVQRT$BPn |$ 3VIhH1P0V40_^ÐQL$ D$PhHQD$ 0D$ uD$HEVhxERp0Pt0u^YËD$P Fu2x0L$QhHP|0 Hu NVQ3^YË^YÐVt$FtPFVl0^ÐD$L$PQhxCh0 ÐL0VhjhXFh8FhH|EH0PT0hHX0PhIVdI\0(`0^t hId0YÐUh(IEP<0E}u36EjhhIMQ j EUj MAUBMQBEHAUB@ MQjPUR 0 E%EMƄ <0E UUEL ~TUD0| MT 9EMT <%EMT EEMƄ <0떋UƄEƄ=E MMU<0u卍QURX8PMQUR EE word with hyphen marks '-' inserted at breakpoints. For example: ### >>> h = pyHnj.Hyphen() >>> h.hyphenate('hyphenation') 'hy-phen-ation' >>> h.hyphenate('supercalifragilisticexpialidocious') su-per-cal-ifrag-ilis-tic-ex-pi-ali-do-cious ### We place hyphens between points where the hyphen code is odd. Use getCodes() to view the internal hyphen codes. Bugs: It doesn't quite work if there are spaces in the word. Also, hyphenating a word twice doesn't look good: 'su--pe-r-c-al-if-rag--ili-s--ti-c-e-x--pi-ali-do-cious' word -> The corresponding hyphenation codes. Here is an example interpreter session: >>> pyHnj.Hyphen().getCodes('hyphenation') '03002542000' The odd numbers correspond to good places to hyphenate a word. For more details on the hyphenation algorithm, you may want to read Donald Knuth's TeXbook. (ISBN 0-201-13448-9) TH@`Hp0Bname of hyphen dictionary -> instance of Hyphen. pyHnj needs a source of hyphen prefixes, so we read it here. If no such dictionary exists, or if we cannot read is succesfully, we raise pyHnj.Error. Hyphen instance. Hyphen provides the following two functions: getCodes(word) - return the hyphen codes as a string of numbers. hyphenate(word) - hyphenate a word using '-'. The use of hyphenate() should make abusive hyphenation quite easy. *grin* lH tDtHCThis is the pyHnj module. This code is based on the hyphenization algorithm in Donald Knuth's TeX. This particular implementation has been written by Raph Levien (raph@acm.org). This module provides a single Hyphen class which is a wrapper around Levien's nice pyHnj library. Hyphen's constructor takes in, optionally, the name of a prefix text file. This module should be distributed with 'hyphen.mashed', which can process English. Functions within Hyphen: getCodes(word) hyphenate(word) hyphenategetCodesHyphenHyphenssss|s/usr/local/share/pyHnj/hyphen.mashedFailed to load hyphenization information from "%s"pyHnjpyHnj.errorerrorcan't initialize module pyHnjrcan't allocate %d bytes can't allocate %d bytes  00.0G000000|11111112*2=2C2I2P2Z222222333#3(3-333:3?3G3M3S3Y3b3l3r3333+46;;<@<>>???2?G?L?V?a?s?????????????? 000<0N00000@$x3|33333555586<6D6