src/PredFinder/inference/EIUtils.cpp
// Called by the ElfInference constructor.

Called by the ElfInference constructor.
Called by the ElfInference constructor .
void EIUtils::init(const std::string& failed_xdoc_path) {
	initAllowedDoubleEntityRelations();
	initRelationSpecificFilterWords();
	initNonLocalWords();
	initLocationTables();
	initCountryNameEquivalenceTable();
	initIndividualTypeNameList();
	load_xdoc_failures(failed_xdoc_path);
	xdocWarnings();
	insertDemocraticWord(L"party");
	insertGovernmentWord(L"army");
	insertGovernmentWord(L"military");
	insertGovernmentWord(L"congress");
	insertGovernmentWord(L"senate");
	insertGovernmentWord(L"embassy");
	insertGovernmentWord(L"embassies");
	insertGovernmentWord(L"ministry");
	insertGovernmentWord(L"consulate");
}
void EIUtils :: init ( const std :: string & failed_xdoc_path ) { initAllowedDoubleEntityRelations ( ) ; initRelationSpecificFilterWords ( ) ; initNonLocalWords ( ) ; initLocationTables ( ) ; initCountryNameEquivalenceTable ( ) ; initIndividualTypeNameList ( ) ; load_xdoc_failures ( failed_xdoc_path ) ; xdocWarnings ( ) ; insertDemocraticWord ( L" " ) ; insertGovernmentWord ( L" " ) ; insertGovernmentWord ( L" " ) ; insertGovernmentWord ( L" " ) ; insertGovernmentWord ( L" " ) ; insertGovernmentWord ( L" " ) ; insertGovernmentWord ( L" " ) ; insertGovernmentWord ( L" " ) ; insertGovernmentWord ( L" " ) ; }
Called by the ElfInference constructor.
Called by the ElfInference constructor .