opennlp.tools.formats
Class NameSampleStreamFactory

java.lang.Object
  extended by opennlp.tools.formats.NameSampleStreamFactory
All Implemented Interfaces:
opennlp.tools.cmdline.ObjectStreamFactory<NameSample>

public class NameSampleStreamFactory
extends Object
implements opennlp.tools.cmdline.ObjectStreamFactory<NameSample>


Constructor Summary
NameSampleStreamFactory()
           
 
Method Summary
 ObjectStream<NameSample> create(String[] args)
           
 String getUsage()
           
 boolean validateArguments(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameSampleStreamFactory

public NameSampleStreamFactory()
Method Detail

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.