def jaccard_distance(text1, text2):
    """ Measure the jaccard distance of two different text.
    ARGS:
        text1,2: list of tokens
    RETURN:
        score(float): distance between two text
        """
    intersection = set(text1).intersection(set(text2))
    union = set(text1).union(set(text2))
    return 1 - len(intersection) / len(union)