Difference between revisions of "Apertium-ara-heb"

From Apertium
Jump to navigation Jump to search
Line 10: Line 10:
* http://babelnet.org/search?word=قال&lang=AR&langTrans=HE is NC
* http://babelnet.org/search?word=قال&lang=AR&langTrans=HE is NC
* http://compling.hss.ntu.edu.sg/omw/ – the Hebrew and Arabic wordnets are GPL and CC-BY-SA, resp.
* http://compling.hss.ntu.edu.sg/omw/ – the Hebrew and Arabic wordnets are GPL and CC-BY-SA, resp.
** <pre>$ get () { awk -vpos=$1 -F'\t' '$1~"-"pos"$" && $2=="lemma"' | sort; }
<pre>$ 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
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
n 4687

Revision as of 09:21, 20 April 2015

Resources

$ 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