Added base for JaccardSimilarity calculator.