Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2017-11-18 01:05:08 +0300
committerHieu Hoang <hieuhoang@gmail.com>2017-11-18 01:05:08 +0300
commit4248d0ad6e43b66e254643c7d656c2a3007418b2 (patch)
tree0e021a72b9e6cf9aed1e63fe213507b300c933c4 /src/amun/cpu/decoder/best_hyps.h
parentc2d3768ab295244facdcbae446f6717f0bd18439 (diff)
correct argsfused2
Diffstat (limited to 'src/amun/cpu/decoder/best_hyps.h')
-rw-r--r--src/amun/cpu/decoder/best_hyps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amun/cpu/decoder/best_hyps.h b/src/amun/cpu/decoder/best_hyps.h
index 6013734d..3951220d 100644
--- a/src/amun/cpu/decoder/best_hyps.h
+++ b/src/amun/cpu/decoder/best_hyps.h
@@ -28,8 +28,8 @@ class BestHyps : public BestHypsBase
BestHyps(const God &god)
: BestHypsBase(god,
!god.Get<bool>("allow-unk"),
- god.Get<bool>("n-best"),
god.Get<std::vector<std::string>>("softmax-filter").size(),
+ god.Get<bool>("return-alignment") || god.Get<bool>("return-soft-alignment") || god.Get<bool>("return-nematus-alignment"),
god.GetScorerWeights())
{}