ufal / mtmonkey

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

API: nBestSize: unique? #5

Closed pebbe closed 10 years ago

pebbe commented 10 years ago

From the API:

nBestSize: integer -- maximum number of translation options

Should these be unique translations? You can specify the option nbest-distinct to mosesserver. If you don't, you may get ten times the same solutions, but with different scores (and perhaps different alignments?)

tuetschek commented 10 years ago

We actually do this already (worker/src/tasks/translate.py:60), but it wasn't mentioned explictly in the documentation. I have added it in b8c57ba .