src/PredFinder/elf/ElfIndividual.cpp
/**
 * Static utility method to generate a namespace-prefixed
 * string identifier from a prefix and some documents.
 * Generated IDs are still only document-unique, but allow
 * us to mix ElfIndividuals.
 *
 * @param docid The unique document identifier, making this
 * generated ID globally unique.
 * @param start The start offset of the ElfIndividual
 * we're generating an ID for.
 * @param end The end offsets of the ElfIndividual
 * we're generating an ID for.
 *
 * @return The bbn-namespace entity ID string
 **/
Static utility method to generate a namespace-prefixed
string identifier from a prefix and some documents.
Generated IDs are still only document-unique, but allow
us to mix ElfIndividuals.

@param docid The unique document identifier, making this
generated ID globally unique.
@param start The start offset of the ElfIndividual
we're generating an ID for.
@param end The end offsets of the ElfIndividual
we're generating an ID for.

@return The bbn-namespace entity ID string
Static utility method to generate a namespace - prefixed string identifier from a prefix and some documents . Generated IDs are still only document - unique but allow us to mix ElfIndividuals . @param docid The unique document identifier making this generated ID globally unique . @param start The start offset of the ElfIndividual we ' re generating an ID for . @param end The end offsets of the ElfIndividual we ' re generating an ID for . @return The bbn - namespace entity ID string
std::wstring ElfIndividual::generate_uri_from_offsets(const std::wstring & docid, EDTOffset start, EDTOffset end) {
	std::wstringstream uri;
	uri << "bbn:individual-" << docid << "-" << start.value() << "-" << end.value();
	return uri.str();
}
std :: wstring ElfIndividual :: generate_uri_from_offsets ( const std :: wstring & docid , EDTOffset start , EDTOffset end ) { std :: wstringstream uri ; uri << " " << docid << " " << start . value ( ) << " " << end . value ( ) ; return uri . str ( ) ; }
Static utility method to generate a namespace-prefixed
 string identifier from a prefix and some documents.
Static utility method to generate a namespace - prefixed string identifier from a prefix and some documents .
// Create a prefixed string ID
