src/PredFinder/common/ElfMultiDoc.cpp
// Loop over document-specific entries

Loop over document-specific entries
Loop over document - specific entries
BOOST_FOREACH(DocIdAndTypeToSRMMap::value_type entry, _docid_type_to_srm) {
		std::wstring doc_id = entry.first.first;
		std::wstring type = entry.first.second;
		StringReplacementMap srm = entry.second;
		BOOST_FOREACH(StringReplacementMap::value_type replace, srm){
			std::wstring name = replace.first;
			std::wstring uri = replace.second;
			_name_docid_to_bound_uris[std::pair<std::wstring, std::wstring>(name, doc_id)].insert(uri);
			std::wstring normalized_string = UnicodeUtil::normalizeTextString(name);
			_name_docid_to_bound_uris[std::pair<std::wstring, std::wstring>(normalized_string, doc_id)].insert(uri);
			_bound_uri_to_types[uri].insert(type);
		}
	}
BOOST_FOREACH ( DocIdAndTypeToSRMMap :: value_type entry , _docid_type_to_srm ) { std :: wstring doc_id = entry . first . first ; std :: wstring type = entry . first . second ; StringReplacementMap srm = entry . second ; BOOST_FOREACH ( StringReplacementMap :: value_type replace , srm ) { std :: wstring name = replace . first ; std :: wstring uri = replace . second ; _name_docid_to_bound_uris [ std :: pair < std :: wstring , std :: wstring > ( name , doc_id ) ] . insert ( uri ) ; std :: wstring normalized_string = UnicodeUtil :: normalizeTextString ( name ) ; _name_docid_to_bound_uris [ std :: pair < std :: wstring , std :: wstring > ( normalized_string , doc_id ) ] . insert ( uri ) ; _bound_uri_to_types [ uri ] . insert ( type ) ; } }
Loop over document-specific entries
Loop over document - specific entries
//create a normalized, lowercased version of the name and add it
