Github user marcovivero commented on the issue:

    
https://github.com/apache/incubator-predictionio-template-text-classifier/issues/4
  
    You're right they're not currently being used in the engine. You can add 
these in easily as they're an element of `TrainingData` case class. Just modify 
the `TFHasher` class to take the stopwords as an input parameter, and apply the 
appropriate filter here:
    
    
https://github.com/apache/incubator-predictionio-template-text-classifier/blob/master/src/main/scala/Preparator.scala#L68
    
    You can subsequently pass in the stopwords here:
    
    
https://github.com/apache/incubator-predictionio-template-text-classifier/blob/master/src/main/scala/Preparator.scala#L29


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to