opennlp.tools.formats
Class NameSampleStreamFactory
java.lang.Object
opennlp.tools.formats.NameSampleStreamFactory
- All Implemented Interfaces:
- opennlp.tools.cmdline.ObjectStreamFactory<NameSample>
public class NameSampleStreamFactory
- extends Object
- implements opennlp.tools.cmdline.ObjectStreamFactory<NameSample>
NameSampleStreamFactory
public NameSampleStreamFactory()
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.