Search in sources :

Example 6 with FeatureVectorBuffer

use of edu.illinois.cs.cogcomp.sl.util.FeatureVectorBuffer in project cogcomp-nlp by CogComp.

the class LabeledDepFeatureGenerator method getCombineEdgeFeatures.

public FeatureVectorBuffer getCombineEdgeFeatures(int head, int dep, DepInst sent, String deprel) {
    FeatureVectorBuffer fb = new FeatureVectorBuffer();
    fb.addFeature(getLabeledEdgeFeatures(head, dep, sent, deprel));
    return fb;
}
Also used : FeatureVectorBuffer(edu.illinois.cs.cogcomp.sl.util.FeatureVectorBuffer)

Aggregations

FeatureVectorBuffer (edu.illinois.cs.cogcomp.sl.util.FeatureVectorBuffer)6 DiscreteFeature (edu.illinois.cs.cogcomp.edison.features.DiscreteFeature)1 Feature (edu.illinois.cs.cogcomp.edison.features.Feature)1 IFeatureVector (edu.illinois.cs.cogcomp.sl.util.IFeatureVector)1 SparseFeatureVector (edu.illinois.cs.cogcomp.sl.util.SparseFeatureVector)1 HashMap (java.util.HashMap)1