![JAR search and dependency download from the Maven repository](/logo.png)
edu.berkeley.nlp.syntax.StateSetWithFeatures 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.syntax;
import java.util.ArrayList;
import java.util.List;
/**
* @author petrov
*
*/
public class StateSetWithFeatures extends StateSet {
public List features;
public StateSetWithFeatures(short state, short nSubStates) {
super(state, nSubStates);
// TODO Auto-generated constructor stub
}
/**
* @param stateSet
*/
public StateSetWithFeatures(StateSet stateSet) {
super(stateSet.state, stateSet.numSubStates);
this.from = stateSet.from;
this.to = stateSet.to;
this.word = stateSet.word;
this.wordIndex = stateSet.wordIndex;
this.features = new ArrayList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy