Apertium

Induce a Constraint Grammar

Use cg.py in parser.py to induce local-context rules by using prob_1C() (for REMOVE (FEATURE) (1C (CONTEXT));) and prog_negative_1C() (for REMOVE (FEATURE) (-1C (CONTEXT));). For the treshold value use something like 8% (or what works the best). In this task you need to possibly adapt also the cg.py file to have all the needed functionality.

See the paper Inducing Constraint Grammars for more information.

Task tags

  • python
  • cg

Students who completed this task

nuboro

Task type

  • code Code
close

2016