mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-01 16:33:16 +03:00
Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2
This commit is contained in:
commit
f8a11cd59b
@ -120,7 +120,7 @@ void StoreTarget::Append(const line_text &line, bool log_prob, bool scfg)
|
||||
|
||||
if (scfg) {
|
||||
bool nonTerm = false;
|
||||
if (scfg && tok[0] == '[' && tok.back() == ']') {
|
||||
if (scfg && tok[0] == '[' && tok[tok.size() - 1] == ']') {
|
||||
//cerr << "NON-TERM=" << tok << " " << nonTerms.size() << endl;
|
||||
nonTerm = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user