A java framework for link prediction