def get_keyword(data):
    pedestrian_keywords = {'person', 'man', 'woman', 'walker', 'pedestrian'}
    car_keywords = {'car'}
    van_keywords = {'van', 'minivan', 'bus', 'minibus'}
    truck_keywords = {'truck'}
    cyclist_keywords = {'cyclist', 'motorcyclist', 'unicyclist', 'bicycle', 'motocycle', 'bike', 'motorbike', 'unicycle', 'monocycle', 'rickshaw'}
    words = []
    for w in data.split(','):
        words.extend(w.split(' '))
    words = set(words)
    if words.intersection(car_keywords):
        return 0
    if words.intersection(van_keywords):
        return 1
    if words.intersection(truck_keywords):
        return 2
    if words.intersection(pedestrian_keywords):
        return 3
    if words.intersection(cyclist_keywords):
        return 4
    return (- 1)
def get_keyword(data):
    pedestrian_keywords = {'person', 'man', 'woman', 'walker', 'pedestrian'}
    car_keywords = {'car'}
    van_keywords = {'van', 'minivan', 'bus', 'minibus'}
    truck_keywords = {'truck'}
    cyclist_keywords = {'cyclist', 'motorcyclist', 'unicyclist', 'bicycle', 'motocycle', 'bike', 'motorbike', 'unicycle', 'monocycle', 'rickshaw'}
    words = []
    for w in data.split(','):
        words.extend(w.split(' '))
    words = set(words)
    if words.intersection(car_keywords):
        return 0
    if words.intersection(van_keywords):
        return 1
    if words.intersection(truck_keywords):
        return 2
    if words.intersection(pedestrian_keywords):
        return 3
    if words.intersection(cyclist_keywords):
        return 4
    return (- 1)