def get_similarity(url1, ws2, sc2):
    ws1 = get_word_set(url1)
    if ws1 == ws2:
        return (0, 0)
    return - abs(url1.count('/') - sc2), len(ws1 & ws2) / len(ws2)
dataset/ETHPy150Open kootenpv/sky/sky/links.py/get_similarity/original