src/English/relations/en_FamilyRelationFinder.cpp
// need to take a circuitous route to get all the mentions out of an entity,
// here just get the headword of one mention of one entity

need to take a circuitous route to get all the mentions out of an entity,
here just get the headword of one mention of one entity
need to take a circuitous route to get all the mentions out of an entity here just get the headword of one mention of one entity
Symbol EnglishFamilyRelationFinder::getMentionHeadFromEntity(Entity *ent, int entityIndex, DocTheory *dt){
	MentionUID mentUID = ent->getMention(entityIndex);
	int sentNum = Mention::getSentenceNumberFromUID(mentUID);
	SentenceTheory *st = dt->getSentenceTheory(sentNum);
	MentionSet *ms = st->getMentionSet();
	Mention *m = ms->getMention(mentUID);
	return m->getHead()->getHeadWord();
}
Symbol EnglishFamilyRelationFinder :: getMentionHeadFromEntity ( Entity * ent , int entityIndex , DocTheory * dt ) { MentionUID mentUID = ent -> getMention ( entityIndex ) ; int sentNum = Mention :: getSentenceNumberFromUID ( mentUID ) ; SentenceTheory * st = dt -> getSentenceTheory ( sentNum ) ; MentionSet * ms = st -> getMentionSet ( ) ; Mention * m = ms -> getMention ( mentUID ) ; return m -> getHead ( ) -> getHeadWord ( ) ; }
need to take a circuitous route to get all the mentions out of an entity,
here just get the headword of one mention of one entity
need to take a circuitous route to get all the mentions out of an entity here just get the headword of one mention of one entity