Train  Test  Train  POS NEG NEU Total POS NEG NEU Total + Test   RESTAURANT   GENERAL   175  214  14  403  58  63  4  125  528   PRICES   30  60  12  102  9  10  4  23  125   MISCELLANEOUS   27  62  17  106  9  19  6  34  140   FOOD   QUALITY   332  340  43  715  137  128  22  287  In an effort to keep the training and test datasets as balanced as possible with respect to the polarity of the opinions expressed in the texts, we collected an equivalent number of user reviews with different rankings based on a 5-star rating system (excellent, very good, average, poor, terrible).
the retained reviews are uniformly distributed over all possible ranks.