mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-17 07:20:48 +03:00
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
This commit is contained in:
commit
dc42bcbd61
@ -7,3 +7,4 @@ into the source tree from elsewhere:
|
||||
|
||||
* "bjam-files" is taken from Boost.
|
||||
* "util" and "lm" are taken from KenLM: https://github.com/kpu/kenlm
|
||||
|
||||
|
4
Jamroot
4
Jamroot
@ -340,6 +340,6 @@ if [ path.exists $(TOP)/dist ] && $(prefix) != dist {
|
||||
#local temp = [ _shell "bash source ./s.sh" ] ;
|
||||
local temp = [ _shell "mkdir -p $(TOP)/bin" ] ;
|
||||
local temp = [ _shell "rm -f $(TOP)/bin/moses_chart" ] ;
|
||||
local temp = [ _shell "cd $(TOP)/bin && ln -s moses moses_chart" ] ;
|
||||
local temp = [ _shell "cd $(TOP)/bin && ln -s CreateProbingPT CreateProbingPT2" ] ;
|
||||
local temp = [ _shell "cd $(TOP)/bin && ln -sf moses moses_chart" ] ;
|
||||
local temp = [ _shell "cd $(TOP)/bin && ln -sf CreateProbingPT CreateProbingPT2" ] ;
|
||||
|
||||
|
@ -1724,7 +1724,7 @@ OutputSurface(std::ostream &out, Hypothesis const& edge, bool const recursive) c
|
||||
for (size_t i = 1 ; i < outputFactorOrder.size() ; i++) {
|
||||
const Factor *factor = phrase.GetFactor(pos, outputFactorOrder[i]);
|
||||
if (factor) out << fd << *factor;
|
||||
else out << fd << UNKNOWN_FACTOR;
|
||||
//else out << fd << UNKNOWN_FACTOR;
|
||||
}
|
||||
|
||||
if(markUnknown && word.IsOOV()) {
|
||||
|
Loading…
Reference in New Issue
Block a user