Difference between revisions of "User:Ayushjain/proposal"

From Apertium
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 16: Line 16:
   
 
= Which of the published tasks are you interested in? What do you plan to do? =
 
= Which of the published tasks are you interested in? What do you plan to do? =
I am planning to work on the either or both of the listed projects: <br/>
+
I am planning to work on the '''Improvements to the Apertium website'''
 
Idea. As I am skilled in web development and have appropriate experience working on it, I decided to work on improving Apertium website by contributing to its API called APy and also improve the frontend of the website for better user experience along addition of new functionality.
# '''Python API/library for Apertium'''<br/>
 
# '''Improvements to the Apertium website'''
 
 
As I am skilled in web development and have appropriate experience working on it, I decided to work on improving Apertium website by contributing to its API called APy and also improve the frontend of the website for better user experience along addition of new functionality.
 
   
 
=Why Google and Apertium should sponsor it?=
 
=Why Google and Apertium should sponsor it?=
I have a proper knowledge and experience with development in Python, C++ and JavaScript. Moreover I worked on several projects including areas like web development, opencv, machine learning and natural language processing. The libraries of apertium are written in C++ which is low level language. As people prefer high level languages like python, C++ packages need to be made available by writing APIs for python using SWIG. SWIG allows C++ libraries to be used flexibly with scripting languages such as python. I also want to add complete windows support for Apertium. The Google and Apertium sponsorship would motivate me to work on my GSoC project during summer.
+
I have a proper knowledge and experience with development in Python, C++ and JavaScript. Moreover I worked on several projects including areas like web development, opencv, machine learning and natural language processing. The Google and Apertium sponsorship would motivate me to work on my GSoC project during summer. I want to add certain functionalities to the Apertium website such as dictionary lookups. Getting sponsored by Google and Apertium would help me focus on the project during summers.
   
 
=How and who it will benefit in society?=
 
=How and who it will benefit in society?=
As most people use Windows, adding support for windows will increase the user base of Apertium. A pip install for windows would make development process a lot easier for the developers. Adding certain capabilities of Apertium such as dictionary/synonym lookup and webpage translation to the website would help in increasing the users and expand the uses of Apertium.
+
Adding certain capabilities of Apertium such as dictionary/synonym lookup and webpage translation to the website would increase the functionalities in the Apertium website. This would help in increasing the user base of Apertium and provide an improved language translator to the users.
   
 
=Work Plan=
 
=Work Plan=
Line 41: Line 38:
 
|-
 
|-
 
| Phase 1
 
| Phase 1
  +
| Working on adding dictionary/synonym lookup for single-word translations to the website.
| Working on apertium-apy and making it available on windows.
 
 
| 27 May - 26 June
 
| 27 May - 26 June
 
|-
 
|-
 
| Phase 2
 
| Phase 2
| Working on improvements to apertium website and adding functionalities.
+
| Working on improvements to apertium website by adding reliability coloring to the synonyms.
 
| 27 June - 26 July
 
| 27 June - 26 July
 
|-
 
|-
Line 65: Line 62:
 
|
 
|
 
* Experimenting with apertium modules for windows.
 
* Experimenting with apertium modules for windows.
* Developing the understanding of apertium-python package and its wrapper functions.
+
* Developing the understanding of apertium-apy and html-tools package. .
 
* Writing some sample code to test various features.
 
* Writing some sample code to test various features.
 
* Discussing detailed work flow with mentors.
 
* Discussing detailed work flow with mentors.
Line 71: Line 68:
 
|-
 
|-
 
| 27 May - 2 June
 
| 27 May - 2 June
| Week 1 : Setting up apertium for windows
+
| Week 1: Setting database for dictionary lookups
|
 
* This includes setting the core modules of apertium on windows using apertium-python package on github.
 
* Completing the installation script for windows in python.
 
| An installable prototype for installing apertium on windows
 
|-
 
| 3 June - 9 June
 
