Difference between revisions of "Warlpiri/Transducer"
(→Notes) |
|||
| Line 1: | Line 1: | ||
| − | == | + | ==Code== |
| + | The code can be found here: [https://github.swarthmore.edu/tjones5/ling073-wbp] | ||
==Notes== | ==Notes== | ||
| Line 12: | Line 13: | ||
There's one failed test within the Tesnse-Like Auxiliaries, the rest of which all pass. This is "rna-jana", for which the auxiliary in the perfect tense is null. Given that in all other tenses, "rna" and "jana" are attached with dashes, the generated form for this instance is "-rna-jana". I may have to implement Spell Relax to deal with the presence/absence of the dashes across the corpus. | There's one failed test within the Tesnse-Like Auxiliaries, the rest of which all pass. This is "rna-jana", for which the auxiliary in the perfect tense is null. Given that in all other tenses, "rna" and "jana" are attached with dashes, the generated form for this instance is "-rna-jana". I may have to implement Spell Relax to deal with the presence/absence of the dashes across the corpus. | ||
| + | I also added the common word "manu", which means "and". By adding "{{morphTest|manu{{tag|cnjcoo}}|manu}}" to the transducer, coverage went from 7.91% to 9.01%. | ||
| + | |||
| + | ==Evaluation== | ||
| + | |||
| + | Total number of stems in the transducer: | ||
| + | |||
| + | Current coverage over the combined corpus: 9.01% | ||
| + | |||
| + | Top unknown words: | ||
| + | |||
| + | Number of passing tests in wbp.yaml: 62 / 120 | ||
| + | Number of passing tests in commonwords.yaml: 1 / 4 | ||
[[Category:Sp17_Transducers]] | [[Category:Sp17_Transducers]] | ||
Revision as of 16:35, 18 February 2017
Code
The code can be found here: [1]
Notes
There are still several tests that don't pass, because I have not yet added the necessary forms to the transducer. For example:
- Grammatical and Derivational Case Suffixes
- Clitics and Particles
- Directional Endings on verbs
- Double Dative
- Specific nominal, auxiliary, preverb, and verb examples
Many of these should be fairly straight-forward to implement.
There's one failed test within the Tesnse-Like Auxiliaries, the rest of which all pass. This is "rna-jana", for which the auxiliary in the perfect tense is null. Given that in all other tenses, "rna" and "jana" are attached with dashes, the generated form for this instance is "-rna-jana". I may have to implement Spell Relax to deal with the presence/absence of the dashes across the corpus.
I also added the common word "manu", which means "and". By adding "manu<cnjcoo> ↔ manu" to the transducer, coverage went from 7.91% to 9.01%.
Evaluation
Total number of stems in the transducer:
Current coverage over the combined corpus: 9.01%
Top unknown words:
Number of passing tests in wbp.yaml: 62 / 120
Number of passing tests in commonwords.yaml: 1 / 4