|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkylm.model.ngram.reader.NgramReader
kylm.model.ngram.reader.SerializedNgramReader
public class SerializedNgramReader
A class that can read an n-gram file in binary format
| Constructor Summary | |
|---|---|
SerializedNgramReader()
|
|
| Method Summary | |
|---|---|
NgramLM |
read(java.io.InputStream is)
Read a language model from an input stream |
| Methods inherited from class kylm.model.ngram.reader.NgramReader |
|---|
read |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializedNgramReader()
| Method Detail |
|---|
public NgramLM read(java.io.InputStream is)
throws java.io.IOException
NgramReader
read in class NgramReaderis - The input stream to read the model from
java.io.IOException - If the file could not be read from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||