Difference between revisions of "User:Skh/Application GSoC 2010"

From Apertium
Jump to navigation Jump to search
Line 38: Line 38:
 
* languages aren't going anywhere and people need to talk to each other, usable machine translation can be a real help in people's lives
 
* languages aren't going anywhere and people need to talk to each other, usable machine translation can be a real help in people's lives
   
=== Why is it that they are interested in the Apertium project? ===
+
=== Why is it that you are interested in the Apertium project? ===
  +
* became interested through GSoC (if that's interesting)
  +
* it's open source! there are thousands of open-source editors, irc clients and tetris clones, but NLP applications that are of practical use are often closed source and rather expensive. which is bad for humanity.
  +
* I like the architecture: small unix tools in a chain that do one thing only and can be used differently for different language pairs
  +
* variety of languages already in the project
  +
* whether intentional or not, I think that starting with the shallow-transfer approach on pairs of very similar languages, and later widening the functionality to cover language pairs that are not as close, seems like a solid approach to me
  +
* honest but friendly, helpful people on IRC and mailing list
   
 
== Project ==
 
== Project ==

Revision as of 22:12, 31 March 2010

Improving multiword support in Apertium

This is a first and very rough draft. Comments are always welcome, but a lot is still missing.

About me

Name

Sonja Krause-Harder

Contact information

E-mail: krauseha@gmail.com IRC: skh on freenode

List your skills and give evidence of your qualifications.

Practical experience

  • 7 years at SuSE Linux, Nuernberg (now Novell), without formal qualification, because I wanted to work on Linux and open source
  • Software integration, RPM packaging and maintenance
  • also work on "internal" (still open source) tool: http://swamp.sf.net/, designed the workflow description language and the core workflow engine
  • Most programming experience in Java, Bash. Also some C++, Perl, tcl, PHP.
  • Always happy to provide references

Academics

  • Now 2nd year undergraduate in Linguistics (two majors actually, historical and computational linguistics).
  • Courses on formal languages, Data structures and algorithms
  • Practical experience with JSLIM for formal languages as well as morphological analysis of natural languages (syntax comes next ;-) )

Language skills

  • native: German, near-native: English
  • some: French, Czech
  • little: Italian, Spanish, Dutch, Icelandic
  • ancient: Sanskrit, Ancient Greek, some Latin
  • confident with dictionaries and grammars, happy to learn bits and pieces of all languages


Motivation

Why is it you are interested in machine translation?

  • practical application of theories learned
  • real-world engineering paired with lots of current and very active research
  • languages aren't going anywhere and people need to talk to each other, usable machine translation can be a real help in people's lives

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

  • became interested through GSoC (if that's interesting)
  • it's open source! there are thousands of open-source editors, irc clients and tetris clones, but NLP applications that are of practical use are often closed source and rather expensive. which is bad for humanity.
  • I like the architecture: small unix tools in a chain that do one thing only and can be used differently for different language pairs
  • variety of languages already in the project
  • whether intentional or not, I think that starting with the shallow-transfer approach on pairs of very similar languages, and later widening the functionality to cover language pairs that are not as close, seems like a solid approach to me
  • honest but friendly, helpful people on IRC and mailing list

Project

The problem

Apertium already supports multiword lexical units (short: multiwords), but there are some important phenomena that can't be adequately handle yet:

  • discontiguous multiwords
  • separable verbs (possibly just a weird variation of the above?)
  • complex multiwords

Proposed solution

  • find a way to describe the various kinds of multiwords in the dictionaries
  • if necessary, enhance the DTD for that
  • add another step after the morphological analysis, but before the tagger, that recognizes these multiwords and either changes the result of the morphological analysis, or offers the multiword analysis as another option for the tagger
  • and the other way round: in the generation phase, expand the multiwords / reorder their parts so that lt-proc -g can handle it

Reasons why Google and Apertium should sponsor it

A description of how and who it will benefit in society

Work plan

Timeline

  • Now: read code, work on any language pair (en-de because I know it, nl-de was suggested by Unhammer) to get acquainted with the system and the work of a language pair maintainer, really understand (as in: look at data stream) the various phases and what each binaries does
  • Community bonding phase: start collecting more examples for multiwords that fit into my three categories, find out if there are more categories (not necessarily to be implemented as well, but to have the broader picture), build testcases / sample dictionaries / sample texts from the examples, ponder and discuss dictionary syntax / DTD changes (if any) on mailing list
  • Week 1: Implement changes to DTD and dictionary parsing / compiling in lt-proc
  • Week 2: write new module to run between lt-proc and apertium-tagger, parse compiled dictionary (?)
  • Week 3:
  • Week 4:
  • Deliverable #1
  • Week 5:
  • Week 6:
  • Week 7: Write detailed documentation how to use these multiwords
  • Week 8:
  • Deliverable #2
  • Week 9:
  • Week 10:
  • Week 11:
  • Week 12:
  • Project completed


List any non-Summer-of-Code plans you have for the Summer

University Summer term until July 24th, so for the first ~8 weeks of the program I can realistically offer 20 hours/week. After that I'll be available full-time. I am currently working 20 hours/week for a small local software company, so I am used to managing my time and handle both university and a job at the same time. If I am accepted into the GSoC program I plan to take an unpaid leave from that job for the 12 weeks of programming.