org.maltparser.ml
Class KBestList
java.lang.Object
org.maltparser.ml.KBestList
public class KBestList
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kBestList
protected ArrayList<KBestItem> kBestList
k
protected int k
currentItemIndex
protected int currentItemIndex
KBestList
public KBestList()
KBestList
public KBestList(int k)
clear
public void clear()
addKBestItem
public void addKBestItem(int codes)
addKBestItem
public void addKBestItem(int codes,
double score)
getNextClassCode
public KBestItem getNextClassCode()
getK
public int getK()
getCurrentSize
public int getCurrentSize()
setK
protected void setK(int k)
getCurrentItemIndex
protected int getCurrentItemIndex()
setCurrentItemIndex
protected void setCurrentItemIndex(int currentItemIndex)
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.