Clear-Bible / macula-hebrew

Syntax trees, morphology, and linguistic annotations for the Hebrew Bible
Other
36 stars 9 forks source link

Create mapping for Groves / MARBLE / MACULA #7

Open jonathanrobie opened 2 years ago

jonathanrobie commented 2 years ago

Create a mapping between Groves, MARBLE, and MACULA at:

  1. The word level, and
  2. The morpheme level
jonathanrobie commented 2 years ago

A morpheme map can be created from @klosoter's OSHB with MARBLE links with a simple XQuery:

declare variable $trees := db:open("macula-hebrew");

<morpheme-map>{
for $m in //*:m[@n]
order by $m/@n
return <m>{$m/@n, attribute marble { $m/@TargetLink}, $trees//*:m[@n = $m/@n]/ancestor::Node[1]/@morphId }</m>
}</morpheme-map>

I am attaching the output.

morpheme-mappings.xml.zip

jonathanrobie commented 2 years ago

This is now checked in under the mappings subdirectory.