opennlp.tools.formats
Class NameToSentenceSampleStreamFactory
java.lang.Object
opennlp.tools.formats.NameToSentenceSampleStreamFactory
- All Implemented Interfaces:
- opennlp.tools.cmdline.ObjectStreamFactory<SentenceSample>
public class NameToSentenceSampleStreamFactory
- extends Object
- implements opennlp.tools.cmdline.ObjectStreamFactory<SentenceSample>
Note: Do not use this class, internal use only!
NameToSentenceSampleStreamFactory
public NameToSentenceSampleStreamFactory()
getUsage
public String getUsage()
- Specified by:
getUsage
in interface opennlp.tools.cmdline.ObjectStreamFactory<SentenceSample>
validateArguments
public boolean validateArguments(String[] args)
- Specified by:
validateArguments
in interface opennlp.tools.cmdline.ObjectStreamFactory<SentenceSample>
create
public ObjectStream<SentenceSample> create(String[] args)
- Specified by:
create
in interface opennlp.tools.cmdline.ObjectStreamFactory<SentenceSample>
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.