Apertium-ara-heb

From Apertium
Revision as of 09:23, 20 April 2015 by Unhammer (talk | contribs) (→‎Resources)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Resources

Using http://compling.hss.ntu.edu.sg/omw/wns/arb.zip and http://compling.hss.ntu.edu.sg/omw/wns/heb.zip we can match up some thousands of entries:

$ get () { awk -vpos=$1 -F'\t' '$1~"-"pos"$" && $2=="lemma"' | sort; }
for pos in n v a r; do 
  echo -n "$pos "
  join -j1 -t$'\t' <(get $pos < arb/wn-data-arb.tab)  <(get $pos <heb/wn-data-heb.tab) | wc -l
done
n 4687
v 1316
a 115
r 82

(We may have to strip the pronounciation diacritics off the Hebrew, should be scriptable?)