Add a simple StopWords class and a related stopWords getter and setter in the Model class, which will store a list of words in a Set, and remove these both when calling Classifier.train (after splitWords and before tokenize), and in the same way when calling Classifier.predict.
Add a simple
StopWordsclass and a relatedstopWordsgetter and setter in theModelclass, which will store a list of words in aSet, and remove these both when callingClassifier.train(aftersplitWordsand beforetokenize), and in the same way when callingClassifier.predict.