<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3AVaydheesh%2FGSoC2019Report</id>
	<title>User:Vaydheesh/GSoC2019Report - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3AVaydheesh%2FGSoC2019Report"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Vaydheesh/GSoC2019Report&amp;action=history"/>
	<updated>2026-05-06T12:31:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=User:Vaydheesh/GSoC2019Report&amp;diff=70405&amp;oldid=prev</id>
		<title>Vaydheesh: Created page with &quot;== Python API/Library for Apertium == For this [https://summerofcode.withgoogle.com/projects/#5948355719462912 project], I coded swig wrappers to be used in the [https://githu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Vaydheesh/GSoC2019Report&amp;diff=70405&amp;oldid=prev"/>
		<updated>2019-08-26T16:43:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Python API/Library for Apertium == For this [https://summerofcode.withgoogle.com/projects/#5948355719462912 project], I coded swig wrappers to be used in the [https://githu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Python API/Library for Apertium ==&lt;br /&gt;
For this [https://summerofcode.withgoogle.com/projects/#5948355719462912 project], I coded swig wrappers to be used in the [https://github.com/apertium/apertium-python/ Apertium Python].&lt;br /&gt;
&lt;br /&gt;
==== Mentors ====&lt;br /&gt;
[http://wiki.apertium.org/wiki/User:Sushain Sushain Cherivirala], Shoutout to various aperitum members that helped throughout the project&lt;br /&gt;
[http://wiki.apertium.org/wiki/User:Tino_Didriksen Tino Didriksen],&lt;br /&gt;
[http://wiki.apertium.org/wiki/User:Unhammer Kevin Brubeck Unhammer],&lt;br /&gt;
[http://wiki.apertium.org/wiki/User:Francis_Tyers Francis Tyers],&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
The Documentation in form of markdown for Apertium Python is available at [https://github.com/apertium/apertium-python/blob/master/README.md README] and on [https://apertium-python.readthedocs.io/en/latest/ Read The Docs]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Work Done during GSoC 2019 ==&lt;br /&gt;
1. SWIG wrapper for various binaries called by apertium mode files i.e. lt-proc, lrx-proc, apertium-transfer, apertium-interchunk, apertium-postchunk, apertium-pretransfer, apertium-tagger, cg-proc and their implementation in apertium-python with a subprocess fallback in absence of wrappers. The initialized wrapper objects are also stored for optimising the successive calls.&lt;br /&gt;
&lt;br /&gt;
2. Installer for project on Ubuntu and Windows by executing `python setup.py install` which internally installs `aperitum-all-dev`, aperitum-eng &amp;amp; aperitum-en-es language package and also installs the wrapper binaries on Ubuntu.&lt;br /&gt;
&lt;br /&gt;
3. Added support for tagger&lt;br /&gt;
&lt;br /&gt;
4. Updated the documentation with changes in apertium python&lt;br /&gt;
&lt;br /&gt;
==== Code for the module ====&lt;br /&gt;
&lt;br /&gt;
Main Repository: https://github.com/apertium/apertium-python&lt;br /&gt;
&lt;br /&gt;
==== Changes made to Apertium Code ====&lt;br /&gt;
&lt;br /&gt;
https://apertium.projectjj.com/gsoc2019/Vaydheesh/Vaydheesh.html&lt;br /&gt;
&lt;br /&gt;
1. apertium python&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/42&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/46&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/53&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/56&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/57&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/58&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/59&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/62&lt;br /&gt;
  - https://github.com/apertium/apertium-python/pull/63&lt;br /&gt;
&lt;br /&gt;
2. lttoolbox&lt;br /&gt;
  - https://github.com/apertium/lttoolbox/pull/53&lt;br /&gt;
  - https://github.com/apertium/lttoolbox/pull/58&lt;br /&gt;
  - https://github.com/apertium/lttoolbox/pull/64&lt;br /&gt;
  - https://github.com/apertium/lttoolbox/pull/67&lt;br /&gt;
  - https://github.com/apertium/lttoolbox/pull/69&lt;br /&gt;
&lt;br /&gt;
3. apertium core tools&lt;br /&gt;
  - https://github.com/apertium/apertium/pull/51&lt;br /&gt;
  - https://github.com/apertium/apertium/pull/52&lt;br /&gt;
  - https://github.com/apertium/apertium/pull/54&lt;br /&gt;
  - https://github.com/apertium/apertium/pull/56&lt;br /&gt;
&lt;br /&gt;
4. apertium lex tools&lt;br /&gt;
  - https://github.com/apertium/apertium-lex-tools/pull/22&lt;br /&gt;
  - https://github.com/apertium/apertium-lex-tools/pull/26&lt;br /&gt;
  - https://github.com/apertium/apertium-lex-tools/pull/28&lt;br /&gt;
&lt;br /&gt;
5. Constrain Grammar 3&lt;br /&gt;
SWIG Wrapper for cg-proc https://github.com/TinoDidriksen/cg3/pull/37&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Experience ====&lt;br /&gt;
Overall, it was a wonderful and satisfying journey. I had a great learning experience and a great time coding.&lt;br /&gt;
Debugging  the wrapper had its own set of challenges. I got stuck in the debugging task for a some time during the GSoC period. Hadn&amp;#039;t been there the help from my mentor and other member of Apertium, I don&amp;#039;t think I could have fixed those bugs.&lt;br /&gt;
Fortunately all these issues got fixed and I was able to complete the wrapping process within time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Open Pull Request ====&lt;br /&gt;
&lt;br /&gt;
1. https://github.com/apertium/apertium-python/pull/64&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
1. Install wrapper on windows during &amp;#039;&amp;#039;python setup.py install&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
2. Optimise the wrapper caching process&lt;br /&gt;
&lt;br /&gt;
3. Other issues mentioned in [https://github.com/apertium/apertium-python/issues Apertium Python Issues]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Endnote ==&lt;br /&gt;
Thanks a lot to all members of apertium. I was very fortunate to get this opportunity to work with this wonderful organisation. My mentor Sushain Cherivirala &amp;amp; the apertium members are very helpful and this project wouldn&amp;#039;t be possible without their constant help and guidance. I would really like to thank all of them.&lt;/div&gt;</summary>
		<author><name>Vaydheesh</name></author>
		
	</entry>
</feed>