![JAR search and dependency download from the Maven repository](/logo.png)
edu.berkeley.nlp.classify.BasicFeatureVector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of berkeleyparser Show documentation
Show all versions of berkeleyparser Show documentation
The Berkeley parser analyzes the grammatical structure of natural language using probabilistic context-free grammars (PCFGs).
The newest version!
package edu.berkeley.nlp.classify;
import edu.berkeley.nlp.util.Counter;
/**
* Simple Class implementing FeatureVector
* @author aria42
*
* @param Type for Feature
*/
public class BasicFeatureVector implements FeatureVector {
public final Counter features;
public BasicFeatureVector(Counter features) {
this.features = features;
}
public Counter getFeatures() {
return features;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy