src/Generic/names/IdFSentenceTheory.cpp
/** initialize IdFSentenceTheory with a certain length */
initialize IdFSentenceTheory with a certain length
initialize IdFSentenceTheory with a certain length
IdFSentenceTheory::IdFSentenceTheory(int length, int default_tag) 
	: _beta_score(0), _best_possible_score(0), MAX_LENGTH(MAX_SENTENCE_TOKENS)
{
	if (length > MAX_LENGTH)
		length = MAX_LENGTH;
	_length = length;
	for (int i = 0; i < _length; i++) {
		_tagArray[i] = default_tag;
	}
}
IdFSentenceTheory :: IdFSentenceTheory ( int length , int default_tag ) : _beta_score ( 0 ) , _best_possible_score ( 0 ) , MAX_LENGTH ( MAX_SENTENCE_TOKENS ) { if ( length > MAX_LENGTH ) length = MAX_LENGTH ; _length = length ; for ( int i = 0 ; i < _length ; i ++ ) { _tagArray [ i ] = default_tag ; } }
initialize IdFSentenceTheory with a certain length
initialize IdFSentenceTheory with a certain length