Apertium

Implement function to sort a beam by score

Write a function to score a beam. The function should sort the scored hypotheses and extract a sublist of the highest scoring.

The use is in Algorithm 3, lines 16--18 of this paper.

Task tags

  • python
  • dependency
  • matxin

Students who completed this task

Kamil Bujel

Task type

  • code Code
close

2016