private void tag(InstancesTagger is, SentenceData09 instance) { int length = instance.ppos.length; short[] pos = new short[instance.gpos.length]; float sc[] =new float[instance.ppos.length]; instance.ppos[0]= is2.io.CONLLReader09.ROOT_POS; pos[0]=(short)pipe.mf.getValue(ExtractorT2.POS, is2.io.CONLLReader09.ROOT_POS); for(int j = 1; j < length; j++) { short bestType = (short)pipe.fillFeatureVectorsOne( instance.forms[j],params, j, is,0,pos,this.li,sc); pos[j] = bestType; instance.ppos[j]= pipe.types[bestType]; } for(int j = 1; j < length; j++) { short bestType = (short)pipe.fillFeatureVectorsOne(instance.forms[j],params, j, is,0,pos,this.li,sc); instance.ppos[j]= pipe.types[bestType]; pos[j]=bestType; } }