org.schwiebert.abl4j.select
Class ProbabilityStore
java.lang.Object
org.schwiebert.abl4j.select.ProbabilityStore
public class ProbabilityStore
- extends Object
- Author:
- Menno van Zaanen (menno@ics.mq.edu.au) (original C++ Version), Jeroen Geertzen (j.geertzen@uvt.nl) (modifications in C++ Version), Stephan Schwiebert (sschwieb@spinfo.uni-koeln.de)
(Java-Implementation)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pstore
private final Map<Phrase,Integer> pstore
nstore
private final Map<NonTerminal,Integer> nstore
ProbabilityStore
public ProbabilityStore()
increase
public int increase(Phrase phrase)
getCount
public int getCount(Pair<ISentence,NonTerminal> phrase)
getCount
public int getCount(NonTerminal nonterm)
© 2007 Stephan Schwiebert