So, if I understand, with
SRMetric sr = configurator.get(
SRMetric.class, "category",
"language", simple.getLangCode());
int id1=pageDao.getIdByTitle("Category:Sports",simple,NameSpace.CATEGORY);
int id2=pageDao.getIdByTitle("Category:Football",simple,NameSpace.CATEGORY);
SRResult s=sr.similarity(id1, id2, false);
I get similarity between category1 and category2 passing for lcs(category1,category2), right?
I need distance of anyone of them from lcs, i.e. s1=similarity(category1, lcs(category1,category2)) and s2=similarity(category2, lcs(category1,category2))..
is there a way to do that?
thanks!