| Constructor and Description |
|---|
DefaultModel(String aName,
File aFile,
String aEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy transient resources for the model.
|
String |
getEncoding()
Get the model encoding.
|
File |
getFile()
Get the location of the model.
|
String |
getFlushSequence()
The the token sequence used to flush the TreeTagger state for the
given model.
|
String |
getName()
Get the name of the model.
|
void |
install()
Install the model to the file system (if necessary).
|
public void destroy()
Modelpublic String getEncoding()
ModelgetEncoding in interface Modelpublic File getFile()
ModelModel.install() is called before,
the model may not actually be present at this location.public String getFlushSequence()
ModelgetFlushSequence in interface Modelpublic void install()
throws IOException
Modelinstall in interface ModelIOException - if the model cannot be installed.Copyright © 2014. All Rights Reserved.