User:Agneet42/proposal

From Apertium
Revision as of 13:08, 3 April 2017 by Agneet42 (talk | contribs)
Jump to navigation Jump to search


Contact Info

Name: Agneet Chatterjee

E-mail: agneet257@gmail.com

IRC: agneet42

Location: India

Timezone: UTC+05:30

Why is it you are interested in machine translation?

"Because language plays such a fundamental part in connecting each of us as thinking creatures with the world around us, the subtle nuances of language (which are different even in similar tongues, say the Latin-derived Spanish and Portuguese) actually shape how we think about the world. Learning something of how somebody else speaks from a foreign country actually helps you to understand their mindset a little." I am interested in Machine Translation primarily for two reasons; Firstly, I believe that in this generation of information exchange, one of the biggest challenges is sharing and understanding knowledge in different languages. This is where machine translation comes into picture and interests me for it works for a unified purpose. Secondly, I have deep-rooted interests coupled with experience in the field of Natural Language processing. And I hope to make a difference in the field of machine translation.

Why is it that you are interested in the Apertium project?

Apertium is free/open-source machine translation platform, which means that developers from all over the world can join and work upon new language pair/s to facilitate better translation. Apertium uses Unix “pipelines” which is very useful for quick diagnosis and debugging, enabling me to use additional modules between existing modules, like using the HFST(Helsinki finite-state transducer) for morphological analysis. Furthermore, Apertium uses the novel approach of Rule Based Machine Translation where no bilingual texts are required which makes it possible to create translation systems for languages that have no texts in common, or even no digitized data whatsoever and also RBMT is domain independent which means that rules are usually written in a domain independent manner, so the vast majority of rules will "just work" in every domain, and only a few specific cases per domain may need rules written for them.

Which of the published tasks are you interested in?

Adopting the Hindi<->Bengali language pair.

Why should Google and Apertium sponsor it?

Firstly, Hindi and Bengali are respectively the 4th and 7th most spoken languages in the world with ~295 and ~200 million speakers each. And more so, the speakers of these languages are spread all across the globe. A hindi-bengali translation will not only aid speakers but also facilitate business transactions happening in these bustling business havens.

Currently, there is no single go-to platform for Machine Translation between these two languages, the only one being Google Translate but it has it's own limitations:

  1. They are not available offline, therefore less accessible.
  2. They are not open source. Not everybody can contribute.

Apertium makes sure that the above issues do not come in it's path, and that is what makes it a suitable developmental ground for this (or any other) language pair. Furthermore, a hindi-bengali translation will make it easier for translation of similar languages like bengali such as hindi-assamese and hindi-oriya.

How and who will benefit in society

The monolingual dictionaries can be used as a stemmer for any search engine for Hindi/Bengali. It could also used as a spell checker. The effect of these in other applications like, anaphora resolution, question answering can also be explored. The hindi-bengali translation will also help in accurate translation of manuscripts that are widely present in both the languages and make available the culture of both the forums to each other.

Literature Review

Hindi and Bengali both originated from Old Indo-Aryan family of languages and are similar in structure. They have lot of similarities even though there are differences in the form of uses and positions of the words in corresponding sentences. Hindi pronouns can be broadly categorized into seven types namely, Personal,Demonstrative, Indefinite, Relative-Correlative, Possessive, Interrogative and Reflexive. Among these Hindi pronouns some are used both as Personal, Demonstrative, and Relative-Correlative pronouns. In Bengali, there are different pronouns for each of these uses. As the list of Hindi such pronouns is small and their uses are limited, it is possible to differentiate each use and find their Bengali translations using a set of linguistic rules. Some Hindi pronouns are used to demonstrate both animate and inanimate nouns and as third person personal pronouns. For these three uses a single Hindi pronoun is used where in Bengali there are dedicated pronouns for each use. Given such a Hindi pronoun, we have to find its use in the corresponding sentence and translate it to corresponding Bengali pronoun.

Current scenario

Presently,there exists a bengali and a hindi monolingual dictionary and a bengali-hindi bidix. In the bengali dictionary, the coverage needs to be expanded. The verb section faces difficulty in treating multi-word verbs and the negative form are not well recognised. This is because several forms of the verb like infinitives and participles demand a negative particle before the verb while fnite forms require the particle to follow the verb and in some cases as enclitic. The bilingual dictionary deals with very less coverage and misses out on very common and important nouns.

The goal of this project is to expand both the monolingual dictionaries and the bilingual dictionaries along with adding selection(structural and lexical) rules and constraint grammar rules, as they appear.

Solution/s

  1. Hindi nominal suffixes को(ko),का(kA),से(se),पे(pe), etc. are also used with Hindi pronouns. Different uses of these Hindi pronominal suffixes have different Bengali translations. The most frequent corresponding Bengali pronominal suffixes are কে(ke), র(ra),থেকে(theke),এ(e), etc. The suffixes which have different translations can be disambiguated with the help of rules.
  2. Add a constraint grammar which deals effectively with tenses/prepositions/verbs. CG should also handle other-POS ambiguities.
  3. Tagger training to solve inflection issues.

