ABL4J (Alignment Based Learning for Java) - 0.9.7

org.schwiebert.abl4j.select
Class ProbabilityStore

java.lang.Object
  extended by 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)

Field Summary
private  Map<NonTerminal,Integer> nstore
           
private  Map<Phrase,Integer> pstore
           
 
Constructor Summary
ProbabilityStore()
           
 
Method Summary
 int getCount(NonTerminal nonterm)
           
 int getCount(Pair<ISentence,NonTerminal> phrase)
           
 int increase(Phrase phrase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pstore

private final Map<Phrase,Integer> pstore

nstore

private final Map<NonTerminal,Integer> nstore
Constructor Detail

ProbabilityStore

public ProbabilityStore()
Method Detail

increase

public int increase(Phrase phrase)

getCount

public int getCount(Pair<ISentence,NonTerminal> phrase)

getCount

public int getCount(NonTerminal nonterm)

ABL4J (Alignment Based Learning for Java) - 0.9.7

© 2007 Stephan Schwiebert