|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.annolab.tt4j.DefaultModel
public class DefaultModel
| Constructor Summary | |
|---|---|
DefaultModel(java.lang.String aName,
java.io.File aFile,
java.lang.String aEncoding)
|
|
| Method Summary | |
|---|---|
void |
destroy()
Destroy transient resources for the model. |
java.lang.String |
getEncoding()
Get the model encoding. |
java.io.File |
getFile()
Get the location of the model. |
java.lang.String |
getFlushSequence()
The the token sequence used to flush the TreeTagger state for the given model. |
java.lang.String |
getName()
Get the name of the model. |
void |
install()
Install the model to the file system (if necessary). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultModel(java.lang.String aName,
java.io.File aFile,
java.lang.String aEncoding)
| Method Detail |
|---|
public void destroy()
Model
destroy in interface Modelpublic java.lang.String getEncoding()
Model
getEncoding in interface Modelpublic java.io.File getFile()
ModelModel.install() is called before,
the model may not actually be present at this location.
getFile in interface Modelpublic java.lang.String getFlushSequence()
Model
getFlushSequence in interface Modelpublic java.lang.String getName()
Model
getName in interface Model
public void install()
throws java.io.IOException
Model
install in interface Modeljava.io.IOException - if the model cannot be installed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||