add . to punctuation

This commit is contained in:
Eva Hasler 2012-02-02 17:44:56 +00:00
parent 9d36ccee5a
commit ed5b87a3e3
2 changed files with 1 additions and 3 deletions

View File

@ -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;
}

View File

@ -35,8 +35,6 @@ private:
CharHash m_punctuationHash;
// FactorMask m_inputFactors;
// FactorMask m_outputFactors;
std::vector< FactorType > m_inputFactors;
std::vector< FactorType > m_outputFactors;