Closed freezing closed 8 years ago
Clean(blue doors) = blade color
This is the problem, since P(blue|blade) and P(doors|color) is not taken into account.
To solve it, original words should be passed to DP part of the pipeline.
d[i][j] = max(d[i - 1][k] + P(k, j) + Pconditional(input[i], j)
Clean(blue doors) = blade color
This is the problem, since P(blue|blade) and P(doors|color) is not taken into account.
To solve it, original words should be passed to DP part of the pipeline.
d[i][j] = max(d[i - 1][k] + P(k, j) + Pconditional(input[i], j)