ufal / mtmonkey

Distributed infrastructure for Machine Translation web services (using Moses, Python, JSON-RPC/web interface)
Other
33 stars 9 forks source link

Resolve discrepancy between API and actual behavior for n-best lists #11

Closed tuetschek closed 10 years ago

tuetschek commented 10 years ago

The API description puts the elements of the n-best list inside translated, but the implementation puts them inside translation. translated then contains the individual sentences of a single n-best list member.

We should unify the behavior of the code with the API description or the other way round, whichever is more reasonable.

tuetschek commented 10 years ago

The API description was basically right. Minor problems in the API descriptions were fixed in f59272e868, 1b1aa2c44b, 6cbc52e79b, and 4636ba83d6. Code was fixed in 1f545cae7b.