Hybrid similarity measure.