opennlp.tools.chunker
Class ChunkerModel
java.lang.Object
opennlp.tools.util.model.BaseModel
opennlp.tools.chunker.ChunkerModel
- All Implemented Interfaces:
- ArtifactProvider
public class ChunkerModel
- extends BaseModel
The ChunkerModel
is the model used
by a learnable Chunker
.
- See Also:
ChunkerME
Constructor Summary |
ChunkerModel(File modelFile)
|
ChunkerModel(InputStream in)
|
ChunkerModel(String languageCode,
opennlp.model.AbstractModel chunkerModel)
Deprecated. Use
instead. |
ChunkerModel(String languageCode,
opennlp.model.AbstractModel chunkerModel,
ChunkerFactory factory)
|
ChunkerModel(String languageCode,
opennlp.model.AbstractModel chunkerModel,
Map<String,String> manifestInfoEntries)
Deprecated. Use
ChunkerModel(String, AbstractModel, Map, ChunkerFactory)
instead. |
ChunkerModel(String languageCode,
opennlp.model.AbstractModel chunkerModel,
Map<String,String> manifestInfoEntries,
ChunkerFactory factory)
|
ChunkerModel(URL modelURL)
|
ChunkerModel
public ChunkerModel(String languageCode,
opennlp.model.AbstractModel chunkerModel,
Map<String,String> manifestInfoEntries)
- Deprecated. Use
ChunkerModel(String, AbstractModel, Map, ChunkerFactory)
instead.
ChunkerModel
public ChunkerModel(String languageCode,
opennlp.model.AbstractModel chunkerModel,
Map<String,String> manifestInfoEntries,
ChunkerFactory factory)
ChunkerModel
public ChunkerModel(String languageCode,
opennlp.model.AbstractModel chunkerModel)
- Deprecated. Use
instead.
ChunkerModel
public ChunkerModel(String languageCode,
opennlp.model.AbstractModel chunkerModel,
ChunkerFactory factory)
ChunkerModel
public ChunkerModel(InputStream in)
throws IOException,
InvalidFormatException
- Throws:
IOException
InvalidFormatException
ChunkerModel
public ChunkerModel(File modelFile)
throws IOException,
InvalidFormatException
- Throws:
IOException
InvalidFormatException
ChunkerModel
public ChunkerModel(URL modelURL)
throws IOException,
InvalidFormatException
- Throws:
IOException
InvalidFormatException
getChunkerModel
public opennlp.model.AbstractModel getChunkerModel()
getFactory
public ChunkerFactory getFactory()
main
public static void main(String[] args)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.