| Week 2 : Fixing bugs in windows installation
 
|
 
* Fixing bugs stopping apertium to install on windows.
 
* Testing the installation on various windows versions.
 
| Test version for windows
 
|-
 
| 10 June - 16 June
 
| Week 3: Apertium support for various platforms
 
|
 
* Inspecting the apertium installation and its usage for Jupyter notebook and other such platforms.
 
* Fixes various bugs that might occur.
 
* Getting it ready for release for windows.
 
| Complete installation of apertium for windows using pip
 
|-
 
| 17 June - 26 June
 
| Week 4: Finishing up the windows installation of apy
 
|
 
* Complete windows release along with documentation and issuing unsolved bugs.
 
* Adding other functionalities as guided by mentors.
 
| Release pip installation for windows
 
|-
 
| 27 June - 3 July
 
| Week 5: Setting database for dictionary lookups
 
 
|
 
|
 
* Setting up the environment for improvement to apertium website by adding by adding dictionary lookup mode for single word translation that would give synonyms for the translations.
 
* Setting up the environment for improvement to apertium website by adding by adding dictionary lookup mode for single word translation that would give synonyms for the translations.
Line 106: Line 74:
 
| A database with the word pairs and probabilities
 
| A database with the word pairs and probabilities
 
|-
 
|-
| 4 July - 10 July
+
| 3 June - 9 June
| Week 6: Adding dictionary lookup in python
+
| Week 2: Adding dictionary lookup in python
 
|
 
|
 
* Creating python backend for looking up the synonyms.
 
* Creating python backend for looking up the synonyms.
Line 114: Line 82:
 
| Working backend for dictionary lookup
 
| Working backend for dictionary lookup
 
|-
 
|-
| 11 July - 17 July
+
| 10 June - 16 June
| Week 7: Creating dictionary lookup frontend
+
| Week 3: Creating dictionary lookup frontend
 
|
 
|
 
* Creating a proper frontend for the dictionary lookup functionality.
 
* Creating a proper frontend for the dictionary lookup functionality.
Line 121: Line 89:
 
| A nice frontend for the dictionary lookup
 
| A nice frontend for the dictionary lookup
 
|-
 
|-
| 18 July - 24 July
+
| 17 June - 26 June
| Week 8:Completing the dictionary lookup functionality
+
| Week 4:Completing the dictionary lookup functionality
 
|
 
|
 
* Adding all the functionalities to the website.
 
* Adding all the functionalities to the website.
Line 130: Line 98:
 
* Evaluation by mentor.
 
* Evaluation by mentor.
 
| Dictionary lookup feature added to the website.
 
| Dictionary lookup feature added to the website.
 
|-
 
|-
 
| 27 June - 3 July
  +
| Week 5: Reliability Coloring backend
 
|
  +
* Adding the reliability coloring feature in apertium-apy.
  +
* Deciding the colors to be used for reliability.
  +
| Ranking the synonyms according to the reliability.
 
|-
 
| 4 July - 10 July
  +
| Week 6: Completing the reliability coloring backend
 
|
  +
* Complete the reliability lookup backend.
  +
* Fixing the bugs in coloring.
  +
| Coloring the synonyms according to the reliability.
 
|-
  +
| 11 July - 17 July
  +
| Week 7: Frontend for reliability loopup.
 
|
  +
* Working on improving the frontend when a user uses dictionary lookups along with reliability coloring.
  +
| Better UI when using single word translations.
  +
|-
  +
| 18 July - 24 July
  +
| Week 8: Updating the website
 
|
 
* Adding the functionalities in the Apertium website.
  +
* Fixing the bugs in the implementation.
  +
* Add changes suggested by the mentors.
  +
* Preparing the documentation.
  +
| Implemented reliability coloring of the synonyms in the website.
 
|-
 
|-
 
| 25 July - 31 July
 
| 25 July - 31 July

Latest revision as of 23:18, 30 March 2019

