code: private static String getExtentOfParticipationMention(LinkedList<Term> eventTermList, 
  							  LinkedList<Term> roleTermList,processNAFVariables vars) {
  	LinkedList<Wf> eventWordList = getTheWFListByThereTermsFromTargetList(eventTermList,vars);
  	LinkedList<Wf> roleWordList = getTheWFListByThereTermsFromTargetList(roleTermList,vars);
  
  	LinkedList<Wf> mergedWordList = new LinkedList<Wf>();
  
  	int charStartOfEvent = Integer.parseInt(eventWordList.getFirst().getOffset());
          int charStartOfRole = Integer.parseInt(roleWordList.getFirst().getOffset());
  
  	LinkedList<Wf> firstWL, secondWL;
  	if (charStartOfEvent <= charStartOfRole) {
  	    firstWL = eventWordList;
  	    secondWL = roleWordList;
  	} else {
  	    firstWL = roleWordList;
  	    secondWL = eventWordList;
  	}
  	for (Wf w : firstWL) {
  	    if (! mergedWordList.contains(w)) {mergedWordList.add(w);}
  	}
  	for (Wf w : secondWL) {
  	    if (! mergedWordList.contains(w)) {mergedWordList.add(w);}
  	}
  	
  	StringBuffer extent = new StringBuffer();
  	for (Wf w : mergedWordList) {
  	    extent.append(w.getvalue() + " ");
  	}
  	String sExtent = extent.toString();
  	return sExtent.substring(0, sExtent.length() - 1);
      }
docs: /*
  similar to generateTheMIdAndSetID() but specific for ParticipationMention