org.maltparser.parser.history.kbest
Class ScoredKBestList
java.lang.Object
org.maltparser.parser.history.kbest.KBestList
org.maltparser.parser.history.kbest.ScoredKBestList
public class ScoredKBestList
- extends KBestList
- Since:
- 1.1
- Author:
- Johan Hall
Methods inherited from class org.maltparser.parser.history.kbest.KBestList |
add, add, getAddCandidateIndex, getCandidate, getCurrentSize, getDecision, getK, getKBestListSize, getTopCandidateIndex, peekNextKBest, reset, setDecision, setK, updateActionWithNextKBest |
ScoredKBestList
public ScoredKBestList(SingleDecision action)
ScoredKBestList
public ScoredKBestList(Integer k,
SingleDecision action)
initKBestList
protected void initKBestList()
- Overrides:
initKBestList
in class KBestList
add
public void add(int actionCode,
float score)
throws MaltChainedException
- Throws:
MaltChainedException
add
public void add(String symbol,
float score)
throws MaltChainedException
- Throws:
MaltChainedException
peekNextKBestScore
public float peekNextKBestScore()
toString
public String toString()
- Overrides:
toString
in class KBestList
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.