I found this documentation source module and I think is it wrong measure? formula that dice similarity is use Union instead of intersect.