Apertium GSoC 2019

Improvements to Apertium Website
[edit]

Contact Information[edit]

Name: Ayush Jain
E-mail address: ayushjainrksh@gmail.com
Alternate email: 17152@iiitu.ac.in
Mobile Number: +91 9045511472 (India)
IRC nick: ayushjain
Github: ayushjainrksh
Timezone: UTC +5.30

Why is it that you are interested in Apertium?[edit]

I belong to India, a country with 22 different spoken languages and 720 dialects used by a population of 1.3 billion. Being from a nation with vast languages and a student of Computer Science, I strive to solve the problems in language translation through my knowledge of programming and natural language processing. I like the concept of Apertium as an open source language translator as it solves the problem of language translation with ease. As I am a student of Computer Science, I have a keen interest in programming and development. I am proficient in web development and want to apply my knowledge of machine translation by contributing in Apertium. I have an urge to improve open source language translation with Apertium.

Which of the published tasks are you interested in? What do you plan to do?[edit]

I am planning to work on the Improvements to the Apertium website Idea. As I am skilled in web development and have appropriate experience working on it, I decided to work on improving Apertium website by contributing to its API called APy and also improve the frontend of the website for better user experience along addition of new functionality.

Why Google and Apertium should sponsor it?[edit]

I have a proper knowledge and experience with development in Python, C++ and JavaScript. Moreover I worked on several projects including areas like web development, opencv, machine learning and natural language processing. The Google and Apertium sponsorship would motivate me to work on my GSoC project during summer. I want to add certain functionalities to the Apertium website such as dictionary lookups. Getting sponsored by Google and Apertium would help me focus on the project during summers.

How and who it will benefit in society?[edit]

Adding certain capabilities of Apertium such as dictionary/synonym lookup and webpage translation to the website would increase the functionalities in the Apertium website. This would help in increasing the user base of Apertium and provide an improved language translator to the users.

Work Plan[edit]

Broad division[edit]

PHASES OBJECTIVES TIME
Community Bonding Period Getting to know all the mentors and getting acquainted with complete documentation of apertium. Acknowledge the problem statement and start working on a possible solution with focus on each detail. 6 May - 26 May
Phase 1 Working on adding dictionary/synonym lookup for single-word translations to the website. 27 May - 26 June
Phase 2 Working on improvements to apertium website by adding reliability coloring to the synonyms. 27 June - 26 July
Phase 3 Wrapping up the project with proper documentation and project report. 27 July - 25 August

Detailed plan[edit]

WEEK(PERIOD) BRIEF GOAL DESCRIPTION DELIVERABLE
6 May - 26 May Community Bonding Period
  • Experimenting with apertium modules for windows.
  • Developing the understanding of apertium-apy and html-tools package. .
  • Writing some sample code to test various features.
  • Discussing detailed work flow with mentors.
Report for next week’s work plan.
27 May - 2 June Week 1: Setting database for dictionary lookups
  • Setting up the environment for improvement to apertium website by adding by adding dictionary lookup mode for single word translation that would give synonyms for the translations.
  • Developing database for word table and probabilities(likelihood) of a synonym.
A database with the word pairs and probabilities
3 June - 9 June Week 2: Adding dictionary lookup in python
  • Creating python backend for looking up the synonyms.
  • Fixing the bugs in the implementation.
  • Improving some of the already existing code.
Working backend for dictionary lookup
10 June - 16 June Week 3: Creating dictionary lookup frontend
  • Creating a proper frontend for the dictionary lookup functionality.
  • Linking the dictionary lookup functionality with backend.
A nice frontend for the dictionary lookup
17 June - 26 June Week 4:Completing the dictionary lookup functionality
  • Adding all the functionalities to the website.
  • Testing the proper working of all feature.
  • Debugging the problems.
  • Creating the documentation.
  • Evaluation by mentor.
