Difference between revisions of "Ideas for Google Summer of Code"
Popcorndude (talk | contribs) (organize) |
|||
(34 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{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. |
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. |
||
'''Current Apertium contributors''': 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 <code><nowiki>~~~</nowiki></code>. |
|||
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 <code>#apertium</code> on <code>irc.oftc.net</code>, mail the [[Contact|mailing list]], or draw attention to yourself in some other way. |
|||
'''Prospective GSoC contributors''': 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 <code>#apertium</code> on <code>irc.oftc.net</code> ([[IRC|more on IRC]]), mail the [[Contact|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. |
|||
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: |
Here are some more things you could look at: |
||
Line 17: | Line 19: | ||
__TOC__ |
__TOC__ |
||
If you're a |
If you're a prospective GSoC contributor 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]]/GSoC2023Proposal</pre> and click the "create" button near the top of the page. It's also nice to include <code><nowiki>[[</nowiki>[[:Category:GSoC_2023_student_proposals|Category:GSoC_2023_student_proposals]]<nowiki>]]</nowiki></code> to help organize submitted proposals. |
||
== Language Data == |
== Language Data == |
||
Can you read or write a language other than English (and we do mean any language)? If so, you can help with one of these and we can help you figure out the technical parts. |
|||
{{IdeaSummary |
{{IdeaSummary |
||
| name = Develop a morphological analyser |
| name = Develop a morphological analyser |
||
| difficulty = easy |
| difficulty = easy |
||
| size = either |
|||
| skills = XML or HFST or lexd |
| skills = XML or HFST or lexd |
||
| description = Write a morphological analyser and generator for a language that does not yet have one |
| description = Write a morphological analyser and generator for a language that does not yet have one |
||
Line 34: | Line 39: | ||
| name = apertium-separable language-pair integration |
| name = apertium-separable language-pair integration |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = small |
|||
| skills = XML, a scripting language (Python, Perl), some knowledge of linguistics and/or at least one relevant natural language |
| 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. |
| 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. |
||
Line 44: | Line 50: | ||
| name = Bring an unreleased translation pair to releasable quality |
| name = Bring an unreleased translation pair to releasable quality |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = large |
|||
| skills = shell scripting |
| skills = shell scripting |
||
| description = Take an unstable language pair and improve its quality, focusing on testvoc |
| 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]]. |
| 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:Firespeaker|Jonathan Washington]], [[User:Seviay Bayatlı|Sevilay Bayatlı]], [[User: |
| mentors = [[User:Firespeaker|Jonathan Washington]], [[User:Seviay Bayatlı|Sevilay Bayatlı]], [[User:Unhammer]], [[User:hectoralos|Hèctor Alòs i Font]] |
||
| more = /Make a language pair state-of-the-art |
| more = /Make a language pair state-of-the-art |
||
}} |
}} |
||
Line 54: | Line 61: | ||
| name = Develop a prototype MT system for a strategic language pair |
| name = Develop a prototype MT system for a strategic language pair |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = large |
|||
| skills = XML, some knowledge of linguistics and of one relevant natural language |
| skills = XML, some knowledge of linguistics and of one relevant natural language |
||
| description = Create a translation pair based on two existing language modules, focusing on the dictionary and structural transfer |
| description = Create a translation pair based on two existing language modules, focusing on the dictionary and structural transfer |
||
| rationale = Choose a strategic set of languages to develop an MT system for, such that you know the target language well and morphological transducers for each language are part of Apertium. Develop an Apertium MT system by focusing on writing a bilingual dictionary and structural transfer rules. Expanding the transducers and disambiguation, and writing lexical selection rules and multiword sequences may also be part of the work. The pair may be an existing prototype, but if it's a heavily developed but unreleased pair, consider applying for "Bring an unreleased translation pair to releasable quality" instead. |
| rationale = Choose a strategic set of languages to develop an MT system for, such that you know the target language well and morphological transducers for each language are part of Apertium. Develop an Apertium MT system by focusing on writing a bilingual dictionary and structural transfer rules. Expanding the transducers and disambiguation, and writing lexical selection rules and multiword sequences may also be part of the work. The pair may be an existing prototype, but if it's a heavily developed but unreleased pair, consider applying for "Bring an unreleased translation pair to releasable quality" instead. |
||
| mentors = [[User:Firespeaker|Jonathan Washington]], [[User:Sevilay Bayatlı| Sevilay Bayatlı]], [[User: |
| mentors = [[User:Firespeaker|Jonathan Washington]], [[User:Sevilay Bayatlı| Sevilay Bayatlı]], [[User:Unhammer]], [[User:hectoralos|Hèctor Alòs i Font]] |
||
| more = /Adopt a language pair |
| more = /Adopt a language pair |
||
}} |
|||
{{IdeaSummary |
|||
| name = Add a new variety to an existing language |
|||
| difficulty = easy |
|||
| size = either |
|||
| skills = XML, some knowledge of linguistics and of one relevant natural language |
|||
| description = Add a language variety to one or more released pairs, focusing on the dictionary and lexical selection |
|||
| rationale = Take a released language, and define a new language variety for it: e.g. Quebec French or Provençal Occitan. Then add the new variety to one or more released language pairs, without diminishing the quality of the pre-existing variety(ies). The objective is to facilitate the generation of varieties for languages with a weak standardisation and/or pluricentric languages. |
|||
| mentors = [[User:hectoralos|Hèctor Alòs i Font]], [[User:Firespeaker|Jonathan Washington]],[[User:piraye|Sevilaybayatlı]] |
|||
| more = /Add a new variety to an existing language |
|||
}} |
}} |
||
Line 64: | Line 83: | ||
| name = Leverage and integrate language preferences into language pairs |
| name = Leverage and integrate language preferences into language pairs |
||
| difficulty = easy |
| difficulty = easy |
||
| size = medium |
|||
| skills = XML, some knowledge of linguistics and of one relevant natural language |
| skills = XML, some knowledge of linguistics and of one relevant natural language |
||
| description = Update language pairs with lexical and |
| description = Update language pairs with lexical and orthographical variations to leverage the new [[Dialectal_or_standard_variation|preferences]] functionality |
||
| rationale = Currently, preferences are implemented via language variant, which relies on multiple |
| rationale = Currently, preferences are implemented via language variant, which relies on multiple dictionaries, increasing compilation time exponentially every time a new preference gets introduced. |
||
| mentors = [[User:Xavivars|Xavi Ivars]] |
| mentors = [[User:Xavivars|Xavi Ivars]] [[User:Unhammer]] |
||
| more = /Use preferences in |
| more = /Use preferences in pair |
||
}} |
|||
{{IdeaSummary |
|||
| name = Add Capitalization Handling Module to a Language Pair |
|||
| difficulty = easy |
|||
| size = small |
|||
| skills = XML, knowledge of some relevant natural language |
|||
| description = Update a language pair to make use make use of the new [[Capitalization_restoration|Capitalization handling module]] |
|||
| rationale = Correcting capitalization via transfer rules is tedious and error prone, but putting them in a separate set of rules should allow them to be handled in a more concise and maintainable way. Additionally, it is possible that capitalization rule could be moved to monolingual modules, thus reducing development effort on translators. |
|||
| mentors = [[User:Popcorndude]] |
|||
| more = /Capitalization |
|||
}} |
}} |
||
== Data Extraction == |
== Data Extraction == |
||
A lot of the language data we need to make our analyzers and translators work already exists in other forms and we just need to figure out how to convert it. If you know of another source of data that isn't listed, we'd love to hear about it. |
|||
{{IdeaSummary |
{{IdeaSummary |
||
| name = dictionary induction from wikis |
| name = dictionary induction from wikis |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = either |
|||
| skills = MySQL, mediawiki syntax, perl, maybe C++ or Java; Java, Scala, RDF, and DBpedia to use DBpedia extraction |
| skills = MySQL, mediawiki syntax, perl, maybe C++ or Java; Java, Scala, RDF, and DBpedia to use DBpedia extraction |
||
| description = Extract dictionaries from linguistic wikis |
| description = Extract dictionaries from linguistic wikis |
||
Line 85: | Line 119: | ||
{{IdeaSummary |
{{IdeaSummary |
||
| name = Dictionary induction from parallel corpora / Revive ReTraTos |
| name = Dictionary induction from parallel corpora / Revive ReTraTos |
||
| difficulty = |
| difficulty = Medium |
||
| size = medium |
|||
| skills = C++, perl, python, xml, scripting, machine learning |
| skills = C++, perl, python, xml, scripting, machine learning |
||
| description = Extract dictionaries from parallel corpora |
| description = Extract dictionaries from parallel corpora |
||
Line 96: | Line 131: | ||
| name = Extract morphological data from FLEx |
| name = Extract morphological data from FLEx |
||
| difficulty = hard |
| difficulty = hard |
||
| size = large |
|||
| skills = python, XML parsing |
| 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). |
| 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). |
||
Line 104: | Line 140: | ||
== Tooling == |
== Tooling == |
||
These are projects for people who would be comfortable digging through our C++ codebases (you will be doing a lot of that). |
|||
{{IdeaSummary |
{{IdeaSummary |
||
| name = Python API for Apertium |
| name = Python API for Apertium |
||
| difficulty = medium |
| difficulty = medium |
||
| size = medium |
|||
| skills = C++, Python |
| skills = C++, Python |
||
| description = Update the Python API for Apertium to expose all Apertium modes and test with all major OSes |
| description = Update the Python API for Apertium to expose all Apertium modes and test with all major OSes |
||
Line 118: | Line 157: | ||
| name = Robust tokenisation in lttoolbox |
| name = Robust tokenisation in lttoolbox |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = large |
|||
| skills = C++, XML, Python |
| skills = C++, XML, Python |
||
| description = Improve the longest-match left-to-right tokenisation strategy in [[lttoolbox]] to |
| description = Improve the longest-match left-to-right tokenisation strategy in [[lttoolbox]] to handle spaceless orthographies. |
||
| 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. |
| 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. Additionally, the system is nearly impossible to use for languages that don't use spaces, such as Japanese. |
||
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:TommiPirinen|Flammie]] |
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:TommiPirinen|Flammie]] |
||
| more = /Robust tokenisation |
| more = /Robust tokenisation |
||
Line 128: | Line 168: | ||
| name = rule visualization tools |
| name = rule visualization tools |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = either |
|||
| skills = python? javascript? XML |
| skills = python? javascript? XML |
||
| description = make tools to help visualize the effect of various rules |
| description = make tools to help visualize the effect of various rules |
||
Line 138: | Line 179: | ||
| name = Extend Weighted transfer rules |
| name = Extend Weighted transfer rules |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = medium |
|||
| skills = C++, python |
| skills = C++, python |
||
| description = The weighted transfer module is already applied to the chunker transfer rules. And the idea here is to extend that module to be applied to interchunk and postchunk transfer rules too. |
| description = The weighted transfer module is already applied to the chunker transfer rules. And the idea here is to extend that module to be applied to interchunk and postchunk transfer rules too. |
||
Line 146: | Line 188: | ||
{{IdeaSummary |
{{IdeaSummary |
||
| name = Automatic Error-Finder / Backpropagation |
| name = Automatic Error-Finder / Pseudo-Backpropagation |
||
| difficulty = |
| difficulty = Hard |
||
| size = large |
|||
| skills = python? |
| skills = python? |
||
| description = Develop a tool to locate the approximate source of translation errors in the pipeline. |
| description = Develop a tool to locate the approximate source of translation errors in the pipeline. |
||
Line 156: | Line 199: | ||
{{IdeaSummary |
{{IdeaSummary |
||
| name = |
| name = More Robust Recursive Transfer |
||
| difficulty = |
| difficulty = Hard |
||
| size = large |
|||
| skills = C++ |
| skills = C++ |
||
| description = Ensure [[Apertium-recursive#Further_Documentation|Recursive Transfer]] survives ambiguous or incomplete parse trees |
|||
| description = All our command line tools are currently hardcoded as English-only and it would be good if this were otherwise. [https://github.com/apertium/organisation/issues/28#issuecomment-803474833 Coding Challenge] |
|||
| rationale = Currently, one has to be very careful in writing recursive transfer rules to ensure they don't get too deep or ambiguous, and that they cover full sentences. See in particular issues [https://github.com/apertium/apertium-recursive/issues/97 97] and [https://github.com/apertium/apertium-recursive/issues/80 80]. We would like linguists to be able to fearlessly write recursive (rtx) rules based on what makes linguistic sense, and have rtx-proc/rtx-comp deal with the computational/performance side. |
|||
| rationale = ... |
|||
| mentors = |
| mentors = |
||
| more = /More_robust_recursive_transfer |
|||
| more = https://github.com/apertium/organisation/issues/28 Github |
|||
}} |
|||
{{IdeaSummary |
|||
| name = CG-based Transfer |
|||
| difficulty = Hard |
|||
| size = large |
|||
| skills = C++ |
|||
| description = Linguists already write dependency trees in [[Constraint Grammar]]. A following step could use these to reorder into target language trees. |
|||
| mentors = |
|||
| more = |
|||
}} |
|||
{{IdeaSummary |
|||
| name = Language Server Protocol |
|||
| difficulty = Medium |
|||
| size = medium |
|||
| skills = any programming language |
|||
| description = Build a [https://microsoft.github.io/language-server-protocol/|Language Server] for the various Apertium rule formats |
|||
| rationale = We have some static analysis tools and syntax highlighters already and it would be great if we could combine and expand them to support more text editors. |
|||
| mentors = [[User:Popcorndude]] |
|||
| more = /Language Server Protocol |
|||
}} |
|||
{{IdeaSummary |
|||
| name = WASM Compilation |
|||
| difficulty = hard |
|||
| size = medium |
|||
| skills = C++, Javascript |
|||
| description = Compile the pipeline modules to WASM and provide JS wrappers for them. |
|||
| rationale = There are situations where it would be nice to be able to run the entire pipeline in the browser |
|||
| mentors = [[User:Tino Didriksen|Tino Didriksen]] |
|||
| more = /WASM |
|||
}} |
}} |
||
== Web == |
== Web == |
||
If you know Python and JavaScript, here's some ideas for improving our [https://apertium.org website]. Some of these should be fairly short and it would be a good idea to talk to the mentors about doing a couple of them together. |
|||
{{IdeaSummary |
{{IdeaSummary |
||
| name = Web API extensions |
| name = Web API extensions |
||
| difficulty = medium |
| difficulty = medium |
||
| size = small |
|||
| skills = Python |
| skills = Python |
||
| description = Update the web API for Apertium to expose all Apertium modes |
| 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 phonemicisation, segmentation, and |
| rationale = The current Web API misses out on a lot of functionality, like phonemicisation, segmentation, transliteration, and paradigm generation. |
||
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:Firespeaker|Jonathan Washington]], [[User:Xavivars|Xavi Ivars]] |
| mentors = [[User:Francis Tyers|Francis Tyers]], [[User:Firespeaker|Jonathan Washington]], [[User:Xavivars|Xavi Ivars]] |
||
| more = /Apertium APY |
| more = /Apertium APY |
||
Line 180: | Line 259: | ||
| name = Website Improvements: Misc |
| name = Website Improvements: Misc |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = small |
|||
| skills = html, css, js, python |
| skills = html, css, js, python |
||
| description = Improve elements of Apertium's web infrastructure |
| description = Improve elements of Apertium's web infrastructure |
||
Line 190: | Line 270: | ||
| name = Website Improvements: Dictionary Lookup |
| name = Website Improvements: Dictionary Lookup |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = small |
|||
| skills = html, css, js, python |
| skills = html, css, js, python |
||
| description = Finish implementing dictionary lookup mode in Apertium's web infrastructure |
| description = Finish implementing dictionary lookup mode in Apertium's web infrastructure |
||
| rationale = Apertium's website infrastructure [[Apertium-html-tools]] and its supporting API [[APy|Apertium APy]] have numerous open issues, including half-completed features like dictionary lookup. This project would entail completing the dictionary lookup feature. Some additional features which would be good to work would include automatic reverse lookups (so that a user has a better understanding of the results), grammatical information (such as the gender of nouns or the conjugation paradigms of verbs), and information about MWEs |
| rationale = Apertium's website infrastructure [[Apertium-html-tools]] and its supporting API [[APy|Apertium APy]] have numerous open issues, including half-completed features like dictionary lookup. This project would entail completing the dictionary lookup feature. Some additional features which would be good to work would include automatic reverse lookups (so that a user has a better understanding of the results), grammatical information (such as the gender of nouns or the conjugation paradigms of verbs), and information about MWEs. |
||
| mentors = [[User:Firespeaker|Jonathan Washington]], [[User:Xavivars|Xavi Ivars]], [[User:Popcorndude]] |
| mentors = [[User:Firespeaker|Jonathan Washington]], [[User:Xavivars|Xavi Ivars]], [[User:Popcorndude]] |
||
| more = https://github.com/apertium/apertium-html-tools/issues/105 the open issue on GitHub |
|||
| more = /Website improvements |
|||
}} |
}} |
||
Line 200: | Line 281: | ||
| name = Website Improvements: Spell checking |
| name = Website Improvements: Spell checking |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = small |
|||
| skills = html, js, css, python |
| skills = html, js, css, python |
||
| description = Add a spell-checking interface to Apertium's web tools |
| description = Add a spell-checking interface to Apertium's web tools |
||
Line 210: | Line 292: | ||
| name = Website Improvements: Suggestions |
| name = Website Improvements: Suggestions |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = small |
|||
| skills = html, css, js, python |
| skills = html, css, js, python |
||
| description = Finish implementing a suggestions interface for Apertium's web infrastructure |
| description = Finish implementing a suggestions interface for Apertium's web infrastructure |
||
Line 220: | Line 303: | ||
| name = Website Improvements: Orthography conversion interface |
| name = Website Improvements: Orthography conversion interface |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = small |
|||
| skills = html, js, css, python |
| skills = html, js, css, python |
||
| description = Add an orthography conversion interface to Apertium's web tools |
| description = Add an orthography conversion interface to Apertium's web tools |
||
Line 230: | Line 314: | ||
| name = Add support for NMT to web API |
| name = Add support for NMT to web API |
||
| difficulty = Medium |
| difficulty = Medium |
||
| size = medium |
|||
| skills = python, NMT |
| skills = python, NMT |
||
| description = Add support for a popular NMT engine to Apertium's web API |
| description = Add support for a popular NMT engine to Apertium's web API |
||
| rationale = Currently Apertium's web API [[APy|Apertium APy]], supports only Apertium language modules. But the front end could just as easily interface with an API that supports trained NMT models. The point of the project is to add support for one popular NMT package (e.g., translateLocally/Bergamot, OpenNMT or JoeyNMT) to the APy. |
| rationale = Currently Apertium's web API [[APy|Apertium APy]], supports only Apertium language modules. But the front end could just as easily interface with an API that supports trained NMT models. The point of the project is to add support for one popular NMT package (e.g., translateLocally/Bergamot, OpenNMT or JoeyNMT) to the APy. |
||
| mentors = [[User:Firespeaker|Jonathan Washington]] |
| mentors = [[User:Firespeaker|Jonathan Washington]], [[User:Xavivars|Xavi Ivars]] |
||
| more = |
| more = |
||
}} |
}} |
||
== Integrations == |
== Integrations == |
||
In addition to incorporating data from other projects, it would be nice if we could also make our data useful to them. |
|||
{{IdeaSummary |
{{IdeaSummary |
||
| name = OmniLingo and Apertium |
| name = OmniLingo and Apertium |
||
| difficulty = medium |
| difficulty = medium |
||
| size = either |
|||
| skills = JS, Python |
| skills = JS, Python |
||
| description = OmniLingo is a language learning system for |
| description = OmniLingo is a language learning system for practicing listening comprehension using Common Voice data. There is a lot of text processing involved (for example tokenisation) that could be aided by Apertium tools. |
||
| rationale = |
| rationale = |
||
| mentors = [[User:Francis Tyers|Francis Tyers]] |
| mentors = [[User:Francis Tyers|Francis Tyers]] |
||
Line 252: | Line 340: | ||
| name = Support for Enhanced Dependencies in UD Annotatrix |
| name = Support for Enhanced Dependencies in UD Annotatrix |
||
| difficulty = medium |
| difficulty = medium |
||
| size = medium |
|||
| skills = NodeJS |
| skills = NodeJS |
||
| description = UD Annotatrix is an annotation interface for Universal Dependencies, but does not yet support all functionality |
| description = UD Annotatrix is an annotation interface for Universal Dependencies, but does not yet support all functionality. |
||
| rationale = |
| rationale = |
||
| mentors = [[User:Francis Tyers|Francis Tyers]] |
| mentors = [[User:Francis Tyers|Francis Tyers]] |
||
| more = / |
| more = /Annotatrix enhanced dependencies |
||
}} |
}} |
||
Line 276: | Line 365: | ||
| name = UD and Apertium integration |
| name = UD and Apertium integration |
||
| difficulty = Entry level |
| difficulty = Entry level |
||
| size = medium |
|||
| skills = python, javascript, HTML, (C++) |
| skills = python, javascript, HTML, (C++) |
||
| 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 |
Latest revision as of 09:15, 4 March 2024
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.
Current Apertium contributors: 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 ~~~
.
Prospective GSoC contributors: 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.oftc.net
(more on IRC), 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:
- Top tips for GSOC applications
- Get in contact with one of our long-serving mentors — they are nice, honest!
- Pages in the development category
- Resources that could be converted or expanded in the incubator. Consider doing or improving a language pair (see incubator, nursery and staging for pairs that need work)
- Unhammer's wishlist
If you're a prospective GSoC contributor 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]]/GSoC2023Proposal
and click the "create" button near the top of the page. It's also nice to include [[Category:GSoC_2023_student_proposals]]
to help organize submitted proposals.
Language Data[edit]
Can you read or write a language other than English (and we do mean any language)? If so, you can help with one of these and we can help you figure out the technical parts.
Develop a morphological analyser[edit]
- Difficulty:
3. Entry level - Size: Multiple lengths possible (discuss with the mentors which option is better for you)
- Required skills:
XML or HFST or lexd - 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, Sevilay Bayatlı, Hossep, nlhowell, User:Popcorndude - read more...
apertium-separable language-pair integration[edit]
- Difficulty:
2. Medium - Size: Small
- 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 newish module to process lexical items with discontinguous dependencies, an area where Apertium has traditionally fallen short. Despite all the module has to offer, many translation pairs still don't use it. - Mentors:
Jonathan Washington, User:Popcorndude - read more...
Bring an unreleased translation pair to releasable quality[edit]
- Difficulty:
2. Medium - Size: Large
- 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, Sevilay Bayatlı, User:Unhammer, Hèctor Alòs i Font - read more...
Develop a prototype MT system for a strategic language pair[edit]
- Difficulty:
2. Medium - Size: Large
- Required skills:
XML, some knowledge of linguistics and of one relevant natural language - Description:
Create a translation pair based on two existing language modules, focusing on the dictionary and structural transfer - Rationale:
Choose a strategic set of languages to develop an MT system for, such that you know the target language well and morphological transducers for each language are part of Apertium. Develop an Apertium MT system by focusing on writing a bilingual dictionary and structural transfer rules. Expanding the transducers and disambiguation, and writing lexical selection rules and multiword sequences may also be part of the work. The pair may be an existing prototype, but if it's a heavily developed but unreleased pair, consider applying for "Bring an unreleased translation pair to releasable quality" instead. - Mentors:
Jonathan Washington, Sevilay Bayatlı, User:Unhammer, Hèctor Alòs i Font - read more...
Add a new variety to an existing language[edit]
- Difficulty:
3. Entry level - Size: Multiple lengths possible (discuss with the mentors which option is better for you)
- Required skills:
XML, some knowledge of linguistics and of one relevant natural language - Description:
Add a language variety to one or more released pairs, focusing on the dictionary and lexical selection - Rationale:
Take a released language, and define a new language variety for it: e.g. Quebec French or Provençal Occitan. Then add the new variety to one or more released language pairs, without diminishing the quality of the pre-existing variety(ies). The objective is to facilitate the generation of varieties for languages with a weak standardisation and/or pluricentric languages. - Mentors:
Hèctor Alòs i Font, Jonathan Washington,Sevilaybayatlı - read more...
Leverage and integrate language preferences into language pairs[edit]
- Difficulty:
3. Entry level - Size: Medium
- Required skills:
XML, some knowledge of linguistics and of one relevant natural language - Description:
Update language pairs with lexical and orthographical variations to leverage the new preferences functionality - Rationale:
Currently, preferences are implemented via language variant, which relies on multiple dictionaries, increasing compilation time exponentially every time a new preference gets introduced. - Mentors:
Xavi Ivars User:Unhammer - read more...
Add Capitalization Handling Module to a Language Pair[edit]
- Difficulty:
3. Entry level - Size: Small
- Required skills:
XML, knowledge of some relevant natural language - Description:
Update a language pair to make use make use of the new Capitalization handling module - Rationale:
Correcting capitalization via transfer rules is tedious and error prone, but putting them in a separate set of rules should allow them to be handled in a more concise and maintainable way. Additionally, it is possible that capitalization rule could be moved to monolingual modules, thus reducing development effort on translators. - Mentors:
User:Popcorndude - read more...
Data Extraction[edit]
A lot of the language data we need to make our analyzers and translators work already exists in other forms and we just need to figure out how to convert it. If you know of another source of data that isn't listed, we'd love to hear about it.
dictionary induction from wikis[edit]
- Difficulty:
2. Medium - Size: Multiple lengths possible (discuss with the mentors which option is better for you)
- 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, User:Popcorndude - read more...
Dictionary induction from parallel corpora / Revive ReTraTos[edit]
- Difficulty:
2. Medium - Size: Medium
- Required skills:
C++, perl, python, xml, scripting, machine learning - Description:
Extract dictionaries from parallel corpora - Rationale:
Given a pair of monolingual modules and a parallel corpus, we should be able to run a program to align tagged sentences and give us the best entries that are missing from bidix. ReTraTos (from 2008) did this back in 2008, but it's from 2008. We want a program which builds and runs in 2022, and does all the steps for the user. - Mentors:
User:Unhammer, User:Popcorndude - read more...
Extract morphological data from FLEx[edit]
- Difficulty:
1. Hard - Size: Large
- Required skills:
python, XML parsing - Description:
Write a program to extract data from 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:
Popcorndude, Flammie - read more...
Tooling[edit]
These are projects for people who would be comfortable digging through our C++ codebases (you will be doing a lot of that).
Python API for Apertium[edit]
- Difficulty:
2. Medium - Size: Medium
- 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 phonemicisation, segmentation, and transliteration, and doesn't work for some OSeslike Debian. - Mentors:
Francis Tyers - read more...
Robust tokenisation in lttoolbox[edit]
- Difficulty:
2. Medium - Size: Large
- Required skills:
C++, XML, Python - Description:
Improve the longest-match left-to-right tokenisation strategy in lttoolbox to handle spaceless orthographies. - 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. Additionally, the system is nearly impossible to use for languages that don't use spaces, such as Japanese. - Mentors:
Francis Tyers, Flammie - read more...
rule visualization tools[edit]
- Difficulty:
2. Medium - Size: Multiple lengths possible (discuss with the mentors which option is better for you)
- Required skills:
python? javascript? XML - Description:
make tools to help visualize the effect of various rules - Rationale:
TODO see https://github.com/Jakespringer/dapertium for an example - Mentors:
Jonathan Washington, Sevilay Bayatlı, User:Popcorndude - read more...
Extend Weighted transfer rules[edit]
- Difficulty:
2. Medium - Size: Medium
- Required skills:
C++, python - Description:
The weighted transfer module is already applied to the chunker transfer rules. And the idea here is to extend that module to be applied to interchunk and postchunk transfer rules too. - Rationale:
As a resource see https://github.com/aboelhamd/Weighted-transfer-rules-module - Mentors:
Sevilay Bayatlı - read more...
Automatic Error-Finder / Pseudo-Backpropagation[edit]
- Difficulty:
1. Hard - Size: Large
- Required skills:
python? - Description:
Develop a tool to locate the approximate source of translation errors in the pipeline. - Rationale:
Being able to generate a list of probable error sources automatically makes it possible to prioritize issues by frequency, frees up developer time, and is a first step towards automated generation of better rules. - Mentors:
User:Popcorndude - read more...
More Robust Recursive Transfer[edit]
- Difficulty:
1. Hard - Size: Large
- Required skills:
C++ - Description:
Ensure Recursive Transfer survives ambiguous or incomplete parse trees - Rationale:
Currently, one has to be very careful in writing recursive transfer rules to ensure they don't get too deep or ambiguous, and that they cover full sentences. See in particular issues 97 and 80. We would like linguists to be able to fearlessly write recursive (rtx) rules based on what makes linguistic sense, and have rtx-proc/rtx-comp deal with the computational/performance side. - Mentors:
- read more...
CG-based Transfer[edit]
- Difficulty:
1. Hard - Size: Large
- Required skills:
C++ - Description:
Linguists already write dependency trees in Constraint Grammar. A following step could use these to reorder into target language trees. - Rationale:
{{{rationale}}} - Mentors:
- [[|read more...]]
Language Server Protocol[edit]
- Difficulty:
2. Medium - Size: Medium
- Required skills:
any programming language - Description:
Build a [https://microsoft.github.io/language-server-protocol/ - Rationale:
We have some static analysis tools and syntax highlighters already and it would be great if we could combine and expand them to support more text editors. - Mentors:
User:Popcorndude - read more...
WASM Compilation[edit]
- Difficulty:
1. Hard - Size: Medium
- Required skills:
C++, Javascript - Description:
Compile the pipeline modules to WASM and provide JS wrappers for them. - Rationale:
There are situations where it would be nice to be able to run the entire pipeline in the browser - Mentors:
Tino Didriksen - read more...
Web[edit]
If you know Python and JavaScript, here's some ideas for improving our website. Some of these should be fairly short and it would be a good idea to talk to the mentors about doing a couple of them together.
Web API extensions[edit]
- Difficulty:
2. Medium - Size: Small
- 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 phonemicisation, segmentation, transliteration, and paradigm generation. - Mentors:
Francis Tyers, Jonathan Washington, Xavi Ivars - read more...
Website Improvements: Misc[edit]
- Difficulty:
2. Medium - Size: Small
- Required skills:
html, css, js, python - Description:
Improve elements of Apertium's web infrastructure - Rationale:
Apertium's website infrastructure Apertium-html-tools and its supporting API Apertium APy have numerous open issues. This project would entail choosing a subset of open issues and features that could realistically be completed in the summer. You're encouraged to speak with the Apertium community to see which features and issues are the most pressing. - Mentors:
Jonathan Washington, Xavi Ivars - read more...
Website Improvements: Dictionary Lookup[edit]
- Difficulty:
2. Medium - Size: Small
- Required skills:
html, css, js, python - Description:
Finish implementing dictionary lookup mode in Apertium's web infrastructure - Rationale:
Apertium's website infrastructure Apertium-html-tools and its supporting API Apertium APy have numerous open issues, including half-completed features like dictionary lookup. This project would entail completing the dictionary lookup feature. Some additional features which would be good to work would include automatic reverse lookups (so that a user has a better understanding of the results), grammatical information (such as the gender of nouns or the conjugation paradigms of verbs), and information about MWEs. - Mentors:
Jonathan Washington, Xavi Ivars, User:Popcorndude - [the open issue on GitHub|read more...]
Website Improvements: Spell checking[edit]
- Difficulty:
2. Medium - Size: Small
- Required skills:
html, js, css, python - Description:
Add a spell-checking interface to Apertium's web 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. the open issue on GitHub - Mentors:
Jonathan Washington, Xavi Ivars - read more...
Website Improvements: Suggestions[edit]
- Difficulty:
2. Medium - Size: Small
- Required skills:
html, css, js, python - Description:
Finish implementing a suggestions interface for Apertium's web infrastructure - Rationale:
Some work has been done to add a "suggestions" interface to Apertium's website infrastructure Apertium-html-tools and its supporting API Apertium APy, whereby users can suggest corrected translations. This project would entail finishing that feature. There are some related issues and PRs on GitHub. - Mentors:
Jonathan Washington, Xavi Ivars - read more...
Website Improvements: Orthography conversion interface[edit]
- Difficulty:
2. Medium - Size: Small
- Required skills:
html, js, css, python - Description:
Add an orthography conversion interface to Apertium's web tools - Rationale:
Several Apertium language modules (like Kazakh, Kyrgyz, Crimean Tatar, and Hñähñu) have orthography conversion modes in their mode definition files. This project would be to expose those modes through Apertium APy and provide a simple interface in Apertium-html-tools to use them. - Mentors:
Jonathan Washington, Xavi Ivars - read more...
Add support for NMT to web API[edit]
- Difficulty:
2. Medium - Size: Medium
- Required skills:
python, NMT - Description:
Add support for a popular NMT engine to Apertium's web API - Rationale:
Currently Apertium's web API Apertium APy, supports only Apertium language modules. But the front end could just as easily interface with an API that supports trained NMT models. The point of the project is to add support for one popular NMT package (e.g., translateLocally/Bergamot, OpenNMT or JoeyNMT) to the APy. - Mentors:
Jonathan Washington, Xavi Ivars - [[|read more...]]
Integrations[edit]
In addition to incorporating data from other projects, it would be nice if we could also make our data useful to them.
OmniLingo and Apertium[edit]
- Difficulty:
2. Medium - Size: Multiple lengths possible (discuss with the mentors which option is better for you)
- Required skills:
JS, Python - Description:
OmniLingo is a language learning system for practicing listening comprehension using Common Voice data. There is a lot of text processing involved (for example tokenisation) that could be aided by Apertium tools. - Rationale:
- Mentors:
Francis Tyers - read more...
Support for Enhanced Dependencies in UD Annotatrix[edit]
- Difficulty:
2. Medium - Size: Medium
- 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...
UD and Apertium integration[edit]
- Difficulty:
3. Entry level - Size: Medium
- 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, User:Popcorndude - read more...