| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_FLUSH_SEQUENCE |
| Constructor and Description |
|---|
DefaultModel(java.lang.String aName,
java.io.File aFile,
java.lang.String aEncoding) |
DefaultModel(java.lang.String aName,
java.io.File aFile,
java.lang.String aEncoding,
java.lang.String aFlushSequence) |
| Modifier and Type | Method and Description |
|---|---|
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).
|
public static final java.lang.String DEFAULT_FLUSH_SEQUENCE
public DefaultModel(java.lang.String aName,
java.io.File aFile,
java.lang.String aEncoding)
public DefaultModel(java.lang.String aName,
java.io.File aFile,
java.lang.String aEncoding,
java.lang.String aFlushSequence)
public void destroy()
Modelpublic java.lang.String getEncoding()
ModelgetEncoding in interface Modelpublic java.io.File getFile()
ModelModel.install() is called before,
the model may not actually be present at this location.public java.lang.String getFlushSequence()
ModelgetFlushSequence in interface Modelpublic java.lang.String getName()
ModelCopyright © 2014. All Rights Reserved.