Here on this line, the similarity is 4 / 11
Other libraries calculate Jaccard Similarity differently.
For example, see this line
and this line
and this line
So, where is the problem? Or there is no problem at all, all answers are correct but the implementation is different?