public void updateForNewSentence(HashMap<Integer, String> posByIndex,
            List<TypedDependency> tdl,
            HashMap<Integer, Boolean> opinionIndeces, Review reviewObj,
            Set<Integer> negatedIndeces) {
        this.posByIndex = posByIndex;
        this.typeDP = tdl;
        this.opinionIndeces = opinionIndeces;
        this.reviewObj = reviewObj;
        this.negatedIndeces = negatedIndeces;
    }