Require: Uncleaned comments. Ensure: Cleaned and pretreated comments. 1: For each comments in the dataset do. 2: Apply the Text cleaning process. 3: Apply the Tokenization function. 4: Apply the Lemmatization function. 5: Apply the Strimming function. 6: End for. |