Difference between revisions of "Ideas for Google Summer of Code/Python library"

From Apertium
Jump to navigation Jump to search
Line 8: Line 8:
*# Perform morphological analysis using FSTProcessor
*# Perform morphological analysis using FSTProcessor


* Improve the SWIG API with Python wrapper functions that let you do
*# <code>t = Transducer([(0,"a",1), (1,"b",2)], [2])</code> where <code>[2]</code> is the list of finals and 0 is the initial state


[[Category:Ideas for Google Summer of Code|Python library]]
[[Category:Ideas for Google Summer of Code|Python library]]

Revision as of 08:19, 7 March 2018


Coding challenge

  • Proof-of-concept SWIG API for lttoolbox, it should let you do the following:
    1. Create a transducer
    2. Make show() return a list of tuples (in, out, in, out)
    3. Perform morphological analysis using FSTProcessor
  • Improve the SWIG API with Python wrapper functions that let you do
    1. t = Transducer([(0,"a",1), (1,"b",2)], [2]) where [2] is the list of finals and 0 is the initial state