MZ@ !L!This program cannot be run in DOS mode. $!eۊeۊeۊȊgۊ ъ`ۊ ߊgۊeڊ{ۊcΊfۊߊaۊRicheۊPELTA!  0 0`3F|0PP0|.text  `.rdataV00@@.data@@@.reloc&PP@BUVWEEPh,HM Qp0 u3 }3уUDP,0E}u t03MQ}3уQUREHQp }3уURDP,0E}ut0MQ(0E3]UREPMQ UR(0EPh0HH0E}uMQ(03UR(0E_^]UQEEt+U%yH@u MMUUˋE]UEEEMMtNEEMEEM M0yJBuE-MMUU륋E]UWEEPh4HM Qp0 u3}3уUDP,0E}u t03bMQ}3уQUREHQs }3уU EPh8HH0EMQ(0E_]UEEEPh 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) H@H0Bname 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* H StD$HCThis 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.mashedpyHnjpyHnj.errorerrorcan't initialize module pyHnjrcan't allocate %d bytes can't allocate %d bytes 00I0[000001 1!12122I2[22222223333~333333333333333 444!4:4D4f4437<<<0D0O0\0d0r0w0|0000000000Z1v111@$x3|333335555555