[sword-devel] pinyin in Chinese sword module

Troy A. Griffitts scribe at crosswire.org
Fri Oct 1 06:20:56 MST 2010

I know this might not matter much with The SWORD Project for Windows
falling by the wayside and replace by other more active projects being
ported to run on Windows, but...

I believe we have a Chinese -> Pinyin glossary module and we used to
show a demo where you can choose this glossary as your "Primary
Dictionary" in The SWORD Project for Windows preferences, and then you
can turn on mouse over dictionary lookup.

This allows hovering the mouse over any character and getting the
Pinyin.  It lets Microsoft's Rich Edit control decide what it thinks a
'word' is and I believe it mostly chooses a single character for
Chinese, but also might be more logical.

Actually, I don't see the glossary available in our repo any longer,
unless it is named something not obvious to me.


On 10/01/2010 11:27 AM, Peter von Kaehne wrote:
> -------- Original-Nachricht --------
>> Datum: Fri, 1 Oct 2010 01:47:23 -0700 (PDT)
>> Von: David Haslam <d.haslam at ukonline.co.uk>
>> Peter suggested that the right answer to the "how question" is Ruby
>> markup,
>> but few of the SWORD front-ends yet support Ruby.
> It is probably not hard to add (says the non-programmer) as the basic mechanism would be akin to morphology or strong data (some piece of data attached to a word, for more or less each word). So, I would not see lack of implementation in frontends as a real obstacle to module creation.
> Whether it would be good practice to put pin-yin into ruby markers - I am no OSIS expert, but it seems the whole idea of ruby is to guide pronounciation for the less learned...
> Peter

More information about the sword-devel mailing list