AUTOMATED SCORING USING STRING EDITS AND DYNAMIC PROGRAMMING

To automatically score a hypothesis, we must first align it with the reference text, and then count word errors (substitutions, deletions, and insertions).

The desired output is shown below: The solution to this problem can be achieved using dynamic programming with a Levenstein distance metric (each non-matching pair adds one to the accumulated distance). We can demonstrate this using a DP grid: