|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkylm.model.ngram.writer.NgramWriter
kylm.model.ngram.writer.WFSTNgramWriter
public class WFSTNgramWriter
A class to write language models to text files that can be imported as Weighted Finite State Transducers
| Constructor Summary | |
|---|---|
WFSTNgramWriter()
|
|
| Method Summary | |
|---|---|
void |
write(NgramLM lm,
java.io.OutputStream os)
Write the language model to a generic output stream |
| Methods inherited from class kylm.model.ngram.writer.NgramWriter |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WFSTNgramWriter()
| Method Detail |
|---|
public void write(NgramLM lm,
java.io.OutputStream os)
throws java.io.IOException
NgramWriter
write in class NgramWriterlm - The language model to writeos - The output stream to write to
java.io.IOException - If there was an error during output
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||