Added SimilarityAnnotator (modified from Joshua).