diff options
author | Matīss Rikters <matiss_rikters@hotmail.com> | 2017-10-25 15:17:07 +0300 |
---|---|---|
committer | Tomasz Dwojak <t.dwojak@amu.edu.pl> | 2017-10-25 15:17:07 +0300 |
commit | e3a346f515b7f6d7f68d96997ef094fdeb8810e9 (patch) | |
tree | bd77fb8445e277f82c04c5e047b272ea370d6111 /src/amun/cpu/decoder/best_hyps.h | |
parent | 255e0409609f57e1e5c6cacf93381050db67e5af (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.h | 2 |
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()) {} |