Remove unused Phrase::m_arity member variable.

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3600 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
pjwilliams 2010-10-01 10:37:10 +00:00
parent e504b797b2
commit be8dbd20e9
2 changed files with 0 additions and 8 deletions

View File

@ -225,8 +225,6 @@ void Phrase::CreateFromStringNewFormat(FactorDirection direction
, const std::string &factorDelimiter
, Word &lhs)
{
m_arity = 0;
// parse
vector<string> annotatedWordVector;
Tokenize(annotatedWordVector, phraseString);
@ -249,8 +247,6 @@ void Phrase::CreateFromStringNewFormat(FactorDirection direction
annotatedWord = annotatedWord.substr(1, nextPos - 2);
else
annotatedWord = annotatedWord.substr(nextPos + 1, annotatedWord.size() - nextPos - 2);
m_arity++;
}
else
{

View File

@ -45,7 +45,6 @@ class Phrase
Not really used, but nice to know for debugging purposes
*/
std::vector<Word> m_words;
size_t m_arity;
public:
/** No longer does anything as not using mem pool for Phrase class anymore */
@ -198,9 +197,6 @@ public:
{
return Compare(compare) == 0;
}
size_t GetArity() const
{ return m_arity; }
};