public abstract class TokenPreProcess<T extends org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess> extends java.lang.Object implements weka.core.OptionHandler, ApiWrapper<T>, java.io.Serializable
TokenPreProcess
classes.| Constructor and Description |
|---|
TokenPreProcess() |
| Modifier and Type | Method and Description |
|---|---|
static TokenPreProcess<? extends org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess> |
create(org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess newBackend)
Create an API wrapped schedule from a given ISchedule object.
|
T |
getBackend()
Access the DL4J backend.
|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setBackend(T newBackend)
Set the DL4J backend.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeBackendpublic static TokenPreProcess<? extends org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess> create(org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess newBackend)
newBackend - Backend objectpublic T getBackend()
ApiWrappergetBackend in interface ApiWrapper<T extends org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess>public void setBackend(T newBackend)
ApiWrappersetBackend in interface ApiWrapper<T extends org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess>newBackend - Backend that should be wrapped by this classpublic java.util.Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerpublic java.lang.String[] getOptions()
getOptions in interface weka.core.OptionHandlerpublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface weka.core.OptionHandleroptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supported