Maltese and Hebrew/Final report
Writing the Maltese morphological analyser was the hardest task in the project and required most of the time. That being said, I am very pleased with the results we got.
Verbs were a challenge; lttoolbox pardefs are not capable of fully handling Maltese verbs, so here we created Python scripts that take a CSV file of verb "stems" and some paradigm information, and output full-form lttoolbox entries.
We then used Maltese frequency lists generated from the various corpora, and categorized terms slowly using (educated) guesses by context and usage.
This was a headache but got very good results; within about 2 weeks (and during my exams period) we got to a ~80% coverage of the Maltese corpora.
Documentation about Maltese morphology & grammar is very sparse and unsatisfying. This presented a huge challenge throughout the whole time. Luckily, my ninja mentors were able to figure out ways to learn what's needed. Additionally, we contacted people who previously researched and worked on Maltese and they all were very nice and glad to help out - we were able to use their works and knowledge in a few critical points in the project.
- The verbs
Analysing Maltese verbs has proved to be the biggest issue and I don't feel we got it right yet. We ended up having two scripts that generate verb forms from given stems lists: one I initially wrote using examples from Teach Yourself Maltese and the web, that has a lot of problems and errors in it, and a better one written by Fran who did a much more careful and thorough work. One of the most important things that remains to be done is merging this into one script that's written intelligently using the information laid out in the new grammar book we found.
In comparison, writing he.dix and handling Hebrew generation was fairly easy. Other than my own Hebrew knowledge, this was mostly due to the research I've done before GSoC started (for my application).
We have tweaked some code from hspell, an open-source Hebrew spellchecker project, to get most of the open-category terms. This way we easily got good enough coverage of nouns, verbs, adjectives, etc.
For closed-category terms, I added a lot of them at the beginning of the project, and then fixed what was needed as we went alone with the bidix.
The mt→he bidix work was a very 'automatic' task. A lot of the terms we previously added to mt.dix came with gloss so we were able to use it for the translations. For the rest, we used all kinds of translation tools and dictionaries, or learned/guestimated the translation by the context in the corpus. This took a long time and wasn't fun. But we were able to get a good coverage percentage (in most categories, we got to 99-100%).
 Transfer rules
Unfortunately, due to time limitations I did not get to do a lot of these. We wrote a few transfer rules when we recognized obvious transfer errors in some tests, but we didn't have time to properly test the dictionary and go over example sentences.
The things we did fix were very easy to do, probably because of similarities between Maltese and Hebrew grammars. So that's promising.
apertium.mt-he.mt.dix: 3,789 lemmata; 610,256 surface forms.
apertium.mt-he.he.dix: 20,902 lemmata; 547,272 surface forms.
- Maltese Wikipedia (78.25%, std. dev.: 1.23693)
- Maltese news sites (79.375% , std. dev.: 1.39134)
- Maltese Scannel corpus (79%, std. dev.: 1.9164)
apertium.mt-he.mt-he.t1x: 16 rules.
- Testvoc Summary
on. 24. aug. 11:08:12 +0200 2011 ======================================================= POS Total Clean With @ Clean % With # Clean % prn 520834 518664 0 100 2170 99.58 vblex 5572 5539 0 100 33 99.40 n 3770 2533 463 87.71 774 67.18 adj 2343 403 38 98.37 1902 17.20 np 623 540 83 86.67 0 86.67 adv 156 155 0 100 1 99.35 pr 123 123 0 100 0 100 vaux 92 92 0 100 0 100 num 83 83 0 100 0 100 det 32 32 0 100 0 100 cnjcoo 13 13 0 100 0 100 cnjsub 10 10 0 100 0 100 cnjadv 4 4 0 100 0 100 ij 3 3 0 100 0 100 abbr 3 3 0 100 0 100 rel 1 1 0 100 0 100 =======================================================
 Future work
- Finish working on bidix and monodix files, completing testvoc.
- Retrain the tagger for better handling of Maltese grammar and transfer.
- Add lots more transfer rules.
- Merge the two verb scripts into one that represents a better knowledge of Maltese verbs.
- Fix possessive suffixes on Maltese nouns (only partially done).
- Find out missing gender/number for nouns and adjectives that are marked GD or ND.
Mostly I'd like to thank my mentors Kevin Unhammer and Francis Tyers who have been amazingly helpful and always available. No words can be enough to express my gratitude and how happy I am to have known them and worked with them.
Additionally, as I said I have contacted several people along the way and everyone has been kind and helpful. Many thanks is due to everyone involved, among them:
- My CL professor Dr. Roni Katzir has provided guidance and contacts regarding Hebrew resources.
- Prof. Nachum Dershowitz of the TAU Computer Science faculty has also provided great pointers and contacts.
- The open-source hspell project has been very useful for our work on the Hebrew generator.
- The MILA project for Hebrew CL resources provided access to Hebrew analysers and corpora.
- Prof. Adam Ussishkin of Arizona University consulted us on many subjects regarding Maltese as well as his work on verb conjugation.
- Mr. John J. Camilleri also provided consultation on various subjects in Maltese, as well as many pointers to helpful resources.
- Mr. Michael Spagnol provided us with his work on Maltese nouns.
 See Also
- Maltese and Hebrew GSoC Application.
- Maltese and Hebrew: Listings of work and research updated as we go.
- My GSoC work journal describing my weekly progress.
- Maltese morphological analysis: A live online demo of the Maltese analyser we developed.