def jaccard(list1,list2):
    """
    Berechnet Jaccard-Koeffizienten
    :param list1: tokenliste 1
    :param list2: tokenliste 2
    :return: Jaccard-Koeffizient
    """
    s1 = set(list1)
    s2 = set(list2)
    return (len(s1.intersection(s2)) / len(s1.union(s2)))