Difference between revisions of "Apertium-kan-mar"

From Apertium
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
The goal of this project was to develop a rule-based translation system for Kannada-Marathi pair for Apertium.
The goal of this project was to develop a rule-based translation system for Kannada-Marathi pair for Apertium.


==Kannada==
==Work==
The Kannada monolingual dictionary was developed from scratch as there was no pre-existing work based on Kannada from Apertium.
The Kannada monolingual dictionary was developed from scratch as there was no pre-existing work based on Kannada from Apertium.
The Kannada-Marathi bilingual dictionary was also developed from scratch with the help of Marathi monoligual dictionary.
The Kannada-Marathi bilingual dictionary was also developed from scratch with the help of Marathi monolingual dictionary.


My commits can be accessed at the following link: [https://apertium.projectjj.com/gsoc2018/invo.html commits] or directly in the Apertium repository, [https://github.com/apertium/apertium-kan/commits/master here].<br/>
<br><br>

My commits can be accessed at the following link: [https://apertium.projectjj.com/gsoc2018/invo.html commits] These are the dependent GitHub repositories of my GSoC 2018 project. My GitHub account name is [https://github.com/MissingBytes/ MissingBytes]
This table shows the dependent GitHub repositories of my GSoC 2018 project.
{| class="wikitable"
{| class="wikitable"
|-
|-
! Github repositories
!Apertium Github repositories
|-
|-
| [https://github.com/apertium/apertium-kan Kannada monolingual dictionary ]
| [https://github.com/apertium/apertium-kan Kannada monolingual dictionary ]
Line 18: Line 19:
| [https://github.com/apertium/apertium-mar Marathi monolingual dictionary ]
| [https://github.com/apertium/apertium-mar Marathi monolingual dictionary ]
|}
|}
The link also contains about the installation procedure.<br/>


My GitHub account name is [https://github.com/MissingBytes/ MissingBytes].<br/>
I worked on the Kannada monolingual dictionary and Kannada-Marathi bilingual dictionary from scratch. I haven't made any changes in the Marathi monolingual dictionary.
I worked on the Kannada monolingual dictionary and Kannada-Marathi bilingual dictionary from scratch. I haven't made any changes in the Marathi monolingual dictionary.


Line 31: Line 34:
Coverage is the percentage of words the translation system could analyse(or assign parts of speech tag-MonoDix/map words-BiDix) in a given text. For a translation system, it is necessary to do the morphological analysis using the dictionaries. The morphological analysis of Kannada was difficult due to high agglutinativity and morphological constraints. With the help of wikimedia dumps, we were able to sort down the words in it by frequency and also helped in the calculation of coverage.
Coverage is the percentage of words the translation system could analyse(or assign parts of speech tag-MonoDix/map words-BiDix) in a given text. For a translation system, it is necessary to do the morphological analysis using the dictionaries. The morphological analysis of Kannada was difficult due to high agglutinativity and morphological constraints. With the help of wikimedia dumps, we were able to sort down the words in it by frequency and also helped in the calculation of coverage.


The coverage of Kannada analyser:
The coverage of Kannada analyser:<br/>
Number of stems:22408
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 46: Line 50:
A draft of paper based on FST for Kannada can be viewed [https://docs.google.com/document/d/137f3SQPVImFlWH15bFU9YPd1NEOU9mvVx_SV-nrlPOo/edit?usp=sharing here]
A draft of paper based on FST for Kannada can be viewed [https://docs.google.com/document/d/137f3SQPVImFlWH15bFU9YPd1NEOU9mvVx_SV-nrlPOo/edit?usp=sharing here]


The coverage of Kan-Mar bidix:
The coverage of Kan-Mar bidix:<br/>
Number of stems: 4411
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 58: Line 63:
| 70.62%
| 70.62%
|}
|}


Word error was calculated using the instructions given in [http://wiki.apertium.org/wiki/Evaluation here], using a perl script. The text used was from "Universal Declaration of Human Rights(UDHR)" which are both available in several languages which translated by hand.<br/>The links to [https://www.unicode.org/udhr/d/udhr_kan.html UDHR-Kan] and [https://www.unicode.org/udhr/d/udhr_mar.html UDHR-Mar].<br/>

{| class="wikitable"
|-
! Kannada-Marathi
! Coverage
|-
| Word error rate(PER)
| 96.96%
|-
| Position independent word error(PER)
| 88.21%
|}

This error rate is huge. The translation by this system is literal and the translation of UDHR done by hand need not be literal, maybe because of this reason, the error rate is massive.


==Future work==
==Future work==
There is a long way ahead for a complete Kannada Marathi translation system.
There is a long way ahead for a complete Kannada Marathi translation system.

1. Getting the coverage for both mono-dix and bi-dix above 90%.
1. Getting the coverage for both mono-dix and bi-dix above 90%.

2. The current .twol file is empty. Need to add all the morphographemic rules to it.
2. The current .twol file is empty. Need to add all the morphographemic rules to it.

3. The word order in Kannada and Marathi(Subject-Object-Verb) is almost the same, with some exception when relative clause appear.There are few transfer rules in the bidix. More transfer rules need to be added to all .t1x .t2x and .t3x files.
3. The word order in Kannada and Marathi(Subject-Object-Verb) is almost the same, with some exception when relative clause appear.There are few transfer rules in the bidix. More transfer rules need to be added to all .t1x .t2x and .t3x files.

Latest revision as of 14:42, 13 August 2018

Description[edit]

The goal of this project was to develop a rule-based translation system for Kannada-Marathi pair for Apertium.

Work[edit]

The Kannada monolingual dictionary was developed from scratch as there was no pre-existing work based on Kannada from Apertium. The Kannada-Marathi bilingual dictionary was also developed from scratch with the help of Marathi monolingual dictionary.

My commits can be accessed at the following link: commits or directly in the Apertium repository, here.

This table shows the dependent GitHub repositories of my GSoC 2018 project.

Apertium Github repositories
Kannada monolingual dictionary
Kannada-Marathi bilingual dictionary
Marathi monolingual dictionary

The link also contains about the installation procedure.

My GitHub account name is MissingBytes.
I worked on the Kannada monolingual dictionary and Kannada-Marathi bilingual dictionary from scratch. I haven't made any changes in the Marathi monolingual dictionary.

The work I did can be downloaded here in tar.gz format.

The work I did can be downloaded here in .zip format.

Summary[edit]

A finite state transducer(FST) for Kannada and a bilingual dictionary for Kannada-Marathi was developed in this project. Morphological analyzer is a tool used for decomposition of inflected words into its base form and to obtain its grammatical information. Generation is the exact reverse process of analysis i.e. obtaining the inflected word from its base form and grammatical information. Morphology and generation is an essential part of rule-based machine translation, an application of Natural Language Processing(NLP).

Coverage[edit]

Coverage is the percentage of words the translation system could analyse(or assign parts of speech tag-MonoDix/map words-BiDix) in a given text. For a translation system, it is necessary to do the morphological analysis using the dictionaries. The morphological analysis of Kannada was difficult due to high agglutinativity and morphological constraints. With the help of wikimedia dumps, we were able to sort down the words in it by frequency and also helped in the calculation of coverage.

The coverage of Kannada analyser:
Number of stems:22408

Corpus Coverage
WikiMedia Corpus 85.70%
cuni 78.94%

A draft of paper based on FST for Kannada can be viewed here

The coverage of Kan-Mar bidix:
Number of stems: 4411

Corpus Coverage
WikiMedia Corpus 76.36%
cuni 70.62%


Word error was calculated using the instructions given in here, using a perl script. The text used was from "Universal Declaration of Human Rights(UDHR)" which are both available in several languages which translated by hand.
The links to UDHR-Kan and UDHR-Mar.

Kannada-Marathi Coverage
Word error rate(PER) 96.96%
Position independent word error(PER) 88.21%

This error rate is huge. The translation by this system is literal and the translation of UDHR done by hand need not be literal, maybe because of this reason, the error rate is massive.

Future work[edit]

There is a long way ahead for a complete Kannada Marathi translation system.

1. Getting the coverage for both mono-dix and bi-dix above 90%.

2. The current .twol file is empty. Need to add all the morphographemic rules to it.

3. The word order in Kannada and Marathi(Subject-Object-Verb) is almost the same, with some exception when relative clause appear.There are few transfer rules in the bidix. More transfer rules need to be added to all .t1x .t2x and .t3x files.