public void extractFeaturesFromOpinions() {
        for (TypedDependency dp : typeDP) {
            if (this.opinionIndeces.containsKey(dp.dep().index())
                    || this.opinionIndeces.containsKey(dp.gov().index())) {
                // Check for NN-amod-JJ or NN-nsubj-JJ
                if (dp.reln().toString().trim() == "nsubj"
                        || dp.reln().toString().trim() == "amod") {

                    String depPos = posByIndex.get(dp.dep().index());
                    String govPos = posByIndex.get(dp.gov().index());
                    if ((govPos.startsWith("NN") && depPos.startsWith("JJ"))
                            || (govPos.startsWith("JJ") && depPos
                                    .startsWith("NN"))) {

                        String nnWord = (govPos.startsWith("NN") ? dp.gov()
                                .toString() : dp.dep().toString());
                        int nnIndex = (govPos.startsWith("NN") ? dp.gov()
                                .index() : dp.dep().index());
                        String jjWord = (govPos.startsWith("JJ") ? dp.gov()
                                .toString() : dp.dep().toString());
                        int jjIndex = (govPos.startsWith("JJ") ? dp.gov()
                                .index() : dp.dep().index());
                        String extendedFeature = extendFeature(nnIndex, nnWord,
                                jjIndex);

                        if (opinionIndeces.get(jjIndex))
                            addFeatureOpinion(posFOList, extendedFeature,
                                    jjWord, true,
                                    negatedIndeces.contains(jjIndex));
                        else
                            addFeatureOpinion(negFOList, extendedFeature,
                                    jjWord, false,
                                    negatedIndeces.contains(jjIndex));

                    }
                }

                // Check for VB-advmod-RB
                if (dp.reln().toString().trim() == "advmod") {
                    String depPos = posByIndex.get(dp.dep().index());
                    String govPos = posByIndex.get(dp.gov().index());
                    if ((govPos.startsWith("VB") && depPos.startsWith("RB"))
                            || (govPos.startsWith("RB") && depPos
                                    .startsWith("VB"))) {

                        String vbWord = (govPos.startsWith("VB") ? dp.gov()
                                .toString() : dp.dep().toString());
                        String rbWord = (govPos.startsWith("RB") ? dp.gov()
                                .toString() : dp.dep().toString());
                        int rbIndex = (govPos.startsWith("RB") ? dp.gov()
                                .index() : dp.dep().index());
                        if (opinionIndeces.get(rbIndex))
                            addFeatureOpinion(posFOList, vbWord, rbWord, true,
                                    negatedIndeces.contains(rbIndex));
                        else
                            addFeatureOpinion(negFOList, vbWord, rbWord, false,
                                    negatedIndeces.contains(rbIndex));

                    }
                }
            }
        }
        System.out.println(this.posFOList);
        System.out.println(this.negFOList);
    }