Work Plan

Major Goals

  1. Add rules:transfer, lexical, constraint grammar.
  2. Good WER on hin<->ben language pair. (Target<=20%)
  3. Target Coverage ~ 70%
  4. Clean testvoc.

Post-Application Period

  1. Finish Coding challenge with WER~55%
  2. Learn Constraint Grammar and Lexical Selection rules.
  3. Add/Edit/Expand both the hindi and bengali dictionaries

Community Bonding Period

  1. Study ways and resources which could automate significant portions of the task
  2. Get monolingual and bilingual aligned corpora for further analysis.
  3. Learn to use dictionaries and tools in practice.
  4. Prepare a list of words sorted by frequency of occurrence for Hindi and Bengali dictionary.

Week 1

  1. Write test scripts (make use of the existing language-pair regression and corpus tests)
  2. Even up noun entries in the dixes according to the frequency list. Testvoc nouns.

Week 2

  1. Continue evening up nouns. Testvoc nouns.
  2. Improve morphological analyser of apertium-ben, if possible.

Week 3

  1. Even up verbs, adjectives and adverbs. Testvoc.
  2. Add the missing close-class words (pronouns, prepositions, conjunctions, determiners, numbers, modal verbs and the like) to the dictionaries.

Week 4

  1. Continue evening up verbs, adjectives and adverbs. Testvoc.
  2. Work on Bengali-Hindi bilingual dictionary; add open-class words (nouns, verbs, adjectives, adverbs) according to the frequency list.

Deliverable #1: Dictionaries covering most of the words for both languages

Week 5

  1. Gather translational data with the use of parallel corpora.
  2. WER expected to go down by 10-15%.
  3. Add basic transfer rules[generated from post-edit] for the purpose of testing, verify the tag definition files.

Week 6

  1. Add more transfer rules for pronouns, verbs, adverbs and adjectives.
  2. Work further on the bilingual dictionary.
  3. Work on morphological disambiguation.

Week 7

  1. Prepare a list of word sequences that frequently appear together for both the languages(using the apriori algorithm)
  2. Add multiwords with translations to the dictionaries.
  3. Work further on transfer rules[verbs etc.]
  4. Clean testvoc for all classes.
  5. Expected results : WER ~ 30%, Coverage ~ 60%

Week 8

  1. Work on Morphological Disambiguation.

Deliverable #2: Bilingual dictionary completed and some Morphological disambiguation done.

Week 9

  1. Obtain hand-tagged training corpora.
  2. Work on tag definition files.
  3. Carry out supervised tagger training for the languages.
  4. Work on Constraint Grammar and disambiguations.

Week 10

  1. Work on transfer rules.
  2. Begin with chunking[T2x and T3x]

Week 11

  1. Thorough Regression and Corpus Testing.
  2. Check dictionaries manually to spot possible errors followed by bugfixes(if any)

Week 12

  1. Evaluation of results and documentation.
  2. WER ~ <=20%, Coverage ~ 70%

Deliverable #3: Language pair ready for or close to trunk

Skills and Qualifications

I am a second year undergrad pursuing Computer Science and Technology from Jadavpur University, Kolkata, India. I have a steady coding experience in C, C++, Java and Python. I am also comfortable with XML and bash scripting. I have worked with the the Python libraries of TensorFlow, numpy and OpenCV before. I have an interest and a passion for Natural Language Processing and it's variants and I have undertaken projects in the same domain. Word Recognition using LSTM's[1], AudioQA[2] and Deep Speech. Furthermore, in the near future I wish to undertake the following project/s : Entailment and VisualQA. When it comes to languages, I am a native Bengali who can read/write both English and Hindi, and have learned Spanish and French over the years.

Coding Challenge

To be upgraded post-application period: https://github.com/agneet42/Apertium-Ben-Hin

  1. Set up the working environment (installation and configuration).
  2. Entries added into both the monolingual and bilingual dictionaries.
  3. Taking into consideration the Bengali nouns, all the nominal suffixes have been identified. It has been noticed that the Bengali nominal suffixes consist of the classifiers, case markers and emphatic markers.

Other commitments

I have no other commitments this summer. I plan on giving around 42 hours per week to the project. My college commences from August, even after which I can give ~30 hours for the project. I also do not have any plans of an impending vacation.

References

  1. Translations of Ambiguous Hindi Pronouns to Possible Bengali Pronouns [3]
  2. Development of a morphological analyser for Bengali [4]
  3. Bengali Noun Morphological Analyzer [5]
  4. Morphological Analysis of Inflecting Compound Words in Bangla [6]
  5. A long introduction to transfer rules [7]
  6. Chunking: A full example [8]
  7. Monodix Basics [9]
  8. Finding errors in dictionaries [10]
  9. Apertium: Official Documentation [11]