cjiang2 / VDCNN

Implementation of Very Deep Convolutional Neural Network for Text Classification
171 stars 41 forks source link

load_csv_file() only loads description field #7

Closed GateStainer closed 3 years ago

GateStainer commented 6 years ago

text = row['fields'][-1].lower()

This code in function load_csv_file() doesn't load title part of the text. However, I think in the paper, both title and description part of the text are put into training.

cjiang2 commented 6 years ago

Hi, sorry for the late reply. This is the part which I am not sure. Although the code can be easily modified to encode both title and description. I'll put a switch to choose to load title during the next update, no worries.