Dictionary lookup feature added to the website.
27 June - 3 July Week 5: Reliability Coloring backend
  • Adding the reliability coloring feature in apertium-apy.
  • Deciding the colors to be used for reliability.
Ranking the synonyms according to the reliability.
4 July - 10 July Week 6: Completing the reliability coloring backend
  • Complete the reliability lookup backend.
  • Fixing the bugs in coloring.
Coloring the synonyms according to the reliability.
11 July - 17 July Week 7: Frontend for reliability loopup.
  • Working on improving the frontend when a user uses dictionary lookups along with reliability coloring.
Better UI when using single word translations.
18 July - 24 July Week 8: Updating the website
  • Adding the functionalities in the Apertium website.
  • Fixing the bugs in the implementation.
  • Add changes suggested by the mentors.
  • Preparing the documentation.
Implemented reliability coloring of the synonyms in the website.
25 July - 31 July Week 9: Improving language detection
  • Setting up language detection for development.
  • Making language detection work in proper manner.
Report on issues in language detection
1 August - 7 August Week 10: Adding did you mean function.
  • Adding did you mean suggestions on the website if someone chooses unlikely language.
Did you mean functionality implementation
8 August - 14 August Week 11: Apertium website finalizing
  • Complete did you mean feature with implementation on the apertium website
  • Fixing bugs and working on release.
  • Preparing the documentation for the website.
Did you mean functionality added to website.
15 August - 21 August Week 12: Releasing Apertium website
  • Releasing the apertium website with changes.
  • Testing the released website and debugging the issues.
  • Updating Apertium Wiki.
  • Evaluation by mentor.
Release Apertium website for users.
22 August - 26 August Week 13: Wrapping up
  • Releasing the final productions of all the work
  • Going through all of the GSoC work and checking for bugs.
  • Completing all the changes suggested by the mentors
  • Cleaning up the documentation.
  • Reporting unresolved bugs.
  • Future preparation and planning.
Release final production.

Contribution to Apertium[edit]

I have been contributing to Apertium for quite a while now.

Here is a list of my contributions various Apertium contributions :

  • Issues :
    • apertium-html-tools = 1
    • apertium-apy = 2
  • Merges :
    • Apertium-apy = 2
  • Pull requests :
    • apertium-html-tools = 1 open.
    • Apertium-apy = 1 open

I have been working on the issues in html-tools and apertium-apy under the guidance of my mentor.

Two of my pull request have been merged in which I have :
Added an index page for localhost:2737 in apertium-apy along with unit test written in tornado.
Created source TSV files for the SQL database that convert at build time.

I am working on 2 other pull requests which are still open and involves complex issues. It includes :

  • Finding langNames.db using pkg_resources.
  • A responsive navbar with additional apertium features.

Here you can see my github timeline for contributions in Apertium :

Gitapertium1.png
Gitapertium2.png

Education[edit]

I am pursuing my degree of Bachelor of Technology in Computer Science Engineering at IIIT Una, India. I am a student of second year enrolled in a four year course of CSE. I have completed my intermediate with 95.2% marks with computer science as additional subject.

Experience[edit]

I have been studying Computer Science for 6 years now, with working experience in core programming languages such as Java, C++, Python, Javascript. I have been a part of several hackathons at college level. I am proficient in competitive programming and algorithm development. I have worked on several projects and build several professional websites many of which can be found on Github. I have been contributing to open source for quite a while now and have worked on several machine learning models in Python and R. Here is my github timeline :

Gittimeline.png

Non-summer of code plans[edit]

Google Summer of Code lies during the summer vacations of the college. I will be able to devote 40 hours per week and more if necessary to Apertium during summer of code. I might have a small vacation plan but that lies in between the Community bonding period and I will be able to manage my work accordingly. I also acknowledge that GSOC is my foremost priority and I won’t be working on any other internship, training or classes if selected for GSOC.

Links[edit]

Linkedin : View Profile
Github : View Contributions
CV : View CV