diff options
| author | hallgren <hallgren@chalmers.se> | 2015-12-10 14:27:15 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2015-12-10 14:27:15 +0000 |
| commit | 6b74a90bd476e44f03bdc0b5c9b896bdf136c23d (patch) | |
| tree | 9803baef07f3c76df40c92835fea66a036e3eb32 /src/runtime | |
| parent | bc644e643b05b9c2da402367ef7be20f4cafb247 (diff) | |
Wide Coveage Translation Demo: sort parse results by probability
Because of the "heurisitc factor", the results returned by the parser might
not be in strict probability order. To compensate, a sorting pass has been
added to find and show the translation with the highest probability among the
10 first translations.
However, this means that the translation demo now immediately has to ask for
10 translations of every segment. Before, it initially asked for only one
translation of every segment, and then 9 more translations for a segment
when/if the user clicked on it. This change can slow down translation
noticeably (e.g. from 15s 30s to load an example with fiction in English).
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
