src/PredFinder/inference/EITbdAdapter.cpp
/**
 * Get appropriate agent type for this event and argument, e.g. ic:HumanAgent. 
 * The entity subtype does NOT include a "guessed default", so you must account
 * for UNDET.
 *
 * @param et Entity type of the argument
 * @param est Entity subtype of the argument
 *
 * @author eboschee@bbn.com
 * @date 2010.12.12
 **/
Get appropriate agent type for this event and argument, e.g.

@param et Entity type of the argument
@param est Entity subtype of the argument


Get appropriate agent type for this event and argument e . g . @param et Entity type of the argument @param est Entity subtype of the argument
std::wstring EITbdAdapter::getAgentType(const EntityType & et, const EntitySubtype & est) {
	throw_if_not_initialized();
	if (et.matchesPER()) {
		if (est.getName() == Symbol(L"Group")) {
			return L"ic:PersonGroup";
		} else {
			return L"ic:Person";
		}
	} else if (et.matchesGPE() || et.matchesORG()) {
		return L"ic:HumanAgent";
	} 
	return L"";
}
std :: wstring EITbdAdapter :: getAgentType ( const EntityType & et , const EntitySubtype & est ) { throw_if_not_initialized ( ) ; if ( et . matchesPER ( ) ) { if ( est . getName ( ) == Symbol ( L" " ) ) { return L" " ; } else { return L" " ; } } else if ( et . matchesGPE ( ) || et . matchesORG ( ) ) { return L" " ; } return L" " ; }
Get appropriate agent type for this event and argument, e.g.
Get appropriate agent type for this event and argument e . g .
// Currently the same for all types of events
