private void createIRInfoTermsPerEntity() throws PTStemmerException {
    Map<String, Map<String, Integer>> termsByEntity = new HashMap<String, Map<String, Integer>>();

    VXLIterator entityIterator = vxlReader.iterator();
    while (entityIterator.hasNext()) {
      ContainerEntity entity = entityIterator.next();

      List<String> identifiers = entity.getListIdentifiers();
      identifiers.add(entity.getEntityIdentifier());

      Map<String, Integer> entityTerms = new HashMap<String, Integer>();
      for (String identifier : identifiers) {

        String[] identifierArray = {identifier};
        String[] terms = this.identifierFilter.filterIdentifiers(identifierArray);

        for (String term : terms) {
          if (entityTerms.containsKey(term)) {
            entityTerms.put(term, entityTerms.get(term) + 1);
          } else {
            entityTerms.put(term, 1);
          }
        }
      }

      termsByEntity.put(entity.getEntityIdentifier(), entityTerms);
    }

    IR ir = new IR(termsByEntity, props);
    retrievedInfo = new IRInfo(ir.calculate(), props);
  }
 private void loadVXLFile(String vxlFileName) {
   try {
     vxlReader.load(vxlFileName);
   } catch (JAXBException e) {
     e.printStackTrace();
     System.out.println("loadVxlFile(): JAXBException Error");
   }
 }