[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Advice on dictionary conversion
Quoting Ciaran S Duibhmn <ciaran@xxxxxxxxxxxxxxxxxxxxxxxx>:
I wish to convert a bilingual dictionary from MS-Word format to "properly"-tagged XML, and I hope I may ask for some comment on the feasibility of this, using XSLT or otherwise.
The right question to ask is thus how far do you need to go, which depends on your target application. If this is just to make the dictionary searchable for human users, your probably are already far enough when every entry is encapsulated in <entry> and <headwords> stand out, besides of course retaining the typography. If the dictionary needs to be smarter, you will find a lot of cases where the typographic rules have been used in a lax way, such that any program fails and requiring human review to get right. Quite a daunting task for a 5 megabyte blob of text. Having said that, I've created a few XLST scripts to "up-tag" a typographic dictionary (assisted and glued together with Perl). Running this not only requires tweaking on the conversion scripts, but also on the dictionary data, to convert necessary tagging errors and omission. I found myself using a lot of nested <xsl:for-each-group> statements to group tenses and meanings together based on typographic hints. BTW, I use lax variants of TEI for dictionaries. Jeroen.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|