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:
authorMatīss Rikters <matiss_rikters@hotmail.com>2017-10-25 15:17:07 +0300
committerTomasz Dwojak <t.dwojak@amu.edu.pl>2017-10-25 15:17:07 +0300
commite3a346f515b7f6d7f68d96997ef094fdeb8810e9 (patch)
treebd77fb8445e277f82c04c5e047b272ea370d6111 /src/amun/cpu/decoder/best_hyps.h
parent255e0409609f57e1e5c6cacf93381050db67e5af (diff)
Return soft alignment in Nematus style format (#124)
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 a148522f..da11996b 100644
--- a/src/amun/cpu/decoder/best_hyps.h
+++ b/src/amun/cpu/decoder/best_hyps.h
@@ -30,7 +30,7 @@ class BestHyps : public BestHypsBase
!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-alignment") || god.Get<bool>("return-soft-alignment") || god.Get<bool>("return-nematus-alignment"),
god.GetScorerWeights())
{}