|
MaltParser 1.7.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maltparser.ml.lib.FeatureList
public class FeatureList
The feature list is sorted according to the compareTo of the node.
| Constructor Summary | |
|---|---|
FeatureList()
Creates a feature list of MaltFeatureNode objects |
|
FeatureList(int size)
Creates a feature list of MaltFeatureNode objects |
|
| Method Summary | |
|---|---|
void |
add(int index,
double value)
Adds an index/value pair to the feature list. |
void |
add(MaltFeatureNode x)
Adds a MaltFeatureNode object to the feature list. |
void |
clear()
Clears the feature list |
MaltFeatureNode |
get(int i)
|
int |
size()
|
MaltFeatureNode[] |
toArray()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureList()
public FeatureList(int size)
| Method Detail |
|---|
public void add(MaltFeatureNode x)
x - a MaltFeatureNode object
public void add(int index,
double value)
index - a binarized feature indexvalue - a valuepublic MaltFeatureNode get(int i)
i - the position in the feature list
public void clear()
public int size()
public MaltFeatureNode[] toArray()
|
MaltParser 1.7.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||