Apertium

Refactor CG rule generation program

The task is to refactor the Python program linked here. In the program there is a function called streamparser() and that function's calls should be replaced with calls to prepros() function. The code depending on the streamparser() output should be changed accordingly, e.g., prepros() function's output is not strings but objects of type 'LexicalUnit', so changes regarding that needs to be done.

Task tags

  • python
  • refactoring
  • cg

Students who completed this task

nuboro

Task type

  • code Code
  • done_all Quality Assurance
close

2016