Task ideas for Google Code-in/Language detection in simple-html and apertium-apy
< Task ideas for Google Code-in
Jump to navigation
Jump to search
Revision as of 20:42, 13 November 2013 by Francis Tyers (talk | contribs) (Francis Tyers moved page Task ideas for Google Code-in/Language detection in apertium-apy to Task ideas for Google Code-in/Language detection in simple-html and apertium-apy without leaving a redirect)
Objective
The language detection in the simple HTML interface currently uses a 2.9M javascript file. The objective of this set of tasks is to get it to use apertium-apy for the language detection.
Tasks
Implement language detection in apertium-apy
Currently apertium-apy does not do language detection. Make a new function that allows the language of some input text to be identified. This function should return a dict of languages and probabilities. For this task you will also need to train models for the language identifier.
Localised 'available languages' in apertium-apy
Make a new function for apertium-apy, is takes as input a language code, and as output gives the list of available pairs, and their translations in the language specified by the language code. You will probably need to know JavaScript and Python.