neubig / lamtram

lamtram: A toolkit for neural language and translation modeling
GNU Lesser General Public License v2.1
138 stars 37 forks source link

Confidence? #27

Open bittlingmayer opened 7 years ago

bittlingmayer commented 7 years ago

Is there a straightforward way to output something like confidence from this model? That is, given a sentence, not only translate but return a signal that the given translation is probably right or wrong.

neubig commented 7 years ago

Instead of "--operation gen" try "--operation nbest". I think this should output the confidence scores as well. (If this works, please close the issue)