Skip to content

Commit

Permalink
Fix environmental classifier
Browse files Browse the repository at this point in the history
  • Loading branch information
manosetro committed Dec 15, 2017
1 parent 0bce67d commit ddf5f05
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ public EnvironmentalClassifier(Configuration configuration) {

@Override
public boolean accept(Item item) {

if(!"Twitter".equals(item.getSource())) {
return true;
}

String lang = item.getLanguage();

String text = "";
Expand Down

0 comments on commit ddf5f05

Please sign in to comment.