Difference between revisions of "Ainu/Transducer"

From LING073
Jump to: navigation, search
(→‎Notes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
== Evaluation ==  
+
== Generator ==
 +
 
 +
=== Initial evaluation of morphological generation ===
 +
 
 +
There are 79 stems in the transducer. 75/115 ain.yaml tests pass (40 fail). 2/20 commonwords.yaml tests pass (18 fail). Generation test has 77/164 ain.yaml tests pass (87 fail).
 +
 
 +
=== Final evaluation of morphological generation ===
 +
 
 +
After changing the grammar dramatically, 78/110 ain.yaml tests pass (32 fail). I added 9 new .twol rules, although only 7 are working. I did not have any before (I only had prefix/suffix tag-matching .twoc rules). Somehow my corpus coverage has gone down to 18.27% of the 925 tokenised words in the corpus.
 +
 
 +
=== Notes ===
 +
 
 +
Adding the .twoc prefix fix for getting rid of paths with odd numbers of feature tags fixed a lot. 77/133 ain.yaml tests pass, 56 fail.
 +
 
 +
 
 +
== Analyser ==
 +
 
 +
=== Evaluation ===
 
The most common unknown words originally were  
 
The most common unknown words originally were  
  
Line 69: Line 86:
  
  
−
Original coverage of these words is 11.19%. Now the coverage is 21.21%.  
+
Original coverage of these words is 11.19%. Now the coverage is 22.76%.  
  
−
There are 79 stems in the transducer. 58/115 ain.yaml tests pass (57 fail). 2/20 commonwords.yaml tests pass (18 fail).
+
There are 79 stems in the transducer. 75/115 ain.yaml tests pass (40 fail). 2/20 commonwords.yaml tests pass (18 fail).
  
 
Now the most common words are  
 
Now the most common words are  
Line 141: Line 158:
 
|}
 
|}
  
−
== Notes ==
+
=== Notes ===
 
After adding "ネ<vbser> ↔ ネ" and "コ<cnjsub> ↔ コ" to the transducer, coverage went from 11.19% to 21.21%.
 
After adding "ネ<vbser> ↔ ネ" and "コ<cnjsub> ↔ コ" to the transducer, coverage went from 11.19% to 21.21%.
  
 
The tests I am struggling with are for adjectivity-- I need a new grammar book to confirm that there are really so many differing adjective endings because the current book I am using as a reference was written over 100 years ago. I have not yet had time to add pronoun or noun affinity tests. The remaining failing tests are irregular cases at which I will have to look more closely.
 
The tests I am struggling with are for adjectivity-- I need a new grammar book to confirm that there are really so many differing adjective endings because the current book I am using as a reference was written over 100 years ago. I have not yet had time to add pronoun or noun affinity tests. The remaining failing tests are irregular cases at which I will have to look more closely.
  
−
It looks like the superlative イヨッタ will not be parsed properly as a prefix due to the 'small-tsu' character ッ. When I change the prefix to remove that character (i.e. イヨタ), the analysis of, for example, イヨタピリカ works (ピリカ<adj><sup>). Otherwise, with the prefix as it should be, the analysis of イヨッタピリカ is "^イ/*イ$ヨ^ッタピリカ/*ッタピリカ$".
 
−
 
−
 
−
The diminutive tests are also slightly wonky, where ト゚カラポ will properly analyze as "^ト゚カラ<n><dim>$" but will fail the test claiming that analysis was not generated. It may have something to do with the diacritic? The test for オッカイポ fails because of the 'small-tsu' character which stops even オッカイ from being analyzed correctly.
 
  
−
== Transducer ==
+
=== Transducer ===
 
Ainu transducer available on [https://github.swarthmore.edu/dwurtel1/ling073-ain my GitHub].
 
Ainu transducer available on [https://github.swarthmore.edu/dwurtel1/ling073-ain my GitHub].
  
 
[[Category:Sp17_Transducers]]
 
[[Category:Sp17_Transducers]]

Latest revision as of 02:57, 27 February 2017

Generator

Initial evaluation of morphological generation

There are 79 stems in the transducer. 75/115 ain.yaml tests pass (40 fail). 2/20 commonwords.yaml tests pass (18 fail). Generation test has 77/164 ain.yaml tests pass (87 fail).

Final evaluation of morphological generation

After changing the grammar dramatically, 78/110 ain.yaml tests pass (32 fail). I added 9 new .twol rules, although only 7 are working. I did not have any before (I only had prefix/suffix tag-matching .twoc rules). Somehow my corpus coverage has gone down to 18.27% of the 925 tokenised words in the corpus.

Notes

Adding the .twoc prefix fix for getting rid of paths with odd numbers of feature tags fixed a lot. 77/133 ain.yaml tests pass, 56 fail.


Analyser

Evaluation

The most common unknown words originally were

Common Words
Word Times Encountered
ネ 60
カ 50
アン 44
タ 30
ワ 29
コ 25
イ 20
ヒ 18
ピ 16
ルウェ 16
パ 16
ㇺ 14
ㇷ 14
ウタ 14
セコ 13
ハウェアン 13
キ 12
クニ 10
ニ 9
ヤㇰ 9


Original coverage of these words is 11.19%. Now the coverage is 22.76%.

There are 79 stems in the transducer. 75/115 ain.yaml tests pass (40 fail). 2/20 commonwords.yaml tests pass (18 fail).

Now the most common words are

Common Words
Word Times Encountered
カ 50
アン 44
タ 30
ワ 29
イ 20
ヒ 18
ピ 16
ルウェ 16
パ 16
ㇺ 14
ㇷ 14
ウタ 14
セコ 13
ハウェアン 13
キ 12
クニ 10
ニ 9
ヤㇰ 9
チュㇷ 8
カノ 8

Notes

After adding "ネ<vbser> ↔ ネ" and "コ<cnjsub> ↔ コ" to the transducer, coverage went from 11.19% to 21.21%.

The tests I am struggling with are for adjectivity-- I need a new grammar book to confirm that there are really so many differing adjective endings because the current book I am using as a reference was written over 100 years ago. I have not yet had time to add pronoun or noun affinity tests. The remaining failing tests are irregular cases at which I will have to look more closely.


Transducer

Ainu transducer available on my GitHub.