diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-07 22:07:35 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-07 22:07:35 +0000 |
commit | 3cf76cc62341c04e0962705d011ab141190ae1da (patch) | |
tree | a9ec3142922ad248400eaa8105149f0f747d206c /decoder/cdec.cc | |
parent | c4cb48ad003de65f97e0a6013e9da4329c89faf1 (diff) |
compute viterbi result once only per node (for best edge)
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@182 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/cdec.cc')
-rw-r--r-- | decoder/cdec.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/cdec.cc b/decoder/cdec.cc index bb29bafb..b43b7826 100644 --- a/decoder/cdec.cc +++ b/decoder/cdec.cc @@ -86,6 +86,7 @@ void InitCommandLine(int argc, char** argv, po::variables_map* conf) { ("show_expected_length", "Show the expected translation length under the model") ("show_partition,z", "Compute and show the partition (inside score)") ("show_cfg_search_space", "Show the search space as a CFG") + ("show_viterbi_features","Show the feature vector for the viterbi translation") ("prelm_density_prune", po::value<double>(), "Applied to -LM forest just before final LM rescoring: keep no more than this many times the number of edges used in the best derivation tree (>=1.0)") ("density_prune", po::value<double>(), "Keep no more than this many times the number of edges used in the best derivation tree (>=1.0)") ("prelm_beam_prune", po::value<double>(), "Prune paths from -LM forest before LM rescoring, keeping paths within exp(alpha>=0)") |