Maltese and Hebrew/Final report

From Apertium
Jump to navigation Jump to search

Description

Maltese

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.

We used the very little grammar resources we had[1][2] for adding closed-category terms and learning about morphological rules in general.

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.

Hebrew

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.

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 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.

Statistics

Dictionaries
  • Maltese monodix: 3,789 lemmata; 610,256 surface forms.
  • Hebrew monodix: 20,902 lemmata; 547,272 surface forms.
Coverage
  • 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)
Rules
Error rate

Future work

  1. Finish working on bidix and monodix files, completing testvoc.
  2. Retrain the tagger for better handling of Maltese grammar and transfer.
  3. Add lots more transfer rules.
  4. Merge the two verb scripts into one that represents a better knowledge of Maltese verbs.
  5. Fix possessive suffixes on Maltese nouns (only partially done).
  6. Find out missing gender/number for nouns and adjectives that are marked GD or ND.

Thanks

Mostly I'd like to thank my mentors [User:Unhammer|Kevin Unhammer] and [Francis Tyers|User: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

Footnotes

  1. J. Aquilina (1994), Teach Yourself Maltese. [1]
  2. A. Borg (1997), Maltese (Comparative Grammar). [2]