public void setNeighboursL2(
     String[] neighboursStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.neighboursL2 = new int[neighboursStr.length];
   for (int i = 0; i < neighboursStr.length; i++)
     neighboursL2[i] =
         featureIndexers.getIndexOfFeature(
             ExtractFeatures.FEAT_NEIGHBOURS_L2, neighboursStr[i], train);
 }
 public void setSrlTriplesPos(
     String[] srlTriplesPosStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.srlTriplesPos = new int[srlTriples.length];
   for (int i = 0; i < srlTriplesPosStr.length; i++)
     srlTriplesPos[i] =
         featureIndexers.getIndexOfFeature(
             ExtractFeatures.FEAT_SRL_TRIPLES_POS, srlTriplesPosStr[i], train);
 }
 public void setElemTreeUnlex(
     String elemTreeUnlexStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.elemTreeUnlex =
       featureIndexers.getIndexOfFeature(
           ExtractFeatures.FEAT_ELEM_TREE_UNLEX, elemTreeUnlexStr, train);
 }
 public void setElemTreeBigram(
     String elemTreeBigramStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.elemTreeBigram =
       featureIndexers.getIndexOfFeature(
           ExtractFeatures.FEAT_ELEM_TREE_BIGRAM, elemTreeBigramStr, train);
 }
 public void setPrevElemTree(
     String prevElemTreeStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.prevElemTree =
       featureIndexers.getIndexOfFeature(
           ExtractFeatures.FEAT_PREV_ELEM_TREE, prevElemTreeStr, train);
 }
 public void setWordL3(
     String wordL3Str, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.wordL3 = featureIndexers.getIndexOfFeature(ExtractFeatures.FEAT_WORD_L3, wordL3Str, train);
 }
 public void setIpElemTree(
     String ipElemTreeStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.ipElemTree =
       featureIndexers.getIndexOfFeature(ExtractFeatures.FEAT_IP_ELEM_TREE, ipElemTreeStr, train);
 }
 public void setHeavy(
     String[] heavyStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.heavy = new int[heavyStr.length];
   for (int i = 0; i < heavyStr.length; i++)
     heavy[i] = featureIndexers.getIndexOfFeature(ExtractFeatures.FEAT_HEAVY, heavyStr[i], train);
 }
 public void setCoLenPar(
     String coLenParStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.coLenPar =
       featureIndexers.getIndexOfFeature(ExtractFeatures.FEAT_CO_LEN_PAR, coLenParStr, train);
 }
 public void setIntegrationPoint(
     String integrationPointStr, DiscriminativeFeatureIndexers featureIndexers, boolean train) {
   this.integrationPoint =
       featureIndexers.getIndexOfFeature(
           ExtractFeatures.FEAT_INTEGRATION_POINT, integrationPointStr, train);
 }