Version at: 06/03/2014, 19:40 vs. version at: 07/03/2014, 16:21
11GSoC ideas for student projects
22===============================
33
44This page lists example ideas for students who would like to take part in [Google Summer of Code](http://www.google-melange.com/) and be mentored by Tatoeba. To quote [GSoC FAQ](http://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2013/help_page#3._What_is_an_Ideas_list):
55
66<blockquote>
77<p>An Ideas list should be a list of suggested student projects. This list is meant to introduce contributors to your project's needs and to provide inspiration to would-be student applicants. It is useful to classify each idea as specifically as possible, e.g. "must know Python" or "easier project; good for a student with more limited experience with C++." If your organization plans to provide a proposal template for the students, it would be good to include it on your Ideas list.</p>
88
99<p>Keep in mind that your ideas list should be a starting point for student proposals; we've heard from past mentoring organization participants that some of their best student projects are those that greatly expanded on a proposed idea or were blue-sky proposals not mentioned on the ideas list at all. A link to a bug tracker for your open source organization is NOT an ideas list.</p>
1010
1111<p>You can check out the <a href="http://community.kde.org/GSoC/2011/Ideas">Ideas list for KDE</a> for Google Summer of Code in 2011 to get an idea of what we’re looking for in an ideas list. </p>
1212</blockquote>
1313
1414If you're a student, you're invited to discuss any of these ideas, as well as propose your own. We encourage you to get familiar with the [site](http://tatoeba.org) and the [codebase](main#developers) immediately. Registering on the site, looking at the existing sentences, and adding a few of your own (preferably in the language that you know best) will be a valuable experience for you.
1515
1616To contact us developers, use one of these:
1717
1818* Email/Google groups: [Tatoeba's dev mailing list](https://groups.google.com/forum/#!forum/tatoebaproject)
1919* IRC: [Tatoeba on #Freenode](irc://irc.freenode.net/tatoeba), [Webchat](http://webchat.freenode.net?channels=tatoeba)
2020* XMPP: [Tatoeba conference room on chat.tatoeba.org](xmpp:tatoeba@chat.tatoeba.org?join)
2121
2222To get a feeling for the discussions taking place within the Tatoeba contributor community, visit the [Tatoeba Wall page](http://tatoeba.org/wall/index).
2323
2424
2525About Tatoeba (for students)
2626----------------------------
2727
2828Tatoeba is a libre/free database of example sentences translated into many
2929languages. Our goal is to create a resource for people studying
3030languages—either to learn or research. The database is currently used:
3131
3232* As a source of example sentences by free dictionaries and language
3333learning websites (like Jim Breen’s WWWJDIC; Jim Breen is actually a
3434member too):
3535
3636 * There's a list of free dictionary and language learning websites
3737 using Tatoeba's corpus maintained by our member CK:
3838 http://a4esl.com/temporary/tatoeba/links.html
3939
4040* As a rich resource for language learners: They can find out how to
4141use words or how to translate grammatical constructs and idioms.
4242
4343* For research: example papers include:
4444
4545 * Research on treebanking Japanese (Francis Bond, 栗林 孝行 [Takayuki
4646Kuribayashi], 橋本 力 [Hashimoto Chikara] (2008) HPSGに基づくフリーな日本語ツリー バンクの構築
4747[A free Japanese Treebank based on HPSG]. In 14th Annual Meeting of The
4848Association for Natural Language Processing, Tokyo),
4949
5050 * Statistical machine translation (Eric Nichols, Francis Bond,
5151Darren Scott Appling and Yuji Matsumoto (2010) Paraphrasing Training
5252Data for Statistical Machine Translation. Journal of Natural Language
5353Processing, 17(3), pages 101-122)
5454
55The main site currently has about 1 million page views and 250 thousands
56 unique visitors monthly, as reported by Google Analytics, and the
57corpus is growing steadily by 3% or more every month.
55The main site currently has about 1 million page views and 250 thousand unique visitors monthly, as reported by Google Analytics, and the corpus is growing steadily by 3% or more every month.
5856
5957
6058Current site
6159------------
6260
6361Extending current PHP site:
6462
6563* programming in PHP with the CakePHP framework
6664* shell tools for maintenance (e.g.: better export scripts)
6765* JavaScript
6866
6967### Better export scripts
7068
7169Currently CSV dumps are done weekly. They require the database to be switched into a read-only mode, take 5~10 minutes, and do not contain some important information, such as tag creator and comments. CSV dumps are important for people who cooperate with Tatoeba by creating additional tools, so their quality is vital for healthy collaboration.
7270
7371**Deliverables**: An database export mechanism that:
7472
7573 * Dumps all interesting information (everything currently in the data dumps plus modification history, sentence comments, the wall, etc.).
7674 * Can create incremental dumps, making them faster, which will allow them to be made more frequently.
7775 * Provides an interface for collaborators to get notifications about new dumps and allows automatic access.
7876 * (Advanced) Provides a stream of updates via web sockets or a similar mechanism.
7977
8078**Prerequisite knowledge**: a scripting language (Python preferred), PHP, MySQL.
8179
8280### Administrative Scripts
8381
8482The current site has experienced a couple of crashes and instabilities. We would like to increase the number of users who are fully capable of administering it with ease and reliability. In order to ease administration and quickly recover from disaster, a number of scripts covering common administrative tasks are needed.
8583
8684**Deliverables**:
8785
8886*Shell scripts* that cover:
8987
9088 * backup
9189 * restoring of backups
9290 * export of data
9391 * import of data
9492 * adding new languages
9593 * deduplication of sentences
9694 * indexing of sentences by the search daemon
9795 * preserving existing translations when typos in the source UI strings are fixed
9896 * getting external services up and running
9997 * updating the production site from the repository
10098 * deployment on a real server from scratch
10199 * deployment on a development machine from scratch
102100 * monitoring the server and logging load and activity
103101 * other necessary tasks
104102
105103An *administrative interface* accessible by admins to manually execute any of these tasks on the server with progress bars and statistics.
106104
107105**Prerequisite knowledge**: a scripting language (bash, Python, Perl, etc..), possibly familiarity with a build system (ansible, vagrant), and possibly familiarity with setting up and maintaining a monitoring system (newrelic, nagios, cacti, munin)
108106
109107### Testing Suite
110108
111109The current website doesn't have any tangible automated tests or any form of continuous integration. Any new code that gets added to the repository can break the existing website and most testing is done manually at this point. In order to make the code future proof and give the users a stable experience, a battery of tests for the main functionality of the website is needed.
112110
113111**Deliverables**: A number of tests that create a test database and emulate a browser, testing some or all of the functionality that the website currently offers. Refer to this [list](http://en.wiki.tatoeba.org/articles/show/functionality-test-list)
114112
115113**Prerequisite knowledge**: a scripting language (Python, PHP, etc...), MySQL, and a web testing framework (selenium, or something similar).
116114
117115### API
118116
119117The Tatoeba database is used either through the main website interface or through data dumps. Having a real API that can be called through AJAX and return machine-readable results would provide real-time access for external applications.
120118
121119**Deliverables**: A web application that provides a set of API calls for data stored in the current database. The API should cover all data available through the current web interface, including sentence comments, wall comments, recently-added sentences and top recent contributors.
122120
123121**Prerequisite knowledge**: a web application language (Python or PHP preferred), MySQL, and a data exchange format such as JSON or XML.
124122
125123### API Compliant Interface
126124
127125With the presence of an API and an API [spec](https://github.com/trang/tatoeba-api/wiki/Tatoeba-API-specification-2) most direct SQL queries in the current codebase will become obsolete and the preferred way to do it would be through the API. So a rewrite or a completely new Interface will be the next logical step.
128126
129127**Deliverables**: A rewrite of the current codebase to use the API instead of SQL queries or a completely new interface in another language, preferably in a javascript framework.
130128
131129**Prerequisite knowledge**: strong knowledge of CakePHP, familiarity with the API, and familiarity with the current codebase, or strong knowledge of a web framework (django for example) or a javascript framework (angularjs for example).
132130
133131### Improvements in user interface for end users
134132
135133Tatoeba now handles several kinds of queries, but more are desired. The translation interface, in particular, needs improvement. Examples of desired types of queries:
136134
137135* Get all sentences in a given language by a given user that have not been translated into a given language. For example: *Show me all English sentences by user "CK" not yet translated into Japanese.*
138136
139137* Same as above, but limited to sentences with audio. For example: *Show me all English sentences by "CK" with audio that have not been translated into Japanese.*
140138
141139* Get all sentences by native speakers of a given language not yet translated into a given language. For example: *Show me all Finnish sentences by native speakers not translated into Hungarian.*
142140
143141* Get all sentences in a given language with a certain tag not translated into a given language. For example: *Show me all Georgian sentences with the tag "restaurant" not translated into Armenian.*
144142
145143* Same as above, but limited to sentences by native speakers not translated into a given language. For example: *Show me all Korean sentences by native speakers with the tag "weather" not translated into Japanese.*
146144
147145* Get all sentences in a given language under a certain length not yet translated into a given language. For example: *Show me all Japanese sentences fewer than 50 characters in length not translated into French.*
148146
149147* Same as above, but limited to native speaker sentences.
150148
151149* Same as above, but limited to sentences by a given user.
152150
153151* Get all sentences by native speakers of a given language that match a given search keyword that have not been translated into a given language. For example: *Show all English sentences with the word "mountain" not translated into Japanese.*
154152
155153* Same as above, but limited to native speaker sentences.
156154
157155* Same as above, but limited to sentences by a given user.
158156
159157**Deliverables:** Implementation of some or all of the above. Project might include additional queries. It would be highly desired to provide a generic way of adding new types of queries.
160158
161159**Prerequisite knowledge**: PHP, CakePHP.
162160
163161### Allow users to follow each other
164162
165163This feature would allow users to keep track of newly created sentences of other users, just like Twitter does. One could be able to get notified of new sentences of users he or she's following, and to browse them. Public and private visibility of who’s following who should be discussed prior to development.
166164
167165**Deliverables:** a mean to follow one or more users ; a page that displays the sentences of the followed users and allows to browse and search through ; configurable notifications about new sentences of the followed users ; displaying of who’s following who.
168166
169167**Prerequisite knowledge**: PHP, CakePHP.
170168
171169### Word requests
172170
173171This feature would allow users to request example sentences that show the correct usage of a given word or phrase. Contributors could browse lists of 'requested words' and add sentences that include them.
174172
175173People interested in this idea should consider and discuss possible implementations details prior to development. Typical questions include:
176174
177175* What should be the scope of the lists (per-language, per-user…)?
178176* How should the lists be maintained?
179177* Can we indicate that a 'requested word' now has enough example sentences? If yes, how?
180178* What’s the lifecycle of a typical requested word?
181179* What if users want to express additional information in their requests, such as the context or sense for the requested word?
182180* What about synonyms, inflections… ?
183181
184182**Deliverables:** a mean to express the need of example sentences of a given word ; a way to easily contribute new sentences that shows example of wanted words
185183
186184**Prerequisite knowledge**: PHP, CakePHP.
187185
188186### Show pronunciation in IPA for sentences
189187
190188IPA stands for "International Phonetic Alphabet" and is used to describe pronunciation of human languages in an unambiguous way. As such, it helps learning languages whose pronunciation rules are complex (e.g., English). Tatoeba could display IPA pronunciation for each sentence in basically the same way it currently displays pronunciation for Japanese using kana. One possible way of performing the task is to use an external library or application to prepare IPA annotations. For example, [eSpeak](http://espeak.sourceforge.net/) seems to be able to handle several popular languages and has an IPA converter.
191189
192190**Deliverables:** A mechanism that shows IPA pronunciation for some languages (chosen by the student). This can be done server-side (as a standalone service or part of existing code) or client-side (using JavaScript). Mechanism should allow pre-generating pronunciation descriptions and should provide means to manually edit pronunciation later. Mechanism can rely on 3rd party tool to generate pronunciation descriptions.
193191
194192**Prerequisite knowledge**: web technology, some web application stack (PHP, Python or CppCMS preferred).
195193
196194New site & CppCMS
197195-----------------
198196
199197Helping Sysko with tatowiki, tatodb. Extending [CppCMS](http://cppcms.com/wikipp/en/page/main). As the new site is still mostly being planned, there are no specific project ideas for the moment. Please ask on the IRC channel for more information. Note that many projects in this category will have an experimental nature, and their scope highly depends on your skills.
200198
201199Standalone user tools
202200---------------------
203201
204202Work on tools such as the following:
205203
206204* [shtooka recorder](http://a4esl.com/temporary/tatoeba/shtooka/) or [swac-record](http://zmoo.fr/swac-tools/) for recording audio for sentences
207205* [tatoparser](https://github.com/qdii/tatoeba_parser) for retrieving sentences that match regular expressions
208206* [katoeba](https://github.com/sadhen/katoeba)
209207
210208Create new tools, such as apps for smartphones, for ordinary or advanced contributors.
211209
212210### Android/iPhone application
213211
214212iPhone users are about 12%, and Android users about 7% of the site visitors. It might help them immensely if they could use a dedicated application.
215213
216214**Deliverables**: A smartphone application for easy access to Tatoeba. Examples of features:
217215
218216* Querying the online Tatoeba site
219217* Adding sentences
220218* Translating
221219* Performing typical corpus maintenance tasks (linking/unlinking sentences, changing sentence language, tagging, etc.)
222220* Access to wall and sentence comments
223221* Recording voice
224222* Offline database access (more difficult!)
225223
226224Note: It is not expected to implement all of these features during a single GSoC event. Depending on your skills, you might prepare a proposal for a basic set of features (if you don't have much experience in mobile development yet) or a more complex or targeted application (if you do have experience and want to prepare something more feature-complete).
227225
228226**Prerequisite knowledge**: Java and Android development or iPhone and iOS developement; using web services.
229227
230228### Streamlined linking of multiple sentences
231229
232230Where multiple sentences in a source language have the same translation in the target language, make it easy to link those source sentences to the same target translation. Collecting the sentences that are likely to have the same translation could be as simple as presenting sentences in order of creation, since variants of a sentence that vary only in, e.g., the number of the pronoun (where the singular and plural forms of the second person map to the same word in English) are likely to be entered consecutively.
233231
234232**Prerequisite knowledge**: JavaScript, possibly Java, possibly SQL
235233
236234### Help bots
237235
238236Produce bots like [those in Wikipedia](https://en.wikipedia.org/wiki/Wikipedia:Bots), to help with maintenance and repetitive tasks such as fixing common mistakes, wrong flag, etc. As on Wikipedia, users that are actually bots should be identified somehow on the website side. Ideally, create a library that could be used as a base to create bots that interact with the Tatoeba website.
239237
240238Note: this idea would highly benefit from having a real API, which is another project listed here.
241239
242240**Prerequisite knowledge**: web
243241
244242Other ideas
245243-----------
246244
247245External services, like [CK's Temporary Tatoeba site](http://a4esl.com/temporary/tatoeba/). Other ideas.
248246
249247### XMPP Integration for Tatoeba
250248
251249Use the XMPP communications protocol to integrate the manipulation of sentences, comments, and wall posts, as well as live feeds of latest comments, sentence additions, and wall posts, with services such as pubsub.
252250
253251**Deliverables**:
254252
255253* An XEP that outlines the protocol tatoeba would use for all of those operations over XMPP ready to be submitted to the XSF
256254* An implementation of this XEP in XMPP clients as plugins, poezio and gajim are top priorities.
257255* An implementation of this XEP server side as a module, prosody is a top priority.
258256
259257**Prerequisite Knowledge**: XMPP, PubSub, Python, Lua, Familiarity with prosody/gajim/poezio codebases and plugin architecture
260258
261259
262260### SRS deck generator
263261
264262Spaced Repetition Systems such as Anki and Mnemosyne are popular tools for learning languages. However, preparing a good SRS deck is a time-consuming task. Therefore, an automated way to generate a deck from a list of sentences (e.g., sentences on a Tatoeba list, sentences tagged by some specific tag, etc.) would help language learners.
265263
266264**Deliverables**: an application (preferably a web-based one) that would use Tatoeba database (for example in the form of a weekly CSV data dump) to create SRS decks for major flash card applications. Examples of features:
267265
268266* Generate a simple deck from a Tatoeba list, tag, or search query.
269267* Generate an N+1-style deck based on user's list of known words and Tatoeba database. (User gives a list of N words that s/he already knows. System chooses a new sentence where exactly one word is unknown, and the rest belong to the already known set.)
270268* Generated decks have proper internal structure (as for Anki decks: proper field scheme is used to store knowledge, so editing is easy).
271269
272270**Prerequisite knowledge**: any web stack, however Django or CppCMS are prefered; Python or C++; knowledge about SRS.
273271
274272### Browsable graph of sentence links
275273
276274Given a sentence, display it as a [graph](https://en.wikipedia.org/wiki/Graph_%28data_structure%29) [like this](http://blog.tatoeba.org/2010/02/how-to-be-good-contributor-in-tatoeba.html#rule2) the linked sentences up to a given depth. The main purpose of such a graph is to show users how Tatoeba is structured at a glance. The current interface doesn’t provide such a view, but it’s important that users understand the actual structure of Tatoeba. This idea could be freely extended to a complete interface allowing linking and unlinking with a click, filter by language, edit sentences, or whatever you can think of.
277275
278276**Deliverables**: a web application or a client-side JavaScript program that provides a graph view of a group of sentences, and allows manipulating them. Code can either operate on database directly or use existing or planned APIs.
279277
280278Note that this idea can be implemented as part of the current code base in PHP or as an experimental service for a new CppCMS site (preferred).
281279
282280**Prerequisite knowledge**: PHP, Python or CppCMS.
diff view generated by jsdifflib

Version at: 06/03/2014, 19:40

GSoC ideas for student projects
===============================

This page lists example ideas for students who would like to take part in [Google Summer of Code](http://www.google-melange.com/) and be mentored by Tatoeba. To quote [GSoC FAQ](http://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2013/help_page#3._What_is_an_Ideas_list):

<blockquote>
<p>An Ideas list should be a list of suggested student projects. This list is meant to introduce contributors to your project's needs and to provide inspiration to would-be student applicants. It is useful to classify each idea as specifically as possible, e.g. "must know Python" or "easier project; good for a student with more limited experience with C++." If your organization plans to provide a proposal template for the students, it would be good to include it on your Ideas list.</p>

<p>Keep in mind that your ideas list should be a starting point for student proposals; we've heard from past mentoring organization participants that some of their best student projects are those that greatly expanded on a proposed idea or were blue-sky proposals not mentioned on the ideas list at all. A link to a bug tracker for your open source organization is NOT an ideas list.</p>

<p>You can check out the <a href="http://community.kde.org/GSoC/2011/Ideas">Ideas list for KDE</a> for Google Summer of Code in 2011 to get an idea of what we’re looking for in an ideas list. </p>
</blockquote>

If you're a student, you're invited to discuss any of these ideas, as well as propose your own. We encourage you to get familiar with the [site](http://tatoeba.org) and the [codebase](main#developers) immediately. Registering on the site, looking at the existing sentences, and adding a few of your own (preferably in the language that you know best) will be a valuable experience for you. 

To contact us developers, use one of these:

* Email/Google groups: [Tatoeba's dev mailing list](https://groups.google.com/forum/#!forum/tatoebaproject)
* IRC: [Tatoeba on #Freenode](irc://irc.freenode.net/tatoeba), [Webchat](http://webchat.freenode.net?channels=tatoeba)
* XMPP: [Tatoeba conference room on chat.tatoeba.org](xmpp:tatoeba@chat.tatoeba.org?join)

To get a feeling for the discussions taking place within the Tatoeba contributor community, visit the [Tatoeba Wall page](http://tatoeba.org/wall/index).


About Tatoeba (for students)
----------------------------

Tatoeba is a libre/free database of example sentences translated into many 
languages. Our goal is to create a resource for people studying 
languages—either to learn or research. The database is currently used:

* As a source of example sentences by free dictionaries and language 
learning websites (like Jim Breen’s WWWJDIC; Jim Breen is actually a 
member too):

  * There's a list of free dictionary and language learning websites
 using Tatoeba's corpus maintained by our member CK:
        http://a4esl.com/temporary/tatoeba/links.html

* As a rich resource for language learners: They can find out how to 
use words or how to translate grammatical constructs and idioms.

* For research: example papers include:

  * Research on treebanking Japanese (Francis Bond, 栗林 孝行 [Takayuki 
Kuribayashi], 橋本 力 [Hashimoto Chikara] (2008) HPSGに基づくフリーな日本語ツリー バンクの構築 
[A free Japanese Treebank based on HPSG]. In 14th Annual Meeting of The 
Association for Natural Language Processing, Tokyo),

  * Statistical machine translation (Eric Nichols, Francis Bond, 
Darren Scott Appling and Yuji Matsumoto (2010) Paraphrasing Training 
Data for Statistical Machine Translation. Journal of Natural Language 
Processing, 17(3), pages 101-122)

The main site currently has about 1 million page views and 250 thousands
 unique visitors monthly, as reported by Google Analytics, and the 
corpus is growing steadily by 3% or more every month.


Current site
------------

Extending current PHP site: 

* programming in PHP with the CakePHP framework
* shell tools for maintenance (e.g.: better export scripts)
* JavaScript

### Better export scripts

Currently CSV dumps are done weekly. They require the database to be switched into a read-only mode, take 5~10 minutes, and do not contain some important information, such as tag creator and comments. CSV dumps are important for people who cooperate with Tatoeba by creating additional tools, so their quality is vital for healthy collaboration.

**Deliverables**: An database export mechanism that:

  * Dumps all interesting information (everything currently in the data dumps plus modification history, sentence comments, the wall, etc.).
  * Can create incremental dumps, making them faster, which will allow them to be made more frequently.
  * Provides an interface for collaborators to get notifications about new dumps and allows automatic access.
  * (Advanced) Provides a stream of updates via web sockets or a similar mechanism.

**Prerequisite knowledge**: a scripting language (Python preferred), PHP, MySQL.

### Administrative Scripts

The current site has experienced a couple of crashes and instabilities. We would like to increase the number of users who are fully capable of administering it with ease and reliability. In order to ease administration and quickly recover from disaster, a number of scripts covering common administrative tasks are needed.

**Deliverables**:

*Shell scripts* that cover:

 * backup
 * restoring of backups
 * export of data
 * import of data 
 * adding new languages
 * deduplication of sentences
 * indexing of sentences by the search daemon
 * preserving existing translations when typos in the source UI strings are fixed 
 * getting external services up and running
 * updating the production site from the repository
 * deployment on a real server from scratch
 * deployment on a development machine from scratch
 * monitoring the server and logging load and activity
 * other necessary tasks

An *administrative interface* accessible by admins to manually execute any of these tasks on the server with progress bars and statistics. 

**Prerequisite knowledge**: a scripting language (bash, Python, Perl, etc..), possibly familiarity with a build system (ansible, vagrant), and possibly familiarity with setting up and maintaining a monitoring system (newrelic, nagios, cacti, munin)

### Testing Suite

The current website doesn't have any tangible automated tests or any form of continuous integration. Any new code that gets added to the repository can break the existing website and most testing is done manually at this point. In order to make the code future proof and give the users a stable experience, a battery of tests for the main functionality of the website is needed.

**Deliverables**: A number of tests that create a test database and emulate a browser, testing some or all of the functionality that the website currently offers. Refer to this [list](http://en.wiki.tatoeba.org/articles/show/functionality-test-list)

**Prerequisite knowledge**: a scripting language (Python, PHP, etc...), MySQL, and a web testing framework (selenium, or something similar).

### API

The Tatoeba database is used either through the main website interface or through data dumps. Having a real API that can be called through AJAX and return machine-readable results would provide real-time access for external applications.

**Deliverables**: A web application that provides a set of API calls for data stored in the current database. The API should cover all data available through the current web interface, including sentence comments, wall comments, recently-added sentences and top recent contributors.

**Prerequisite knowledge**: a web application language (Python or PHP preferred), MySQL, and a data exchange format such as JSON or XML.

### API Compliant Interface

With the presence of an API and an API [spec](https://github.com/trang/tatoeba-api/wiki/Tatoeba-API-specification-2) most direct SQL queries in the current codebase will become obsolete and the preferred way to do it would be through the API. So a rewrite or a completely new Interface will be the next logical step.

**Deliverables**: A rewrite of the current codebase to use the API instead of SQL queries or a completely new interface in another language, preferably in a javascript framework.

**Prerequisite knowledge**: strong knowledge of CakePHP, familiarity with the API, and familiarity with the current codebase, or strong knowledge of a web framework (django for example) or a javascript framework (angularjs for example).

### Improvements in user interface for end users

Tatoeba now handles several kinds of queries, but more are desired. The translation interface, in particular, needs improvement. Examples of desired types of queries:

* Get all sentences in a given language by a given user that have not been translated into a given language. For example: *Show me all English sentences by user "CK" not yet translated into Japanese.*

* Same as above, but limited to sentences with audio. For example: *Show me all English sentences by "CK" with audio that have not been translated into Japanese.*

* Get all sentences by native speakers of a given language not yet translated into a given language. For example: *Show me all Finnish sentences by native speakers not translated into Hungarian.*

* Get all sentences in a given language with a certain tag not translated into a given language. For example: *Show me all Georgian sentences with the tag "restaurant" not translated into Armenian.*

* Same as above, but limited to sentences by native speakers not translated into a given language. For example: *Show me all Korean sentences by native speakers with the tag "weather" not translated into Japanese.*

* Get all sentences in a given language under a certain length not yet translated into a given language. For example: *Show me all Japanese sentences fewer than 50 characters in length not translated into French.*

* Same as above, but limited to native speaker sentences.

* Same as above, but limited to sentences by a given user.

* Get all sentences by native speakers of a given language that match a given search keyword that have not been translated into a given language. For example: *Show all English sentences with the word "mountain" not translated into Japanese.*

* Same as above, but limited to native speaker sentences.

* Same as above, but limited to sentences by a given user.

**Deliverables:** Implementation of some or all of the above. Project might include additional queries. It would be highly desired to provide a generic way of adding new types of queries.

**Prerequisite knowledge**: PHP, CakePHP.

### Allow users to follow each other

This feature would allow users to keep track of newly created sentences of other users, just like Twitter does. One could be able to get notified of new sentences of users he or she's following, and to browse them. Public and private visibility of who’s following who should be discussed prior to development.

**Deliverables:** a mean to follow one or more users ; a page that displays the sentences of the followed users and allows to browse and search through ; configurable notifications about new sentences of the followed users ; displaying of who’s following who.

**Prerequisite knowledge**: PHP, CakePHP.

### Word requests

This feature would allow users to request example sentences that show the correct usage of a given word or phrase. Contributors could browse lists of 'requested words' and add sentences that include them.

People interested in this idea should consider and discuss possible implementations details prior to development. Typical questions include: 

* What should be the scope of the lists (per-language, per-user…)? 
* How should the lists be maintained? 
* Can we indicate that a 'requested word' now has enough example sentences? If yes, how? 
* What’s the lifecycle of a typical requested word? 
* What if users want to express additional information in their requests, such as the context or sense for the requested word? 
* What about synonyms, inflections… ?

**Deliverables:** a mean to express the need of example sentences of a given word ; a way to easily contribute new sentences that shows example of wanted words

**Prerequisite knowledge**: PHP, CakePHP.

### Show pronunciation in IPA for sentences

IPA stands for "International Phonetic Alphabet" and is used to describe pronunciation of human languages in an unambiguous way. As such, it helps learning languages whose pronunciation rules are complex (e.g., English). Tatoeba could display IPA pronunciation for each sentence in basically the same way it currently displays pronunciation for Japanese using kana. One possible way of performing the task is to use an external library or application to prepare IPA annotations. For example, [eSpeak](http://espeak.sourceforge.net/) seems to be able to handle several popular languages and has an IPA converter.

**Deliverables:** A mechanism that shows IPA pronunciation for some languages (chosen by the student). This can be done server-side (as a standalone service or part of existing code) or client-side (using JavaScript). Mechanism should allow pre-generating pronunciation descriptions and should provide means to manually edit pronunciation later. Mechanism can rely on 3rd party tool to generate pronunciation descriptions.

**Prerequisite knowledge**: web technology, some web application stack (PHP, Python or CppCMS preferred).

New site & CppCMS
-----------------

Helping Sysko with tatowiki, tatodb. Extending [CppCMS](http://cppcms.com/wikipp/en/page/main). As the new site is still mostly being planned, there are no specific project ideas for the moment. Please ask on the IRC channel for more information. Note that many projects in this category will have an experimental nature, and their scope highly depends on your skills.

Standalone user tools
---------------------

Work on tools such as the following:

* [shtooka recorder](http://a4esl.com/temporary/tatoeba/shtooka/) or [swac-record](http://zmoo.fr/swac-tools/) for recording audio for sentences
* [tatoparser](https://github.com/qdii/tatoeba_parser) for retrieving sentences that match regular expressions
* [katoeba](https://github.com/sadhen/katoeba) 

Create new tools, such as apps for smartphones, for ordinary or advanced contributors.

### Android/iPhone application

iPhone users are about 12%, and Android users about 7% of the site visitors. It might help them immensely if they could use a dedicated application.

**Deliverables**: A smartphone application for easy access to Tatoeba. Examples of features:

* Querying the online Tatoeba site
* Adding sentences
* Translating
* Performing typical corpus maintenance tasks (linking/unlinking sentences, changing sentence language, tagging, etc.)
* Access to wall and sentence comments
* Recording voice
* Offline database access (more difficult!)

Note: It is not expected to implement all of these features during a single GSoC event. Depending on your skills, you might prepare a proposal for a basic set of features (if you don't have much experience in mobile development yet) or a more complex or targeted application (if you do have experience and want to prepare something more feature-complete).

**Prerequisite knowledge**: Java and Android development or iPhone and iOS developement; using web services.

### Streamlined linking of multiple sentences

Where multiple sentences in a source language have the same translation in the target language, make it easy to link those source sentences to the same target translation. Collecting the sentences that are likely to have the same translation could be as simple as presenting sentences in order of creation, since variants of a sentence that vary only in, e.g., the number of the pronoun (where the singular and plural forms of the second person map to the same word in English) are likely to be entered consecutively.

**Prerequisite knowledge**: JavaScript, possibly Java, possibly SQL

### Help bots

Produce bots like [those in Wikipedia](https://en.wikipedia.org/wiki/Wikipedia:Bots), to help with maintenance and repetitive tasks such as fixing common mistakes, wrong flag, etc. As on Wikipedia, users that are actually bots should be identified somehow on the website side. Ideally, create a library that could be used as a base to create bots that interact with the Tatoeba website.

Note: this idea would highly benefit from having a real API, which is another project listed here.

**Prerequisite knowledge**: web 

Other ideas
-----------

External services, like [CK's Temporary Tatoeba site](http://a4esl.com/temporary/tatoeba/). Other ideas.

### XMPP Integration for Tatoeba

Use the XMPP communications protocol to integrate the manipulation of sentences, comments, and wall posts, as well as live feeds of latest comments, sentence additions, and wall posts, with services such as pubsub.

**Deliverables**:

* An XEP that outlines the protocol tatoeba would use for all of those operations over XMPP ready to be submitted to the XSF
* An implementation of this XEP in XMPP clients as plugins, poezio and gajim are top priorities.
* An implementation of this XEP server side as a module, prosody is a top priority.

**Prerequisite Knowledge**: XMPP, PubSub, Python, Lua, Familiarity with prosody/gajim/poezio codebases and plugin architecture


### SRS deck generator

Spaced Repetition Systems such as Anki and Mnemosyne are popular tools for learning languages. However, preparing a good SRS deck is a time-consuming task. Therefore, an automated way to generate a deck from a list of sentences (e.g., sentences on a Tatoeba list, sentences tagged by some specific tag, etc.) would help language learners.

**Deliverables**: an application (preferably a web-based one) that would use Tatoeba database (for example in the form of a weekly CSV data dump) to create SRS decks for major flash card applications. Examples of features:

* Generate a simple deck from a Tatoeba list, tag, or search query.
* Generate an N+1-style deck based on user's list of known words and Tatoeba database. (User gives a list of N words that s/he already knows. System chooses a new sentence where exactly one word is unknown, and the rest belong to the already known set.)
* Generated decks have proper internal structure (as for Anki decks: proper field scheme is used to store knowledge, so editing is easy).

**Prerequisite knowledge**: any web stack, however Django or CppCMS are prefered; Python or C++; knowledge about SRS.

### Browsable graph of sentence links

Given a sentence, display it as a [graph](https://en.wikipedia.org/wiki/Graph_%28data_structure%29) [like this](http://blog.tatoeba.org/2010/02/how-to-be-good-contributor-in-tatoeba.html#rule2) the linked sentences up to a given depth. The main purpose of such a graph is to show users how Tatoeba is structured at a glance. The current interface doesn’t provide such a view, but it’s important that users understand the actual structure of Tatoeba. This idea could be freely extended to a complete interface allowing linking and unlinking with a click, filter by language, edit sentences, or whatever you can think of.

**Deliverables**: a web application or a client-side JavaScript program that provides a graph view of a group of sentences, and allows manipulating them. Code can either operate on database directly or use existing or planned APIs.

Note that this idea can be implemented as part of the current code base in PHP or as an experimental service for a new CppCMS site (preferred).

**Prerequisite knowledge**: PHP, Python or CppCMS.

version at: 07/03/2014, 16:21

GSoC ideas for student projects
===============================

This page lists example ideas for students who would like to take part in [Google Summer of Code](http://www.google-melange.com/) and be mentored by Tatoeba. To quote [GSoC FAQ](http://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2013/help_page#3._What_is_an_Ideas_list):

<blockquote>
<p>An Ideas list should be a list of suggested student projects. This list is meant to introduce contributors to your project's needs and to provide inspiration to would-be student applicants. It is useful to classify each idea as specifically as possible, e.g. "must know Python" or "easier project; good for a student with more limited experience with C++." If your organization plans to provide a proposal template for the students, it would be good to include it on your Ideas list.</p>

<p>Keep in mind that your ideas list should be a starting point for student proposals; we've heard from past mentoring organization participants that some of their best student projects are those that greatly expanded on a proposed idea or were blue-sky proposals not mentioned on the ideas list at all. A link to a bug tracker for your open source organization is NOT an ideas list.</p>

<p>You can check out the <a href="http://community.kde.org/GSoC/2011/Ideas">Ideas list for KDE</a> for Google Summer of Code in 2011 to get an idea of what we’re looking for in an ideas list. </p>
</blockquote>

If you're a student, you're invited to discuss any of these ideas, as well as propose your own. We encourage you to get familiar with the [site](http://tatoeba.org) and the [codebase](main#developers) immediately. Registering on the site, looking at the existing sentences, and adding a few of your own (preferably in the language that you know best) will be a valuable experience for you. 

To contact us developers, use one of these:

* Email/Google groups: [Tatoeba's dev mailing list](https://groups.google.com/forum/#!forum/tatoebaproject)
* IRC: [Tatoeba on #Freenode](irc://irc.freenode.net/tatoeba), [Webchat](http://webchat.freenode.net?channels=tatoeba)
* XMPP: [Tatoeba conference room on chat.tatoeba.org](xmpp:tatoeba@chat.tatoeba.org?join)

To get a feeling for the discussions taking place within the Tatoeba contributor community, visit the [Tatoeba Wall page](http://tatoeba.org/wall/index).


About Tatoeba (for students)
----------------------------

Tatoeba is a libre/free database of example sentences translated into many 
languages. Our goal is to create a resource for people studying 
languages—either to learn or research. The database is currently used:

* As a source of example sentences by free dictionaries and language 
learning websites (like Jim Breen’s WWWJDIC; Jim Breen is actually a 
member too):

  * There's a list of free dictionary and language learning websites
 using Tatoeba's corpus maintained by our member CK:
        http://a4esl.com/temporary/tatoeba/links.html

* As a rich resource for language learners: They can find out how to 
use words or how to translate grammatical constructs and idioms.

* For research: example papers include:

  * Research on treebanking Japanese (Francis Bond, 栗林 孝行 [Takayuki 
Kuribayashi], 橋本 力 [Hashimoto Chikara] (2008) HPSGに基づくフリーな日本語ツリー バンクの構築 
[A free Japanese Treebank based on HPSG]. In 14th Annual Meeting of The 
Association for Natural Language Processing, Tokyo),

  * Statistical machine translation (Eric Nichols, Francis Bond, 
Darren Scott Appling and Yuji Matsumoto (2010) Paraphrasing Training 
Data for Statistical Machine Translation. Journal of Natural Language 
Processing, 17(3), pages 101-122)

The main site currently has about 1 million page views and 250 thousand unique visitors monthly, as reported by Google Analytics, and the corpus is growing steadily by 3% or more every month.


Current site
------------

Extending current PHP site: 

* programming in PHP with the CakePHP framework
* shell tools for maintenance (e.g.: better export scripts)
* JavaScript

### Better export scripts

Currently CSV dumps are done weekly. They require the database to be switched into a read-only mode, take 5~10 minutes, and do not contain some important information, such as tag creator and comments. CSV dumps are important for people who cooperate with Tatoeba by creating additional tools, so their quality is vital for healthy collaboration.

**Deliverables**: An database export mechanism that:

  * Dumps all interesting information (everything currently in the data dumps plus modification history, sentence comments, the wall, etc.).
  * Can create incremental dumps, making them faster, which will allow them to be made more frequently.
  * Provides an interface for collaborators to get notifications about new dumps and allows automatic access.
  * (Advanced) Provides a stream of updates via web sockets or a similar mechanism.

**Prerequisite knowledge**: a scripting language (Python preferred), PHP, MySQL.

### Administrative Scripts

The current site has experienced a couple of crashes and instabilities. We would like to increase the number of users who are fully capable of administering it with ease and reliability. In order to ease administration and quickly recover from disaster, a number of scripts covering common administrative tasks are needed.

**Deliverables**:

*Shell scripts* that cover:

 * backup
 * restoring of backups
 * export of data
 * import of data 
 * adding new languages
 * deduplication of sentences
 * indexing of sentences by the search daemon
 * preserving existing translations when typos in the source UI strings are fixed 
 * getting external services up and running
 * updating the production site from the repository
 * deployment on a real server from scratch
 * deployment on a development machine from scratch
 * monitoring the server and logging load and activity
 * other necessary tasks

An *administrative interface* accessible by admins to manually execute any of these tasks on the server with progress bars and statistics. 

**Prerequisite knowledge**: a scripting language (bash, Python, Perl, etc..), possibly familiarity with a build system (ansible, vagrant), and possibly familiarity with setting up and maintaining a monitoring system (newrelic, nagios, cacti, munin)

### Testing Suite

The current website doesn't have any tangible automated tests or any form of continuous integration. Any new code that gets added to the repository can break the existing website and most testing is done manually at this point. In order to make the code future proof and give the users a stable experience, a battery of tests for the main functionality of the website is needed.

**Deliverables**: A number of tests that create a test database and emulate a browser, testing some or all of the functionality that the website currently offers. Refer to this [list](http://en.wiki.tatoeba.org/articles/show/functionality-test-list)

**Prerequisite knowledge**: a scripting language (Python, PHP, etc...), MySQL, and a web testing framework (selenium, or something similar).

### API

The Tatoeba database is used either through the main website interface or through data dumps. Having a real API that can be called through AJAX and return machine-readable results would provide real-time access for external applications.

**Deliverables**: A web application that provides a set of API calls for data stored in the current database. The API should cover all data available through the current web interface, including sentence comments, wall comments, recently-added sentences and top recent contributors.

**Prerequisite knowledge**: a web application language (Python or PHP preferred), MySQL, and a data exchange format such as JSON or XML.

### API Compliant Interface

With the presence of an API and an API [spec](https://github.com/trang/tatoeba-api/wiki/Tatoeba-API-specification-2) most direct SQL queries in the current codebase will become obsolete and the preferred way to do it would be through the API. So a rewrite or a completely new Interface will be the next logical step.

**Deliverables**: A rewrite of the current codebase to use the API instead of SQL queries or a completely new interface in another language, preferably in a javascript framework.

**Prerequisite knowledge**: strong knowledge of CakePHP, familiarity with the API, and familiarity with the current codebase, or strong knowledge of a web framework (django for example) or a javascript framework (angularjs for example).

### Improvements in user interface for end users

Tatoeba now handles several kinds of queries, but more are desired. The translation interface, in particular, needs improvement. Examples of desired types of queries:

* Get all sentences in a given language by a given user that have not been translated into a given language. For example: *Show me all English sentences by user "CK" not yet translated into Japanese.*

* Same as above, but limited to sentences with audio. For example: *Show me all English sentences by "CK" with audio that have not been translated into Japanese.*

* Get all sentences by native speakers of a given language not yet translated into a given language. For example: *Show me all Finnish sentences by native speakers not translated into Hungarian.*

* Get all sentences in a given language with a certain tag not translated into a given language. For example: *Show me all Georgian sentences with the tag "restaurant" not translated into Armenian.*

* Same as above, but limited to sentences by native speakers not translated into a given language. For example: *Show me all Korean sentences by native speakers with the tag "weather" not translated into Japanese.*

* Get all sentences in a given language under a certain length not yet translated into a given language. For example: *Show me all Japanese sentences fewer than 50 characters in length not translated into French.*

* Same as above, but limited to native speaker sentences.

* Same as above, but limited to sentences by a given user.

* Get all sentences by native speakers of a given language that match a given search keyword that have not been translated into a given language. For example: *Show all English sentences with the word "mountain" not translated into Japanese.*

* Same as above, but limited to native speaker sentences.

* Same as above, but limited to sentences by a given user.

**Deliverables:** Implementation of some or all of the above. Project might include additional queries. It would be highly desired to provide a generic way of adding new types of queries.

**Prerequisite knowledge**: PHP, CakePHP.

### Allow users to follow each other

This feature would allow users to keep track of newly created sentences of other users, just like Twitter does. One could be able to get notified of new sentences of users he or she's following, and to browse them. Public and private visibility of who’s following who should be discussed prior to development.

**Deliverables:** a mean to follow one or more users ; a page that displays the sentences of the followed users and allows to browse and search through ; configurable notifications about new sentences of the followed users ; displaying of who’s following who.

**Prerequisite knowledge**: PHP, CakePHP.

### Word requests

This feature would allow users to request example sentences that show the correct usage of a given word or phrase. Contributors could browse lists of 'requested words' and add sentences that include them.

People interested in this idea should consider and discuss possible implementations details prior to development. Typical questions include: 

* What should be the scope of the lists (per-language, per-user…)? 
* How should the lists be maintained? 
* Can we indicate that a 'requested word' now has enough example sentences? If yes, how? 
* What’s the lifecycle of a typical requested word? 
* What if users want to express additional information in their requests, such as the context or sense for the requested word? 
* What about synonyms, inflections… ?

**Deliverables:** a mean to express the need of example sentences of a given word ; a way to easily contribute new sentences that shows example of wanted words

**Prerequisite knowledge**: PHP, CakePHP.

### Show pronunciation in IPA for sentences

IPA stands for "International Phonetic Alphabet" and is used to describe pronunciation of human languages in an unambiguous way. As such, it helps learning languages whose pronunciation rules are complex (e.g., English). Tatoeba could display IPA pronunciation for each sentence in basically the same way it currently displays pronunciation for Japanese using kana. One possible way of performing the task is to use an external library or application to prepare IPA annotations. For example, [eSpeak](http://espeak.sourceforge.net/) seems to be able to handle several popular languages and has an IPA converter.

**Deliverables:** A mechanism that shows IPA pronunciation for some languages (chosen by the student). This can be done server-side (as a standalone service or part of existing code) or client-side (using JavaScript). Mechanism should allow pre-generating pronunciation descriptions and should provide means to manually edit pronunciation later. Mechanism can rely on 3rd party tool to generate pronunciation descriptions.

**Prerequisite knowledge**: web technology, some web application stack (PHP, Python or CppCMS preferred).

New site & CppCMS
-----------------

Helping Sysko with tatowiki, tatodb. Extending [CppCMS](http://cppcms.com/wikipp/en/page/main). As the new site is still mostly being planned, there are no specific project ideas for the moment. Please ask on the IRC channel for more information. Note that many projects in this category will have an experimental nature, and their scope highly depends on your skills.

Standalone user tools
---------------------

Work on tools such as the following:

* [shtooka recorder](http://a4esl.com/temporary/tatoeba/shtooka/) or [swac-record](http://zmoo.fr/swac-tools/) for recording audio for sentences
* [tatoparser](https://github.com/qdii/tatoeba_parser) for retrieving sentences that match regular expressions
* [katoeba](https://github.com/sadhen/katoeba) 

Create new tools, such as apps for smartphones, for ordinary or advanced contributors.

### Android/iPhone application

iPhone users are about 12%, and Android users about 7% of the site visitors. It might help them immensely if they could use a dedicated application.

**Deliverables**: A smartphone application for easy access to Tatoeba. Examples of features:

* Querying the online Tatoeba site
* Adding sentences
* Translating
* Performing typical corpus maintenance tasks (linking/unlinking sentences, changing sentence language, tagging, etc.)
* Access to wall and sentence comments
* Recording voice
* Offline database access (more difficult!)

Note: It is not expected to implement all of these features during a single GSoC event. Depending on your skills, you might prepare a proposal for a basic set of features (if you don't have much experience in mobile development yet) or a more complex or targeted application (if you do have experience and want to prepare something more feature-complete).

**Prerequisite knowledge**: Java and Android development or iPhone and iOS developement; using web services.

### Streamlined linking of multiple sentences

Where multiple sentences in a source language have the same translation in the target language, make it easy to link those source sentences to the same target translation. Collecting the sentences that are likely to have the same translation could be as simple as presenting sentences in order of creation, since variants of a sentence that vary only in, e.g., the number of the pronoun (where the singular and plural forms of the second person map to the same word in English) are likely to be entered consecutively.

**Prerequisite knowledge**: JavaScript, possibly Java, possibly SQL

### Help bots

Produce bots like [those in Wikipedia](https://en.wikipedia.org/wiki/Wikipedia:Bots), to help with maintenance and repetitive tasks such as fixing common mistakes, wrong flag, etc. As on Wikipedia, users that are actually bots should be identified somehow on the website side. Ideally, create a library that could be used as a base to create bots that interact with the Tatoeba website.

Note: this idea would highly benefit from having a real API, which is another project listed here.

**Prerequisite knowledge**: web 

Other ideas
-----------

External services, like [CK's Temporary Tatoeba site](http://a4esl.com/temporary/tatoeba/). Other ideas.

### XMPP Integration for Tatoeba

Use the XMPP communications protocol to integrate the manipulation of sentences, comments, and wall posts, as well as live feeds of latest comments, sentence additions, and wall posts, with services such as pubsub.

**Deliverables**:

* An XEP that outlines the protocol tatoeba would use for all of those operations over XMPP ready to be submitted to the XSF
* An implementation of this XEP in XMPP clients as plugins, poezio and gajim are top priorities.
* An implementation of this XEP server side as a module, prosody is a top priority.

**Prerequisite Knowledge**: XMPP, PubSub, Python, Lua, Familiarity with prosody/gajim/poezio codebases and plugin architecture


### SRS deck generator

Spaced Repetition Systems such as Anki and Mnemosyne are popular tools for learning languages. However, preparing a good SRS deck is a time-consuming task. Therefore, an automated way to generate a deck from a list of sentences (e.g., sentences on a Tatoeba list, sentences tagged by some specific tag, etc.) would help language learners.

**Deliverables**: an application (preferably a web-based one) that would use Tatoeba database (for example in the form of a weekly CSV data dump) to create SRS decks for major flash card applications. Examples of features:

* Generate a simple deck from a Tatoeba list, tag, or search query.
* Generate an N+1-style deck based on user's list of known words and Tatoeba database. (User gives a list of N words that s/he already knows. System chooses a new sentence where exactly one word is unknown, and the rest belong to the already known set.)
* Generated decks have proper internal structure (as for Anki decks: proper field scheme is used to store knowledge, so editing is easy).

**Prerequisite knowledge**: any web stack, however Django or CppCMS are prefered; Python or C++; knowledge about SRS.

### Browsable graph of sentence links

Given a sentence, display it as a [graph](https://en.wikipedia.org/wiki/Graph_%28data_structure%29) [like this](http://blog.tatoeba.org/2010/02/how-to-be-good-contributor-in-tatoeba.html#rule2) the linked sentences up to a given depth. The main purpose of such a graph is to show users how Tatoeba is structured at a glance. The current interface doesn’t provide such a view, but it’s important that users understand the actual structure of Tatoeba. This idea could be freely extended to a complete interface allowing linking and unlinking with a click, filter by language, edit sentences, or whatever you can think of.

**Deliverables**: a web application or a client-side JavaScript program that provides a graph view of a group of sentences, and allows manipulating them. Code can either operate on database directly or use existing or planned APIs.

Note that this idea can be implemented as part of the current code base in PHP or as an experimental service for a new CppCMS site (preferred).

**Prerequisite knowledge**: PHP, Python or CppCMS.

Note

The lines in green are the lines that have been added in the new version. The lines in red are those that have been removed.