code: protected Map<EntityReference, Set<String>> extractModifNames(Map mfMap)
  	{
  		Map<EntityReference, Set<String>> map = new HashMap<EntityReference, Set<String>>();
  
  		for (Object o : mfMap.keySet())
  		{
  			EntityReference er = (EntityReference) o;
  			map.put(er, extractModifNames((Set) mfMap.get(er)));
  		}
  
  		return map;
  	}
docs: Extracts the modification terms from the moficiation features.
  @param mfMap map for the features
  @return map from EntityReference to the set of the extracted terms