Difference between revisions of "Ideas for Google Summer of Code"

From Apertium
Jump to navigation Jump to search
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="background-color:pink; text-align:center; border: 1px solid crimson; padding: 1ex">This page has not been updated for GSoC 2021 yet. Some of these projects were completed in 2020, and none are adjusted for 2021 only allowing half the working hours of previous years.</div>
 
 
 
{{TOCD}}
 
{{TOCD}}
 
This is the ideas page for [[Google Summer of Code]], here you can find ideas on interesting projects that would make Apertium more useful for people and improve or expand our functionality. If you have an idea please add it below, if you think you could mentor someone in a particular area, add your name to "Interested mentors" using <nowiki>~~~</nowiki>
 
This is the ideas page for [[Google Summer of Code]], here you can find ideas on interesting projects that would make Apertium more useful for people and improve or expand our functionality. If you have an idea please add it below, if you think you could mentor someone in a particular area, add your name to "Interested mentors" using <nowiki>~~~</nowiki>
Line 21: Line 19:
 
If you're a student trying to propose a topic, the recommended way is to request a wiki account and then go to <pre>http://wiki.apertium.org/wiki/User:[[your username]]/GSoC2020Proposal</pre> and click the "create" button near the top of the page. It's also nice to include <code><nowiki>[[Category:GSoC_2020_student_proposals]]</nowiki></code> to help organize submitted proposals.
 
If you're a student trying to propose a topic, the recommended way is to request a wiki account and then go to <pre>http://wiki.apertium.org/wiki/User:[[your username]]/GSoC2020Proposal</pre> and click the "create" button near the top of the page. It's also nice to include <code><nowiki>[[Category:GSoC_2020_student_proposals]]</nowiki></code> to help organize submitted proposals.
   
== Language Ideas ==
+
== Ideas ==
   
These are ideas that involve working with particular languages.
 
 
<!-- See https://github.com/apertium/apertium-anaphora
 
 
{{IdeaSummary
 
{{IdeaSummary
| name = Anaphora resolution for machine translation
+
| name = Python API for Apertium
| difficulty = hard
+
| difficulty = medium
| skills = C++, XML, Python
+
| skills = C++, Python
| description = Write a program to resolve anaphora and include it in the Apertium translation pipeline.
+
| description = Update the Python API for Apertium to expose all Apertium modes and test with all major OSes
  +
| rationale = The current Python API misses out on a lot of functionality, like phonemisation and segmentation and doesn't work for some OSes like Debian.
| rationale = Apertium has a problem with long distance dependencies in terms of agreement and co-reference. For example, deciding which determiner to use when translating from Spanish "su" to English "his, her, its". The objective of this task is to make a system to resolve anaphora and integrate it into a translation pipeline.
 
 
| mentors = [[User:Francis Tyers|Francis Tyers]]
 
| mentors = [[User:Francis Tyers|Francis Tyers]]
| more = /Anaphora resolution
+
| more = /Python API
 
}}
 
}}
-->
 
   
 
{{IdeaSummary
 
{{IdeaSummary
  +
| name = Web API extensions
| name = Bring a released language pair up to state-of-the-art quality
 
 
| difficulty = medium
 
| difficulty = medium
  +
| skills = Python
| skills = XML, a scripting language (Python, Perl), good knowledge of the language pair adopted.
 
  +
| description = Update the web API for Apertium to expose all Apertium modes
| description = Take a released language pair, and drastically improve the performance both in terms of coverage, and in terms of translation quality. This will involve working with dictionaries, transfer rules, scripting, corpora. The objective is to make an Apertium language pair state-of-the-art, or close to state-of-the-art in terms of translation quality. This will involve improving coverage to 95-98% on a range of corpora and decreasing [[word error rate]] by 30-50%. For example if the current word error rate is 30%, then it should be reduced to 15-20%.
 
  +
| rationale = The current Web API misses out on a lot of functionality, like phonemisation and segmentation
| rationale = Apertium has quite a broad coverage of language pairs, but few of these pairs offer state-of-the-art translation quality. We think broad is important, but deep coverage is important too.
 
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:Mlforcada|Mikel Forcada]], [[User:Xavivars|Xavi Ivars]], [[User:Ilnar.salimzyan|Ilnar Salimzianov]]
+
| mentors = [[User:Francis Tyers|Francis Tyers]]
| more = /Make a language pair state-of-the-art
+
| more = /Apertium APY
 
}}
 
}}
   
 
{{IdeaSummary
 
{{IdeaSummary
| name = Adopt an unreleased language pair
+
| name = Develop a morphological analyser
 
| difficulty = easy
 
| difficulty = easy
  +
| skills = XML
| skills = XML, a scripting language (Python, Perl), good knowledge of the language pair adopted.
 
  +
| description = Write a morphological analyser and generator for a language that does not yet have one
| description = Take on an orphaned unreleased language pair, and bring it up to release quality results. What this quality will be will depend on the language pair adopted, and will need to be discussed with the prospective mentor. This will involve writing linguistic data (including morphological rules and transfer rules &mdash; which are specified in a declarative language &mdash; and possibly [[Constraint Grammar]] rules if that is relevant)
 
  +
| rationale = A key part of an Apertium machine translation system is a morphological analyser and generator. The objective of this task is to create an analyser for a language that does not yet have one.
| rationale = Apertium has a few pairs of languages (e.g. mt-he, ga-gd, ur-hi, pl-cs, sh-ru, etc...) that are orphaned, they don't have active maintainers. A lot of these pairs have a lot of work already put in, just need another few months to get them to release quality. See also [[Incubator]]
 
  +
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:Firespeaker|Jonathan Washington]]
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:Jimregan|Jimregan]], [[User:Kevin Scannell|Kevin Scannell]], [[User:Trondtr|Trondtr]], [[User:Unhammer|Unhammer]], [[User:Darthxaher|Darthxaher]], [[User:Firespeaker|Firespeaker]], [[User:Hectoralos|Hectoralos]], [[User:Krvoje|Hrvoje Peradin]], [[User:Jacob Nordfalk|Jacob Nordfalk]], [[User:Mlforcada|Mikel Forcada]], [[User:Vin-ivar|Vinit Ravishankar]], [[User:Aida|Aida Sundetova]], [[User:Xavivars|Xavi Ivars]], [[User:Ilnar.salimzyan|Ilnar Salimzianov]], [[User:Sevilay bayatlı|Sevilay Bayatlı]]
 
