opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/StoryDiscourseNavigator.java [108:129]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
			for (int i = 0; i < resultList.size(); i++) {
				{
					for (int j = i + 1; j < resultList.size(); j++) {
						HitBase h1 = resultList.get(i);
						HitBase h2 = resultList.get(j);
						String snapshot1 = StringCleaner.processSnapshotForMatching(h1
								.getTitle() + " . " + h1.getAbstractText());
						String snapshot2 = StringCleaner.processSnapshotForMatching(h2
								.getTitle() + " . " + h2.getAbstractText());
						SentencePairMatchResult matchRes = sm.assessRelevance(snapshot1,
								snapshot2);
						List<List<ParseTreeChunk>> matchResult = matchRes.getMatchResult();
						genResult.addAll(matchResult);
					}
				}
			}

		} catch (Exception e) {
			System.err.print("Problem extracting taxonomy node");
		}

		return genResult;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/taxo_builder/TaxonomyExtenderViaMebMining.java [143:162]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      for (int i = 0; i < resultList.size(); i++) {
        for (int j = i + 1; j < resultList.size(); j++) {
          HitBase h1 = resultList.get(i);
          HitBase h2 = resultList.get(j);
          String snapshot1 = StringCleaner.processSnapshotForMatching(h1
              .getTitle() + " . " + h1.getAbstractText());
          String snapshot2 = StringCleaner.processSnapshotForMatching(h2
              .getTitle() + " . " + h2.getAbstractText());
          SentencePairMatchResult matchRes = sm.assessRelevance(snapshot1,
              snapshot2);
          List<List<ParseTreeChunk>> matchResult = matchRes.getMatchResult();
          genResult.addAll(matchResult);
        }
      }

    } catch (Exception e) {
      System.err.print("Problem extracting taxonomy node");
    }

    return genResult;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



