src/Generic/docentities/StrategicEntityLinker.cpp
// master method for all the types of linking that might go on

master method for all the types of linking that might go on
master method for all the types of linking that might go on
void StrategicEntityLinker::linkEntities(DocTheory* docTheory)
{
	if (_doStrategicLinking) {
		if (_linkToNames)
			_linkToNamesStrategically(docTheory);
		else
			_linkStrategically(docTheory);
    }
	if (docTheory->getEntitySet() != NULL)
		docTheory->getEntitySet()->determineMentionConfidences(docTheory);
}
void StrategicEntityLinker :: linkEntities ( DocTheory * docTheory ) { if ( _doStrategicLinking ) { if ( _linkToNames ) _linkToNamesStrategically ( docTheory ) ; else _linkStrategically ( docTheory ) ; } if ( docTheory -> getEntitySet ( ) != NULL ) docTheory -> getEntitySet ( ) -> determineMentionConfidences ( docTheory ) ; }
master method for all the types of linking that might go on
master method for all the types of linking that might go on