June 2018
Intermediate to advanced
436 pages
10h 33m
English
There are two folders, namely train and test for the training and test sets, respectively. Each folder has two separate subfolders called pos and neg, which contain reviews with binary labels (pos, neg). Reviews are stored in text files having the name id_rating.txt, where id is a unique ID and rating is the star rating on a 1-10 scale. Take a look at the following diagram to get a clearer view on the directory's structure:

For example, the test/pos/200_8.txt file is the text for a positive-labeled test set example with a unique ID of 200 and a star rating of 8/10 ...
Read now
Unlock full access