private Polarity polarity() {
        if (positiveCounter <= 0 && negativeCounter <= 0
                && neutralCounter <= 0) {
            return Polarity.NOT_SET;
        } else if (positiveCounter > negativeCounter && positiveCounter > neutralCounter) {
            return Polarity.POSITIVE; // Positive word
        } else if (negativeCounter > positiveCounter && negativeCounter > neutralCounter) {
            return Polarity.NEGATIVE; // Negative word.
        } else if (neutralCounter > positiveCounter && neutralCounter > negativeCounter) {
            return Polarity.NEUTRAL; // Neutral word.
        } else {
            return Polarity.AMBIGUOUS;
        }
    }