def lineGenerator():
    with open(INPUT_FILENAMES_TITLE[0], 'r') as f1:
        title_reader = csv.reader(f1)
for line in title_reader:
    yield line[0]
Out-of-core training of Scikit's LinearSVC Classifier