| more = /Adopt a language pair
+
| more = /Morphological analyser
 
}}
 
}}
   
 
{{IdeaSummary
 
{{IdeaSummary
  +
| name = Support for Enhanced Dependencies in UD Annotatrix
| name = apertium-separable language-pair integration
 
| difficulty = Medium
 
| skills = XML, a scripting language (Python, Perl), some knowledge of linguistics and/or at least one relevant natural language
 
| description = Choose a language you can identify as having a good number of "multiwords" in the lexicon. Modify all language pairs in Apertium to use the [[Apertium-separable]] module to process the multiwords, and clean up the dictionaries accordingly.
 
| rationale = Apertium-separable is a newly developed module to process lexical items with discontinguous dependencies, an area where Apertium has traditionally fallen short. Despite all the module has to offer, it has only been put to use in small test cases, and hasn't been integrated into any translation pair's development cycle.
 
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:Firespeaker]]
 
| more = /Apertium separable
 
}}
 
 
{{IdeaSummary
 
| name = Bring Apertium Occitan--French closer to posteditable quality.
 
 
| difficulty = medium
 
| difficulty = medium
  +
| skills = NodeJS
| skills = GNU/Linux advanced user, bash, git, XML editing, standard Occitan, French.
 
  +
| description = UD Annotatrix is an annotation interface for Universal Dependencies, but does not yet support all functionality
| description = The idea is to make Occitan output easier to postedit and French output easier to understand. This entails increasing the monolingual and bilingual dictionaries, improving disambiguation, and writing new structural transfer rules.
 
  +
| rationale =
| rationale = The [https://github.com/apertium/apertium-oci-fra Occitan--French language pair] has been recently published. This language pair is of strategic importance for the Occitan language, as Apertium offers the only machine translation system for this language pair.
 
| mentors = [[User:Mlforcada|Mikel Forcada]], mentors welcome.
+
| mentors = [[User:Francis Tyers|Francis Tyers]]
| more = /Apertium_Occitan_French
+
| more = /Morphological analyser
 
}}
 
}}
   
 
{{IdeaSummary
 
{{IdeaSummary
  +
| name = User-friendly lexical selection training
| name = Create a usable version of one of these language pairs: English--Igbo, English--Yoruba, English--Tigrinya, English--Swahili, English-Hausa
 
| difficulty = medium
+
| difficulty = Medium
  +
| skills = Python, C++, shell scripting
| skills = GNU/Linux advanced user, bash, git, XML editing, English, Igbo/Yoruba/Tigrinya/Swahili/Hausa
 
  +
| description = Make it so that training/inference of lexical selection rules is a more user-friendly process
| description = The objective is to start these language pairs (which haven't been started or have currentlu very little data in Apertium) and write an usable version which provides intelligible output.
 
  +
| rationale = Our lexical selection module allows for inferring rules from corpora and word alignments, but the procedure is currently a bit messy, with various scripts involved that require lots of manual tweaking, and many third party tools to be installed. The goal of this task is to make the procedure as user-friendly as possible, so that ideally only a simple config file would be needed, and a driver script would take care of the rest.
| rationale = African languages are not particularly well served by Apertium. The four languages listed are quite important, and are only currently served by commercial machine translation companies such as Google, which makes these language communities dependent on a specific commercial provider.
 
| mentors = [[User:Mlforcada|Mikel Forcada]], mentors welcome.
+
| mentors = [[User:Unhammer|Unhammer]], [[User:Mlforcada|Mikel Forcada]]
  +
| more = /User-friendly lexical selection training
| more = /Apertium_African
 
 
}}
 
}}
 
== Module/Pipeline Ideas ==
 
 
These are ideas for modifying things in the translation pipeline.
 
   
 
{{IdeaSummary
 
{{IdeaSummary
Line 102: Line 82:
   
 
{{IdeaSummary
 
{{IdeaSummary
  +
| name = apertium-separable language-pair integration
| name = Extend lttoolbox to have the power of HFST
 
| difficulty = Hard
 
| skills = C++, XSLT, XML
 
| description = Extend lttoolbox (perhaps writing a preprocessor for it) so that it can be used to do the morphological transformations currently done with HFST. And yes, of course, writing something that translates the current HFST format to the new lttolbox format. Proof of concept: Come up with a new format that can express all of the features found in the Kazakh transducer; implement this format in Apertium; Implement the Kazakh transducer in this format and integrate it in the English--Kazakh pair.
 
| rationale = Some language pairs in Apertium use HFST where most language pairs use Apertium's own lttoolbox. This is due to the fact that writing morphologies for languages that have features such as the vowel harmony found in Turkic languages is very hard with the current format supported by lttoolbox. The mixture of HFST and lttoolbox makes it harder for people to develop some language pairs.
 
| mentors = [[User:Mlforcada|Mikel Forcada]], [[User:TommiPirinen|Tommi A Pirinen]], [[User:Unhammer]], mentors wanted
 
| more = /Extend lttoolbox to have the power of HFST
 
}}
 
 
<!--
 
 
DANGER TERROR HORROR !!!!!!
 
 
The task above has subsumed these two
 
 
{{IdeaSummary
 
| name = Flag diacritics in lttoolbox
 
| difficulty = Hard
 
| skills = C++ or Java, XML, Knowledge of FSTs
 
| description = Adapt [[lttoolbox]] to elegantly use flag diacritics. Flag diacritics are a way of avoiding transducer size blow-up by discarding impossible paths at runtime as opposed to compile time. Some work has already been done, see [[Flag diacritics]].
 
| rationale = This will involve designing some changes to our XML dictionary format (see [[lttoolbox]], and implementing the associated changes in the FST compiling processing code. The reason behind this is that many languages have prefix inflection, and we cannot currently deal with this without either making paradigms useless, or overanalysing (e.g. returning analyses where none exist). Flag diacritics (or constraints) would allow us to restrict overanalysis without blowing up the size of our dictionaries.
 
| mentors = [[User:Francis Tyers|Francis Tyers]] (C++), [[User:Jacob Nordfalk|Jacob Nordfalk]] (Java)
 
| more = /Flag diacritics in lttoolbox
 
}}
 
 
{{IdeaSummary
 
| name = Weights in lttoolbox
 
 
| difficulty = Medium
 
| difficulty = Medium
  +
| skills = XML, a scripting language (Python, Perl), some knowledge of linguistics and/or at least one relevant natural language
| skills = C++, XML, FSTs
 
  +
| description = Choose a language you can identify as having a good number of "multiwords" in the lexicon. Modify all language pairs in Apertium to use the [[Apertium-separable]] module to process the multiwords, and clean up the dictionaries accordingly.
| description = [[lttoolbox]] is a set of tools for building finite-state transducers. As part of Apertium's long-term strategy we would like to include probabilistic information into more stages of the pipeline to allow generic tools to be optimised for machine translation. This task involves adding the possibility of weighting lexemes and analyses in our finite-state transducer toolbox.
 
  +
| rationale = Apertium-separable is a newly developed module to process lexical items with discontinguous dependencies, an area where Apertium has traditionally fallen short. Despite all the module has to offer, it has only been put to use in small test cases, and hasn't been integrated into any translation pair's development cycle.
| rationale = Weighting information for lexical forms will be useful for morphological disambiguation, and for work on [[spellchecking]].
 
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:TommiPirinen|Tommi Pirinen]]
+
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:Firespeaker|Jonathan Washington]]
| more = /Add weights to lttoolbox
+
| more = /Apertium separable
}}
 
-->
 
 
{{IdeaSummary
 
| name = Extend weighted transfer rules
 
| difficulty = Hard
 
| skills = Python, C++, linguistics
 
| description = The purpose of this task is to extend weighted transfer rules to all transfer files and to allow conflicting rule patterns to be handled by combining (lexicalised) weights.
 
| rationale = Currently our transfer rules are applied longest-match left-to-right ([[LRLM]]). When two rule patterns conflict the first one is chosen. We have a prototype for selecting based on lexicalised weights, but it only applies to the first stage of transfer.
 
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:TommiPirinen|Tommi Pirinen]], [[User:Sevilay Bayatlı|Sevilay Bayatlı]]
 
| more = /Weighted transfer rules
 
}}
 
 
{{IdeaSummary
 
| name = Light alternative format for all XML files in an Apertium language pair
 
| difficulty = Hard
 
| skills = Python, C++, shell scripting, XSLT, flex
 
| description = Make it possible to edit and develop language data using a format that is lighter than XML
 
| rationale = In most Apertium language pairs, monolingual dictionaries, bilingual dictionaries, post-generation rule files and structural transfer rule files are all written in XML. While XML is easy to process due to explicit tagging of every element, it is tedious to deal with, particularly when it comes to structural transfer rules. Apertium's precursor, interNOSTRUM, had lighter text based formats. The task involves: (a) designing and documenting an interNOSTRUM-style format for all of the XML language data files in a language pair; (b) writing converters to XML and from XML that are fully roundtrip-compliant: (c) designing a way to synchronize changes when both the XML and the non-XML format are used simultaneously in a specific language pair.
 
| mentors = [[User:Mlforcada|Mikel Forcada]], [[User:Japerez|Juan Antonio Pérez]], pair.
 
| more = /Plain-text_formats_for_Apertium_data
 
}}
 
 
{{IdeaSummary
 
| name = Eliminate dictionary trimming
 
| difficulty = Very Hard
 
| skills = C++, Finite-State Transducers
 
| description = Eliminate the need for trimming the monolingual dictionaries, in order to preserve and take advantage of maximal source language analysis.
 
| rationale = [[Why we trim]] mentions several technical reasons for why trimming away monolingual information is currently needed. Unfortunately, this limitation means that a lot of useful contextual information is lost. It would be ideal if the source language could be fully analyzed independent of target language, with any untranslated part fed back into the source language generator.
 
* '''Work around everything in [[Why we trim]]'''
 
| mentors = [[User:TommiPirinen|Flammie]], +1 '''You need to find at least 1 mentor more to apply for this task'''
 
| more = /Eliminate trimming
 
}}
 
 
<!--
 
{{IdeaSummary
 
| name = Add weights to lttoolbox
 
| difficulty = Hard
 
| skills = c++
 
| description = Add support for weighted transducers to lttoolbox
 
| rationale = This will either involve implementing it from scratch or adding OpenFST as a backend. We would like to be able to use it both in the bilingual dictionaries, and in the morphological analysers, to be able to order analyses/translations by their probability/weight instead of by the random topological order.
 
| mentors = [[User:Francis Tyers]] [[User:Unhammer]]
 
| more = /Add weights to lttoolbox
 
}}
 
-->
 
 
{{IdeaSummary
 
| name = Create FST-based module for disambiguating
 
| difficulty = medium
 
| skills = XML, a scripting language (Python, Perl), C++, finite-state transducers
 
| description = Implement a [[Constraint Grammar]]-like module based on finite-state transducers.
 
| rationale = Currently, many language pairs use [[Constraint grammar]] as a pre-disambiguator for the Apertium tagger, allowing the imposition of more fine grained constraints than would be otherwise possible. However, current implementation of CG is much slower than most of the other modules in the Apertium pipeline, and it's also very different in terms of syntax to other Apertium modules (dictionaries, lexical selection, transfer rules, etc). There have been a few attempts to create FST versions of CG (see [[User:David_Nemeskey/GSOC_progress_2013]]), but they haven't succeeded. The hypothesis is that a simpler version of CG that supports the main features that CG support (no need to feature parity) would have better adoption and integration within the Apertium pipeline.
 
| mentors = [[User:Xavivars|Xavi Ivars]], [[User:Francis Tyers|Francis Tyers]]
 
| more = /Apertium FST GC
 
}}
 
 
 
{{IdeaSummary
 
| name = Learning distributed representations for Apertium modules
 
| difficulty = hard
 
| skills = Python, neural networks
 
| description =
 
| rationale =
 
| mentors = [[User:Francis Tyers|Francis Tyers]]
 
| more = /Distributed representations and Apertium
 
}}
 
 
== Tool Ideas ==
 
 
These are ideas for creating tools to help build modules and pairs.
 
 
{{IdeaSummary
 
| name = User-friendly lexical selection training
 
| difficulty = Medium
 
| skills = Python, C++, shell scripting
 
| description = Make it so that training/inference of lexical selection rules is a more user-friendly process
 
| rationale = Our lexical selection module allows for inferring rules from corpora and word alignments, but the procedure is currently a bit messy, with various scripts involved that require lots of manual tweaking, and many third party tools to be installed. The goal of this task is to make the procedure as user-friendly as possible, so that ideally only a simple config file would be needed, and a driver script would take care of the rest.
 
| mentors = [[User:Unhammer|Unhammer]], [[User:Mlforcada|Mikel Forcada]]
 
| more = /User-friendly lexical selection training
 
}}
 
 
{{IdeaSummary
 
| name = Bilingual dictionary enrichment via graph completion
 
| difficulty = Very Hard
 
| skills = shell scripting, python, XSLT, XML
 
| description = Generate new entries for existing or new bilingual dictionaries using graphic representations of bilingual correspondences as found in all existing dictionaries (note that this idea defines a rather open-ended task to be discussed in detail with mentors).
 
| rationale = Apertium bilingual dictionaries establish correspondences between lexical forms in a number of language pairs. Connections among them may be used to infer new entries for existing or new language pairs using graphs. The graphs may be directly generated from Apertium bidixes and exploiting using [[Bilingual_dictionary_discovery|ideas that had already been proposed in Apertium]] or using existing [http://linguistic.linkeddata.es/apertium/ RDF representations] of parts of their content, which may benefit from the information coming from being linked to other resources. Some previous progress can be found at [[Bilingual_dictionary_enrichment_via_graph_completion|here]].
 
| mentors = [[User:Mlforcada|Mikel Forcada]], [[User:Francis Tyers|Francis Tyers]], [[User:Jorge Gracia|Jorge Gracia]]
 
| more = Bilingual_dictionary_discovery
 
}}
 
 
<!--
 
{{IdeaSummary
 
| name = Transfer rule induction from comparable parsed corpora
 
| difficulty = Hard
 
| skills = shell scripting, python, XSLT, XML
 
| description = A system to infer transfer rules from comparable corpora that have both been deeply parsed (with e.g. CG)
 
| rationale = Many languages have good CG's and fairly large monolingual corpora, but little parallel material. Given a small bidix, fairly large monolingual corpora and good analysers/CG's, we should be able to parse both corpora, translate lemmas and look for similar sentences, turning the differences in their parses into transfer rules.
 
| mentors = [[User:Unhammer]]
 
| more = Transfer_induction_from_comparable_parsed_corpora
 
}}
 
-->
 
 
{{IdeaSummary
 
| name = A Web Interface to expanding dictionary lemmas integrate with GitLab/GitHub
 
| difficulty = hard
 
| skills = java, git, XML, nodeJs, Angular 8.
 
| description = Given that Apertium has a few dozen contributors and thousands of users, we propose a web graphical user interface (GUI) that enables the lay users to contribute to the expansion of the dictionaries that makeup the knowledge base of Apertium.
 
The main premise of the solution is that users with minimal knowledge of the language can contribute easily and that it must be integrated with the current form of development of expert users. Some prior progress can be found [https://web-dix-maintenance.appspot.com/ here].
 
| rationale = .
 
| mentors = [[User:Alessio|Aléssio Jr.]], mentors welcome.
 
| more = /Easy_dictionary_maintenance
 
}}
 
 
{{IdeaSummary
 
| name = Dictionary lookup with editing
 
| difficulty = hard
 
| skills = XML, git, JavaScript, any language for backend (Python?)
 
| description = A bilingual dictionary (the kind for people, not a bidix) contains various kinds of information ([http://perseus.uchicago.edu/cgi-bin/philologic/getobject.pl?c.17:3:39.LSJ example here]). Possible things to find in such a dictionary include inflected forms, translations, and phrases that the word might occur in. It should be possible to extract this information from various files within a translation pair. Within the interface, users could make changes to that information which can then be automatically converted to a pull request on Github. Some prior efforts at various kinds of dictionary lookup have been attempted [https://github.com/apertium/apertium-html-tools/issues/105 here].
 
| rationale = Dictionary lookup is something that would be useful to a lot of users and fixing bilingual dictionary entries is something new people frequently want to do.
 
| mentors = [[User:Popcorndude|Popcorndude]], mentors welcome
 
| more = /Bidix_lookup_and_maintenance
 
}}
 
 
{{IdeaSummary
 
| name = Extract morphological data from FLEx
 
| difficulty = hard
 
| skills = python, XML parsing
 
| description = Write a program to extract data from [https://software.sil.org/fieldworks/ SIL FieldWorks] and convert as much as possible to monodix (and maybe bidix).
 
| rationale = There's a lot of potentially useful data in FieldWorks files that might be enough to build a whole monodix for some languages but it's currently really hard to use
 
| mentors = [[User:Popcorndude|Popcorndude]], [[User:TommiPirinen|Flammie]]
 
| more = /FieldWorks_data_extraction
 
}}
 
 
== Integration Ideas ==
 
 
These are ideas for making Apertium more useful in other places.
 
 
{{IdeaSummary
 
| name = Improvements to the Apertium website
 
| difficulty = Entry level
 
| skills = Python, HTML, JS
 
| description = Our web site is pretty cool already, but it's missing things like dictionary/synonym lookup, support for several variants of one language, reliability visualisation, (reliable) webpage translation, feedback, etc.
 
| rationale = [https://apertium.org https://apertium.org] / [http://beta.apertium.org http://beta.apertium.org] is what most people know us by, it should show off more of the things we are capable of :-)
 
| mentors = [[User:Firespeaker|Jonathan]], [[User:Sushain|Sushain]]
 
| more = /Apertium website improvements
 
 
}}
 
}}
   
Line 289: Line 97:
 
| description = Create a range of tools for making Apertium compatible with Universal Dependencies
 
| description = Create a range of tools for making Apertium compatible with Universal Dependencies
 
| rationale = Universal dependencies is a fast growing project aimed at creating a unified annotation scheme for treebanks. This includes both part-of-speech and morphological features. Their annotated corpora could be extremely useful for Apertium for training models for translation. In addition, Apertium's rule-based morphological descriptions could be useful for software that relies on Universal dependencies.
 
| rationale = Universal dependencies is a fast growing project aimed at creating a unified annotation scheme for treebanks. This includes both part-of-speech and morphological features. Their annotated corpora could be extremely useful for Apertium for training models for translation. In addition, Apertium's rule-based morphological descriptions could be useful for software that relies on Universal dependencies.
| mentors = [[User:Francis Tyers]] [[User:Firespeaker]]
+
| mentors = [[User:Francis Tyers]] [[User:Firespeaker| Jonathan Washington]]
 
| more = /UD and Apertium integration
 
| more = /UD and Apertium integration
 
}}
 
}}
   
 
{{IdeaSummary
 
{{IdeaSummary
  +
| name = rule visualization tools
| name = Improving language pairs mining Mediawiki Content Translation postedits
 
| difficulty = Hard
+
| difficulty = Medium
| skills = Python, shell scripting, some statistics
+
| skills = python? javascript? XML
  +
| description = make tools to help visualize the effect of various rules
| description = Implement a toolkit that allows mining existing machine translation postediting data in [Mediawiki Content Translation https://www.mediawiki.org/wiki/Content_translation] to generate (as automatically as possible, and as complete as possible) monodix and bidix entries to improve the performance of an Apertium language pair. Data is available from Wikimedia content translation through an [API https://www.mediawiki.org/wiki/Content_translation/Published_translations#API] or in the form of [Dumps https://dumps.wikimedia.org/other/contenttranslation/] available in JSON and TMX format. This project is rather experimental and involves some research in addition to coding.
 
  +
| rationale = TODO see https://github.com/Jakespringer/dapertium for an example
| rationale = Apertium is used to generate new Wikipedia content: machine-translated content is postedited (and perhaps adapted) before publishing. Postediting information may contain information that can be used to help improve the lexical components of an Apertium language pair.
 
| mentors = [[User:Mlforcada|Mikel Forcada]], (more mentors to be added)
+
| mentors = [[User:Firespeaker|Jonathan Washington]]
| more = /automatic-postediting
+
| more = /Visualization tools
 
}}
 
}}
   
 
{{IdeaSummary
 
{{IdeaSummary
| name = Improvements to UD Annotatrix
+
| name = dictionary induction from wikis
 
| difficulty = Medium
 
| difficulty = Medium
  +
| skills = MySQL, mediawiki syntax, perl, maybe C++ or Java; Java, Scala, RDF, and DBpedia to use DBpedia extraction
| skills = JavaScript, Jquery, HTML, Python
 
  +
| description = Extract dictionaries from linguistic wikis
| description = UD Annotatrix is an interface by Apertium for annotating dependency trees in CoNLL-U format. The system is currently in beta, but is getting traction as more people start using it.
 
  +
| rationale = Wiki dictionaries and encyclopedias (e.g. omegawiki, wiktionary, wikipedia, dbpedia) contain information (e.g. bilingual equivalences, morphological features, conjugations) that could be exploited to speed up the development of dictionaries for Apertium. This task aims at automatically building dictionaries by extracting different pieces of information from wiki structures such as interlingual links, infoboxes and/or from dbpedia RDF datasets.
| rationale = Universal Dependencies is a very widely used standard for annotating data, the kind of annotated data that can be used to train part of speech taggers. There is still a lot of work that could be done to improve it.
 
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:Firespeaker]]
+
| mentors = [[User:Firespeaker|Jonathan Washington]]
| more = /UD Annotatrix
+
| more = /Dictionary induction from wikis
 
}}
 
}}
   
<!-- done as of 2019 I think?
 
 
{{IdeaSummary
 
{{IdeaSummary
| name = Python API/library for Apertium
+
| name = unit testing framework
| difficulty = medium
+
| difficulty = Medium
| skills = Python, C++, SWIG
+
| skills = perl
| description = Implement a Python library for Apertium and Lttoolbox.
+
| description = adapt https://github.com/TinoDidriksen/regtest for general Apertium use and implement
  +
| rationale = We are gradually improving our quality control, with (semi-)automated tests, but these are done on the Wiki on an ad-hoc basis. Having a unified testing framework would allow us to be able to more easily track quality improvements over all language pairs, and more easily deal with regressions.
| rationale = Lots of people use Python, they like to use it in their Jupyter notebooks and on Microsoft Windows™. Apertium is really hard to get going in these kind of environments. So it would be cool if we could make Apertium work for them too. It has a lot of nice language processing tools that we would like more people to use. I'm sure people would love to "pip install apertium" or "pip install apertium-ava". The API/implementation should be pythonistic and should use C++ bindings to directly perform morphological functions, avoiding the overhead of a separate process. Prior GSoC project work is available on [https://github.com/apertium/apertium-python GitHub].
 
  +
| mentors = ???
| mentors = [[User:Sushain|Sushain]], [[User:Francis Tyers|Francis Tyers]], [[User:Unhammer|Unhammer]], [[User:Xavivars|Xavi Ivars]]
 
| more = /Python library
+
| more = /Unit testing
 
}}
 
}}
-->
 
   
 
{{IdeaSummary
 
{{IdeaSummary
| name = TIPP functionality for Apertium
+
| name = spell checker web interface
| difficulty = medium
+
| difficulty = Medium
| skills = Python, C++, XML, XLIFF (a subset called XLIFF:doc)
+
| skills = html, js, css, python
  +
| description = Add a spell-checking interface to Apertium Html-tools, a web interface to Apertium tools
| description = TIPP, the TMS Interoperability Protocol Package (where TMS means translation management system), [https://github.com/tingley/interoperability-now/blob/master/releases/tipp/1.5/The_TMS_Interoperability_Protocol_Package-1.5.pdf], currently in version 1.5 but being upgraded to 2.0, specifies a container (package format) that allows the interchange of information along a translation value chain. There are various container varieties for different tasks. One such variety, called Translate-Strict-Bitext, represents a bilingual translation job. The 'request' TIPP would contain an XLIFF:doc ([https://github.com/tingley/interoperability-now/tree/master/releases/xliffdoc/1.0.1], a subset of XLIFF 1 [http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html]) file with the document to be translated and the corresponding metadata, and the corresponding 'response' TIPP would contain the results of Apertium MT applied to it, but taking into account the translation memory provided in the TIPP, if any (using Apertium's -m switch). Apertium should be endowed with the capacity to manage TIPP packages: unpack the request package, parse it, process it, and repack it.
 
  +
| rationale = [[Apertium-html-tools]] has seen some prototypes for spell-checking interfaces (all in stale PRs and branches on GitHub), but none have ended up being quite ready to integrate into the tools. This project would entail polishing up or recreating an interface, and making sure [[APy]] has a mode that allows access to Apertium voikospell modules. The end result should be a slick, easy-to-use interface for proofing text, with intuitive underlining of text deemed to be misspelled and intuitive presentation and selection of alternatives.
| mentors = [[User:Mlforcada|Mikel Forcada]]
 
  +
| mentors = [[User:Firespeaker|Jonathan Washington]]
| more = /Apertium_TIPP
 
  +
| more = /Spell checker web interface
 
}}
 
}}
   
 
{{IdeaSummary
 
{{IdeaSummary
| name = Set up gap-filling machine-translation-for-gisting evaluation on a recent version of Appraise
+
| name = Bring an unreleased translation pair to releasable quality
| difficulty = hard
+
| difficulty = Medium
| skills = python, bash, git, XML editing.
+
| skills = shell scripting
  +
| description = Take an unstable language pair and improve its quality, focusing on testvoc
| description = [http://github.com/mlforcada/Appraise http://github.com/mlforcada/Appraise], in turn forked from [http://github.com/mlforcada/Appraise http://github.com/mlforcada/Appraise], the work of a GSoC student, contains an adaptation of an old (2014) version of [http://github.com/cfedermann/Appraise http://github.com/cfedermann/Appraise] to implement gap-filling evaluation as described in [https://export.arxiv.org/pdf/1809.00315 this WMT2018 paper]. The objective is to bring the gap-filling functionality in [http://github.com/mlforcada/Appraise] to be compatible with the latest versions of Appraise.
 
| rationale = Many language pairs in Apertium are unique, such as Breton-French, and many of them are used for gisting (understanding) purposes. Gap-filling provides a simple way to evaluate the usefulness of machine translation for gisting. The implementation used in recent experiments is based on an outdated version of the Appraise platform.
+
| rationale = Many Apertium language pairs have large dictionaries and have otherwise seen much development, but are not of releasable quality. The point of this project would be bring one translation pair to releasable quality. This would entail obtaining good naïve coverage and a clean [[testvoc]].
| mentors = [[User:Mlforcada|Mikel Forcada]], mentors welcome.
+
| mentors = [[User:Firespeaker|Jonathan Washington]]
| more = /Appraise_gisting
+
| more = /Make a language pair state-of-the-art
 
}}
 
}}
  +
   
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 22:16, 18 January 2021

This is the ideas page for Google Summer of Code, here you can find ideas on interesting projects that would make Apertium more useful for people and improve or expand our functionality. If you have an idea please add it below, if you think you could mentor someone in a particular area, add your name to "Interested mentors" using ~~~

The page is intended as an overview of the kind of projects we have in mind. If one of them particularly piques your interest, please come and discuss with us on #apertium on irc.freenode.net, mail the mailing list, or draw attention to yourself in some other way.

Note that, if you have an idea that isn't mentioned here, we would be very interested to hear about it.

Here are some more things you could look at:


If you're a student trying to propose a topic, the recommended way is to request a wiki account and then go to

http://wiki.apertium.org/wiki/User:[[your username]]/GSoC2020Proposal

and click the "create" button near the top of the page. It's also nice to include [[Category:GSoC_2020_student_proposals]] to help organize submitted proposals.

Ideas

Python API for Apertium

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    C++, Python
  • Description:
    Update the Python API for Apertium to expose all Apertium modes and test with all major OSes
  • Rationale:
    The current Python API misses out on a lot of functionality, like phonemisation and segmentation and doesn't work for some OSes like Debian.
  • Mentors:
    Francis Tyers
  • read more...


Web API extensions

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    Python
  • Description:
    Update the web API for Apertium to expose all Apertium modes
  • Rationale:
    The current Web API misses out on a lot of functionality, like phonemisation and segmentation
  • Mentors:
    Francis Tyers
  • read more...


Develop a morphological analyser

  • Difficulty:
    3. Entry level
  • Size: default Unknown size
  • Required skills:
    XML
  • Description:
    Write a morphological analyser and generator for a language that does not yet have one
  • Rationale:
    A key part of an Apertium machine translation system is a morphological analyser and generator. The objective of this task is to create an analyser for a language that does not yet have one.
  • Mentors:
    Francis Tyers, Jonathan Washington
  • read more...


Support for Enhanced Dependencies in UD Annotatrix

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    NodeJS
  • Description:
    UD Annotatrix is an annotation interface for Universal Dependencies, but does not yet support all functionality
  • Rationale:
  • Mentors:
    Francis Tyers
  • read more...


User-friendly lexical selection training

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    Python, C++, shell scripting
  • Description:
    Make it so that training/inference of lexical selection rules is a more user-friendly process
  • Rationale:
    Our lexical selection module allows for inferring rules from corpora and word alignments, but the procedure is currently a bit messy, with various scripts involved that require lots of manual tweaking, and many third party tools to be installed. The goal of this task is to make the procedure as user-friendly as possible, so that ideally only a simple config file would be needed, and a driver script would take care of the rest.
  • Mentors:
    Unhammer, Mikel Forcada
  • read more...


Robust tokenisation in lttoolbox

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    C++, XML, Python
  • Description:
    Improve the longest-match left-to-right tokenisation strategy in lttoolbox to be fully Unicode compliant.
  • Rationale:
    One of the most frustrating things about working with Apertium on texts "in the wild" is the way that the tokenisation works. If a letter is not specified in the alphabet, it is dealt with as whitespace, so e.g. you get unknown words split in two so you can end up with stuff like ^G$ö^k$ı^rmak$ which is terrible for further processing.
  • Mentors:
    Francis Tyers, Flammie
  • read more...


apertium-separable language-pair integration

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    XML, a scripting language (Python, Perl), some knowledge of linguistics and/or at least one relevant natural language
  • Description:
    Choose a language you can identify as having a good number of "multiwords" in the lexicon. Modify all language pairs in Apertium to use the Apertium-separable module to process the multiwords, and clean up the dictionaries accordingly.
  • Rationale:
    Apertium-separable is a newly developed module to process lexical items with discontinguous dependencies, an area where Apertium has traditionally fallen short. Despite all the module has to offer, it has only been put to use in small test cases, and hasn't been integrated into any translation pair's development cycle.
  • Mentors:
    Francis Tyers, Jonathan Washington
  • read more...


UD and Apertium integration

  • Difficulty:
    3. Entry level
  • Size: default Unknown size
  • Required skills:
    python, javascript, HTML, (C++)
  • Description:
    Create a range of tools for making Apertium compatible with Universal Dependencies
  • Rationale:
    Universal dependencies is a fast growing project aimed at creating a unified annotation scheme for treebanks. This includes both part-of-speech and morphological features. Their annotated corpora could be extremely useful for Apertium for training models for translation. In addition, Apertium's rule-based morphological descriptions could be useful for software that relies on Universal dependencies.
  • Mentors:
    User:Francis Tyers Jonathan Washington
  • read more...


rule visualization tools


dictionary induction from wikis

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    MySQL, mediawiki syntax, perl, maybe C++ or Java; Java, Scala, RDF, and DBpedia to use DBpedia extraction
  • Description:
    Extract dictionaries from linguistic wikis
  • Rationale:
    Wiki dictionaries and encyclopedias (e.g. omegawiki, wiktionary, wikipedia, dbpedia) contain information (e.g. bilingual equivalences, morphological features, conjugations) that could be exploited to speed up the development of dictionaries for Apertium. This task aims at automatically building dictionaries by extracting different pieces of information from wiki structures such as interlingual links, infoboxes and/or from dbpedia RDF datasets.
  • Mentors:
    Jonathan Washington
  • read more...


unit testing framework

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    perl
  • Description:
    adapt https://github.com/TinoDidriksen/regtest for general Apertium use and implement
  • Rationale:
    We are gradually improving our quality control, with (semi-)automated tests, but these are done on the Wiki on an ad-hoc basis. Having a unified testing framework would allow us to be able to more easily track quality improvements over all language pairs, and more easily deal with regressions.
  • Mentors:
    ???
  • read more...


spell checker web interface

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    html, js, css, python
  • Description:
    Add a spell-checking interface to Apertium Html-tools, a web interface to Apertium tools
  • Rationale:
    Apertium-html-tools has seen some prototypes for spell-checking interfaces (all in stale PRs and branches on GitHub), but none have ended up being quite ready to integrate into the tools. This project would entail polishing up or recreating an interface, and making sure APy has a mode that allows access to Apertium voikospell modules. The end result should be a slick, easy-to-use interface for proofing text, with intuitive underlining of text deemed to be misspelled and intuitive presentation and selection of alternatives.
  • Mentors:
    Jonathan Washington
  • read more...


Bring an unreleased translation pair to releasable quality

  • Difficulty:
    2. Medium
  • Size: default Unknown size
  • Required skills:
    shell scripting
  • Description:
    Take an unstable language pair and improve its quality, focusing on testvoc
  • Rationale:
    Many Apertium language pairs have large dictionaries and have otherwise seen much development, but are not of releasable quality. The point of this project would be bring one translation pair to releasable quality. This would entail obtaining good naïve coverage and a clean testvoc.
  • Mentors:
    Jonathan Washington
  • read more...