src/Generic/events/stat/EventArgumentFinder.cpp
// Performing event-aa with predicted triggers. 'keyEset' are gold triggers, while 'testEset' are predicted triggers

Performing event-aa with predicted triggers. 'keyEset' are gold triggers, while 'testEset' are predicted triggers
Performing event - aa with predicted triggers . ' keyEset ' are gold triggers while ' testEset ' are predicted triggers
void EventArgumentFinder::devTestDecode(TokenSequence *tokenSequence, Parse *parse, ValueMentionSet *valueMentionSet, 
		MentionSet *mentionSet, PropositionSet *propSet, EventMentionSet *keyEset, EventMentionSet *testEset) 
{
	if (MODE != DECODE || _model == 0)
		return;
	std::vector<MentionRolePair> keyMentionRolePairs = getMentionRolePairs(keyEset);
	std::vector<ValueMentionRolePair> keyValueMentionRolePairs = getValueMentionRolePairs(keyEset);
	for (int ement = 0; ement < testEset->getNEventMentions(); ement++) {
		EventMention *test_em = testEset->getEventMention(ement);
		test_em->resetArguments();
		attachArguments(test_em, tokenSequence, valueMentionSet, parse, mentionSet, propSet);
	}
	std::vector<MentionRolePair> testMentionRolePairs = getMentionRolePairs(testEset);
	std::vector<ValueMentionRolePair> testValueMentionRolePairs = getValueMentionRolePairs(testEset);
	tabulateStatistics(keyMentionRolePairs, testMentionRolePairs);
	tabulateStatistics(keyValueMentionRolePairs, testValueMentionRolePairs);
}
void EventArgumentFinder :: devTestDecode ( TokenSequence * tokenSequence , Parse * parse , ValueMentionSet * valueMentionSet , MentionSet * mentionSet , PropositionSet * propSet , EventMentionSet * keyEset , EventMentionSet * testEset ) { if ( MODE != DECODE || _model == 0 ) return ; std :: vector < MentionRolePair > keyMentionRolePairs = getMentionRolePairs ( keyEset ) ; std :: vector < ValueMentionRolePair > keyValueMentionRolePairs = getValueMentionRolePairs ( keyEset ) ; for ( int ement = 0 ; ement < testEset -> getNEventMentions ( ) ; ement ++ ) { EventMention * test_em = testEset -> getEventMention ( ement ) ; test_em -> resetArguments ( ) ; attachArguments ( test_em , tokenSequence , valueMentionSet , parse , mentionSet , propSet ) ; } std :: vector < MentionRolePair > testMentionRolePairs = getMentionRolePairs ( testEset ) ; std :: vector < ValueMentionRolePair > testValueMentionRolePairs = getValueMentionRolePairs ( testEset ) ; tabulateStatistics ( keyMentionRolePairs , testMentionRolePairs ) ; tabulateStatistics ( keyValueMentionRolePairs , testValueMentionRolePairs ) ; }
Performing event-aa with predicted triggers.
Performing event - aa with predicted triggers .