opennlp.tools.formats.ad
Class ADNameSampleStreamFactory
java.lang.Object
opennlp.tools.formats.ad.ADNameSampleStreamFactory
- All Implemented Interfaces:
- opennlp.tools.cmdline.ObjectStreamFactory<NameSample>
public class ADNameSampleStreamFactory
- extends Object
- implements opennlp.tools.cmdline.ObjectStreamFactory<NameSample>
A Factory to create a Arvores Deitadas NameSampleStream from the command line
utility.
Note: Do not use this class, internal use only!
ADNameSampleStreamFactory
public ADNameSampleStreamFactory()
getUsage
public String getUsage()
- Specified by:
getUsage
in interface opennlp.tools.cmdline.ObjectStreamFactory<NameSample>
validateArguments
public boolean validateArguments(String[] args)
- Specified by:
validateArguments
in interface opennlp.tools.cmdline.ObjectStreamFactory<NameSample>
create
public ObjectStream<NameSample> create(String[] args)
- Specified by:
create
in interface opennlp.tools.cmdline.ObjectStreamFactory<NameSample>
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.