Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create mapping for Groves / MARBLE / MACULA #7

Open
jonathanrobie opened this issue Mar 25, 2022 · 2 comments
Open

Create mapping for Groves / MARBLE / MACULA #7

jonathanrobie opened this issue Mar 25, 2022 · 2 comments
Assignees

Comments

@jonathanrobie
Copy link
Contributor

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

  1. The word level, and
  2. The morpheme level
@jonathanrobie
Copy link
Contributor Author

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
Copy link
Contributor Author

This is now checked in under the mappings subdirectory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants