#!/usr/bin/env python

"""
Train script
"""
import csv
from classify import classifier


def main():
    print('Reading CSV...')
    csvfile = open('classify/data/train.csv', newline='')
    datareader = csv.DictReader(csvfile)
    data = list(datareader)
    print('Training...')
    classifier.train(data)


if __name__ == "__main__":
    main()

#!/usr/bin/env python

"""
Train script
"""
import csv
from classify import classifier


def main():
    print('Reading CSV...')
    csvfile = open('classify/data/train.csv', newline='')
    datareader = csv.DictReader(csvfile)
    data = list(datareader)
    print('Training...')
    classifier.train(data)


if __name__ == "__main__":
    main()

#!/usr/bin/env python Train script