mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
add . to punctuation
This commit is contained in:
parent
9d36ccee5a
commit
ed5b87a3e3
@ -19,7 +19,7 @@ GlobalLexicalModelUnlimited::GlobalLexicalModelUnlimited(const vector< FactorTyp
|
||||
LoadData( inFactors, outFactors );
|
||||
|
||||
// compile a list of punctuation characters
|
||||
char punctuation[] = "\"'!?¿·()#_,:;&-/\\0123456789";
|
||||
char punctuation[] = "\"'!?¿·()#_,.:;&-/\\0123456789";
|
||||
for (size_t i=0; i < sizeof(punctuation)-1; ++i)
|
||||
m_punctuationHash[punctuation[i]] = 1;
|
||||
}
|
||||
|
@ -35,8 +35,6 @@ private:
|
||||
|
||||
CharHash m_punctuationHash;
|
||||
|
||||
// FactorMask m_inputFactors;
|
||||
// FactorMask m_outputFactors;
|
||||
std::vector< FactorType > m_inputFactors;
|
||||
std::vector< FactorType > m_outputFactors;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user