opennlp.tools.formats
Class NameToSentenceSampleStreamFactory

java.lang.Object
  extended by opennlp.tools.formats.NameToSentenceSampleStreamFactory
All Implemented Interfaces:
ObjectStreamFactory<SentenceSample>

public class NameToSentenceSampleStreamFactory
extends Object
implements ObjectStreamFactory<SentenceSample>

Note: Do not use this class, internal use only!


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

Constructor Detail

NameToSentenceSampleStreamFactory

public NameToSentenceSampleStreamFactory()
Method Detail

getUsage

public String getUsage()
Specified by:
getUsage in interface ObjectStreamFactory<SentenceSample>

validateArguments

public boolean validateArguments(String[] args)
Specified by:
validateArguments in interface ObjectStreamFactory<SentenceSample>

create

public ObjectStream<SentenceSample> create(String[] args)
Description copied from interface: ObjectStreamFactory
Creates the ObjectStream

Specified by:
create in interface ObjectStreamFactory<SentenceSample>
Returns:


Copyright © 2010. All Rights Reserved.