Difference between revisions of "Judeo-Tat/Disambiguation"
(→Final evaluation of ambiguity) |
(→Final evaluation of ambiguity) |
||
| Line 5: | Line 5: | ||
After adding this word and several other words needed to full define the sentences I was using for disambiguation, I have a corpus coverage of 37.78%. | After adding this word and several other words needed to full define the sentences I was using for disambiguation, I have a corpus coverage of 37.78%. | ||
| + | |||
| + | I made my rules based on whether or not the word after "е" was a classifier or not. If it was, then "е" was an article, and if it wasn't, it was an adverb. | ||
| + | |||
| + | After implementing the rules, this is what I had for my two example sentences. | ||
| + | |||
| + | The first should have "е" as an article. | ||
| + | |||
| + | <code>echo "ме е доне гендуьме егужевоз фуберденуьм" | apertium -d . jdt-disam</code> | ||
| + | |||
| + | "I had trouble swallowing a single grain of wheat" | ||
| + | <pre> | ||
| + | "<ме>" | ||
| + | "ме" prn pers p1 sg | ||
| + | "<е>" | ||
| + | "е" art p1 | ||
| + | ; "е" adv REMOVE:9 | ||
| + | "<доне>" | ||
| + | "доне" class | ||
| + | "<гендуьме>" | ||
| + | "гендуьм" n dat | ||
| + | "<егужевоз>" | ||
| + | "гуж" n loc ins | ||
| + | "<фуберденуьм>" | ||
| + | "фубер" n prs p1 | ||
| + | "<.>" | ||
| + | "." sent | ||
| + | </pre> | ||
| + | And the second should have "е" as an adverb. | ||
| + | |||
| + | <code>echo "ез егеми вебируьтгьо одомигьо е у согъ мунд" | apertium -d . jdt-disam | ||
| + | </code> | ||
| + | |||
| + | "Of those who were on the ship, he alone remained alive" | ||
| + | |||
| + | <pre> | ||
| + | "<ез>" | ||
| + | "ез" abl | ||
| + | "<егеми>" | ||
| + | "геми" n loc | ||
| + | "<вебируьтгьо>" | ||
| + | "вебируьт" vblex past p3 pl | ||
| + | "<одомигьо>" | ||
| + | "одоми" n pl | ||
| + | "<е>" | ||
| + | "е" adv | ||
| + | ; "е" art p1 REMOVE:12 | ||
| + | "<у>" | ||
| + | "у" prn dem sg nom | ||
| + | "<согъ>" | ||
| + | "согъ" adj | ||
| + | "<мунд>" | ||
| + | "мун" vblex aor sg p3 | ||
| + | "<.>" | ||
| + | "." sent | ||
| + | |||
| + | </pre> | ||
==Initial evaluation of ambiguity== | ==Initial evaluation of ambiguity== | ||
Revision as of 01:11, 28 February 2017
Final evaluation of ambiguity
After implementing rules and fixing pronouns, there is an ambiguity of ~1.167.
The word I focused on is "е", which can mean either "only" [adv] or "е" [art].
After adding this word and several other words needed to full define the sentences I was using for disambiguation, I have a corpus coverage of 37.78%.
I made my rules based on whether or not the word after "е" was a classifier or not. If it was, then "е" was an article, and if it wasn't, it was an adverb.
After implementing the rules, this is what I had for my two example sentences.
The first should have "е" as an article.
echo "ме е доне гендуьме егужевоз фуберденуьм" | apertium -d . jdt-disam
"I had trouble swallowing a single grain of wheat"
"<ме>" "ме" prn pers p1 sg "<е>" "е" art p1 ; "е" adv REMOVE:9 "<доне>" "доне" class "<гендуьме>" "гендуьм" n dat "<егужевоз>" "гуж" n loc ins "<фуберденуьм>" "фубер" n prs p1 "<.>" "." sent
And the second should have "е" as an adverb.
echo "ез егеми вебируьтгьо одомигьо е у согъ мунд" | apertium -d . jdt-disam
"Of those who were on the ship, he alone remained alive"
"<ез>" "ез" abl "<егеми>" "геми" n loc "<вебируьтгьо>" "вебируьт" vblex past p3 pl "<одомигьо>" "одоми" n pl "<е>" "е" adv ; "е" art p1 REMOVE:12 "<у>" "у" prn dem sg nom "<согъ>" "согъ" adj "<мунд>" "мун" vblex aor sg p3 "<.>" "." sent
Initial evaluation of ambiguity
There is initially an ambiguity of ~1.308.
All of my pronouns were ambiguous, which I fixed.
- ме<prn><pers><p1><sg> ↔ ме
- туь<prn><pers><p2><sg> ↔ туь
- иму<prn><pers><p1><pl> ↔ иму
- ишму<prn><pers><p2><pl> ↔ ишму
- и<prn><dem><sg><nom> ↔ и
- у<prn><dem><sg><nom> ↔ у
- и<prn><dem><sg> ↔ ире
- у<prn><dem><sg> ↔ уре
- и<prn><dem><pl> ↔ игьо
- у<prn><dem><pl> ↔ угьо