conceptPairText));
String line = null;
while ((line = r.readLine()) != null) {
String concepts[] = line.split(",|\\s");
if (concepts.length == 2) {
ConceptPair p = new ConceptPair();
p.setConcept1(concepts[0]);
p.setConcept2(concepts[1]);
conceptPairs.add(p);
}
}
// calculate sim
ConceptSimilarityService simSvc = this.getSemanticSimRegistryBean()