Chris,
I made the original module, I believe. I tried to strip out all of the forward slashes, but clearly I missed some. I am sorry for that. I do not recall why I did not use <seg> to separate morph segments in the module, though my guess is that I wanted to keep it simple. If I recall correctly, David and I discussed the issue of using <seg> in the wlc files on Github, and he preferred to leave things as-is. As for making a module, since we are working on the morphological analysis (and I am busy with a new semester starting tomorrow), I probably will not have time to work on it for awhile. It would be nice to have an updated module, but looking forward it would be nice to have a simple script to: 1. Combine the XML files from the wlc subfolder on Github into a single OSIS file. 2. Strip "/" within words or convert the divisions into <seg> elements. 3. Prepare @lemma for SWORD, which basically involves adding "strong:H" before each Strong's number. Also, instead of the slash between lemma, there should be a space. To take the first word in Gen 1:1 as an example (with @morph in light of the forthcoming morphology): <w lemma="b/7225" morph="HR/Ncfsa">בְּ/רֵאשִׁ֖ית</w> should become: <w lemma="strong:Hb strong:H7225" morph="HR HN>בְּרֵאשִׁ֖ית</w> or, using <seg>: <w lemma="strong:Hb strong:H7225" morph="HR HN><seg>בְּ</seg><seg>רֵאשִׁ֖ית</seg></w> Caution: I have not tested how the front-ends handle <seg>. I really have no idea what they would do with it, that is, if they would do the same as my email client has done and placed the preposition in the wrong place. Anyway, I believe that is what is involved. If you (or anyone else) develops a script to deal with this, I would love to have it so we can put it on Github for future use. I know it is super simple, but my XSLT skills have to be relearned every time I work on a project such as this, so if someone gave me a simple script to combine the XML files into a single XML file, I could take it from there. Daniel On 7/14/13 4:01 PM, Chris Burrell wrote:
|
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page