src/PredFinder/inference/ElfInference.cpp
// All ElfInference methods other than the constructor and destructor are static.
// Called by PredicationFinder::run() after S-ELF.
// Assumes that docData->setDocInfo() has already been called on the same document (by prepareDocumentForInference()),
// and passes in the return value from that call as the parameter docData.

All ElfInference methods other than the constructor and destructor are static.
Called by PredicationFinder::run() after S-ELF.
Assumes that docData->setDocInfo() has already been called on the same document (by prepareDocumentForInference()),
and passes in the return value from that call as the parameter docData.
All ElfInference methods other than the constructor and destructor are static . Called by PredicationFinder :: run () after S - ELF . Assumes that docData - > setDocInfo () has already been called on the same document ( by prepareDocumentForInference () ) and passes in the return value from that call as the parameter docData .
void ElfInference::do_partner_inference(EIDocData_ptr docData, ElfDocument_ptr doc) {
	throw_if_ei_not_initialized();
	docData->setElfDoc(doc);
	if(ElfMultiDoc::get_ontology_domain() == L"kbp"){
		applyKBPTemporalFilter(docData);
		applyKBPConflictingDateTemporalFilter(docData);
		applyKBPConflictingBirthDeathTemporalFilter(docData);
		applyDuplicateRelationFilter(docData);
	}
	EIUtils::cleanupDocument(docData);
}
void ElfInference :: do_partner_inference ( EIDocData_ptr docData , ElfDocument_ptr doc ) { throw_if_ei_not_initialized ( ) ; docData -> setElfDoc ( doc ) ; if ( ElfMultiDoc :: get_ontology_domain ( ) == L" " ) { applyKBPTemporalFilter ( docData ) ; applyKBPConflictingDateTemporalFilter ( docData ) ; applyKBPConflictingBirthDeathTemporalFilter ( docData ) ; applyDuplicateRelationFilter ( docData ) ; } EIUtils :: cleanupDocument ( docData ) ; }
All ElfInference methods other than the constructor and destructor are static.
All ElfInference methods other than the constructor and destructor are static .
// shut things down
