|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdanbikel.parser.PrintDisn
public class PrintDisn
Provides a single static method, printLogProbDisn
,
as well as a main(String[])
method, to print a log-probability
distribution for a particular event in a particular model of a model
collection.
Method Summary | |
---|---|
static void |
main(String[] args)
Prints an event's log-probability distribution to an output file. |
static void |
printLogProbDisn(PrintWriter writer,
ModelCollection mc,
Model model,
int level,
Event hist,
Set futures,
Transition tmpTrans)
Prints the log-probability distribution of the specified event at the specified back-off level of the specified model to the specified writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void printLogProbDisn(PrintWriter writer, ModelCollection mc, Model model, int level, Event hist, Set futures, Transition tmpTrans)
writer
- the writer to which to print a log-probability
distributionmc
- the model collection containing the specified modelmodel
- the model from which an event's log-probability
distribution is to be printedlevel
- the back-off level of the specified eventhist
- the event whose distribution is to be printedfutures
- the set of futures for the specified historytmpTrans
- a temporary storage object used during the invocation of
this methodpublic static void main(String[] args)
args
- a list of five arguments:
usage: <derived data filename> <back-off level> <structure class name> <event> <output filename>
|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |