src/Generic/apf/APF4GenericResultCollector.cpp
// NOTE: in the rare case that we want to print a list as a mention,
//       print each of its parts instead.

in the rare case that we want to print a list as a mention,
print each of its parts instead.
in the rare case that we want to print a list as a mention print each of its parts instead .
void APF4GenericResultCollector::_printAPFListMention(OutputStream& stream,
										   Mention* ment,
										   Entity* ent, 
										   const wchar_t* doc_name,
										   std::set<MentionUID>& printed_mentions_for_this_entity)
{
	Mention* child = ment->getChild();
	while (child != 0) {
		if (child->getMentionType() != Mention::APPO) {
			_printAPFMention(stream, child, ent, doc_name, printed_mentions_for_this_entity);
		}
		child = child->getNext();
	}
}
void APF4GenericResultCollector :: _printAPFListMention ( OutputStream & stream , Mention * ment , Entity * ent , const wchar_t * doc_name , std :: set < MentionUID > & printed_mentions_for_this_entity ) { Mention * child = ment -> getChild ( ) ; while ( child != 0 ) { if ( child -> getMentionType ( ) != Mention :: APPO ) { _printAPFMention ( stream , child , ent , doc_name , printed_mentions_for_this_entity ) ; } child = child -> getNext ( ) ; } }
NOTE: in the rare case that we want to print a list as a mention,
print each of its parts instead.
NOTE : in the rare case that we want to print a list as a mention print each of its parts instead .