public class NameToTokenSampleStreamFactory extends DetokenizerSampleStreamFactory<TokenSample>
params
Modifier | Constructor and Description |
---|---|
protected |
NameToTokenSampleStreamFactory(Class<P> params) |
Modifier and Type | Method and Description |
---|---|
ObjectStream<TokenSample> |
create(String[] args)
Creates the
ObjectStream . |
static void |
registerFactory() |
createDetokenizer
getLang, getParameters
protected NameToTokenSampleStreamFactory(Class<P> params)
public static void registerFactory()
public ObjectStream<TokenSample> create(String[] args)
ObjectStreamFactory
ObjectStream
.args
- argumentsCopyright © 2017 The Apache Software Foundation. All rights reserved.