src/Generic/events/stat/EventModalityClassifier.cpp
// for modality classification, the classifier only classifies event trigger positions

for modality classification, the classifier only classifies event trigger positions
for modality classification the classifier only classifies event trigger positions
int EventModalityClassifier::processSentence(const TokenSequence *tokens, 
										const Parse *parse, 
										MentionSet *mentionSet, 
										const PropositionSet *propSet, 
										EventMention **potentials,
										int max)
{
	int n_found = 0;
	if (DEBUG) {
		_debugStream << parse->getRoot()->toTextString() << "\n";
	}
	for (int tok = 0; tok < tokens->getNTokens(); tok++) {
		if (n_found >= max)
			break;
		n_found += processToken(tok, tokens, parse, mentionSet, propSet, 
								potentials + n_found, max - n_found);
	}
	return n_found;
}
int EventModalityClassifier :: processSentence ( const TokenSequence * tokens , const Parse * parse , MentionSet * mentionSet , const PropositionSet * propSet , EventMention * * potentials , int max ) { int n_found = 0 ; if ( DEBUG ) { _debugStream << parse -> getRoot ( ) -> toTextString ( ) << " \n " ; } for ( int tok = 0 ; tok < tokens -> getNTokens ( ) ; tok ++ ) { if ( n_found >= max ) break ; n_found += processToken ( tok , tokens , parse , mentionSet , propSet , potentials + n_found , max - n_found ) ; } return n_found ; }
for modality classification, the classifier only classifies event trigger positions
for modality classification the classifier only classifies event trigger positions