I'd like to take a crack at adding word-frequency support to the source. Any hints?
George Michel <[email protected]> Tue, 23 Aug 2011 17:17:27 -0500
| Newsgroups | gmane.comp.java.jgloss |
|---|---|
| Message-ID | <CAPfj9FMTFV7ZQF1=AGeHyFDSBrxT-vgs34ymjvNhVAcwzE-12w@mail.gmail.com> |
--===============1426198720597846394== Content-Type: multipart/alternative; boundary=000e0cd32e1a9a8aeb04ab338f33 --000e0cd32e1a9a8aeb04ab338f33 Content-Type: text/plain; charset=ISO-8859-1 Despite it's age this program still seems to be the best at what it does. I think only Wakan offers similar functionality, though not nearly as well. Many thanks Mr. Koch. :-) I've been using it with Bullwhip PDF printer to output fully annotated Aozora PDF's to my Kindle, which has been an INCREDIBLE boon to my reading of difficult texts. For a better reading experience I've had to meddled around with Edict a little, eliminating superfluous entries and parentheses, as well as facilitating tategaki-style pages with a rotated version of MS Mincho (as well as dummy versions of Mincho and Arial for annotation-free pages interspersed between the annotated ones) It'd be ideal to implement a lot of this additional functionality in code -- ie. allowing access to the @ fonts to obviate the need for custom tategaki fonts, exporting to PDF with proper page breaks via itextsharp or a similar library, an option to hide the annotations without changing the line spacing -- but I doubt I'd be the man to do it, as I'm still very much a beginner in Java. The one thing I WOULD like to take a crack at changing is the way JGloss chooses its translations. I'm using ChaSen and EDICT.. Two syllable words not written in kanji in the text are invariably wrong (ie. "tachi," amusingly, ends up as "the dominant partner in a homosexual relationship," rather than "group" for instance). The jjdx index orders everything in alphabetical order, and seems to simply choose the first reading, katakana first. Incidentally, I've managed to find a frequency-ordered version of Edict packaged with a program called cbjisho in sqlite format, which I then converted to a plain text Edict-formatted dictionary, if that couldt help. Unfortunately the index-building classes seem to quicksort any indexes based on it back into submission. Telling FileBasedDictionary.class not to quicksort, predictably, simply messed things up. Any suggestions? -George --000e0cd32e1a9a8aeb04ab338f33 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Despite it's age this program still seems to be the best at what it doe= s. I think only Wakan offers similar functionality, though not nearly as we= ll. Many thanks Mr. Koch. :-)<br><div class=3D"gmail_quote"><br>I've be= en using it with Bullwhip PDF printer to output fully annotated Aozora PDF&= #39;s to my Kindle, which has been an INCREDIBLE boon to my reading of diff= icult texts. For a better reading experience I've had to meddled around= with Edict a little, eliminating superfluous entries and parentheses, as w= ell as facilitating tategaki-style pages with a rotated version of MS Minch= o (as well as=A0 dummy versions of Mincho and Arial for annotation-free pag= es interspersed between the annotated ones)<br> <br>It'd be ideal to implement a lot of this additional functionality i= n code -- ie. allowing access to the @ fonts to obviate the need for custom= tategaki fonts, exporting to PDF with proper page breaks via itextsharp or= a similar library, an option to hide the annotations without changing the = line spacing -- but I doubt I'd be the man to do it, as I'm still v= ery much a beginner in Java.<br> <br>The one thing I WOULD like to take a crack at changing is the way JGlos= s chooses its translations. I'm using ChaSen and EDICT.. Two syllable w= ords not written in kanji in the text are invariably wrong (ie. "tachi= ,"=A0 amusingly, ends up as "the dominant partner in a homosexual= relationship," rather than "group" for instance). The jjdx = index orders everything in alphabetical order, and seems to simply choose t= he first reading, katakana first.<br> <br>Incidentally, I've managed to find a frequency-ordered version of E= dict packaged with a program called cbjisho in sqlite format, which I then = converted to a plain text Edict-formatted dictionary, if that couldt help. = Unfortunately the index-building classes seem to quicksort any indexes base= d on it back into submission. Telling FileBasedDictionary.class not to quic= ksort, predictably, simply messed things up.<br> <br>Any suggestions?<br><br><font color=3D"#888888">-George<br> </font></div><br> --000e0cd32e1a9a8aeb04ab338f33-- --===============1426198720597846394== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev --===============1426198720597846394== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ JGloss-discussion mailing list JGloss-discussion-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/jgloss-discussion --===============1426198720597846394==--