[sword-devel] TEI Dictionaries

Chris Little chrislit at crosswire.org
Mon Nov 14 21:14:48 MST 2011


On 11/14/2011 1:29 AM, David Haslam wrote:
> The wiki page includes "At this time, enciphering does not work."
>
> Is this still true?

Almost certainly.

> And if so, are there any plans afoot?

Almost certainly not.

> See http://crosswire.org/wiki/TEI_Dictionaries#Importing
>
> cf.  Page last edited 2010-01-22.

In practice, tei2mod and osis2mod really only need to turn XML into 
raw{text|com|ld} modules. The reason for this is that mod2zmod (which 
works all module types except genbooks) will produce better compressed 
modules than the other conversion tools. (In turn, the reason for this 
is that the conversion tools build modules incrementally and compress 
them incrementally, resulting in compressed modules that are not 
compressed as well as modules that are compressed all at once, as 
mod2zmod does. So it's always better to build module in a 2-pass 
procedure: one pass to fix the contents and their order and one pass to 
compress/encipher.) The mod2zmod util can encipher as it compresses, so 
there's nothing preventing the creation of compressed TEI-sourced 
dictionaries.

A bigger issue is the impossibility of compressing genbooks, which have 
the potential to get very large.

--Chris



More information about the sword-devel mailing list