Package | Description |
---|---|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableTagDictionary
Interface that allows
TagDictionary entries to be added and removed. |
Modifier and Type | Class and Description |
---|---|
class |
POSDictionary
Provides a means of determining which tags are valid for a particular word
based on a tag dictionary read from a file.
|
Modifier and Type | Field and Description |
---|---|
protected TagDictionary |
POSTaggerFactory.posDictionary |
protected TagDictionary |
POSTaggerME.tagDictionary
Tag dictionary used for restricting words to a fixed set of tags.
|
Modifier and Type | Method and Description |
---|---|
TagDictionary |
POSTaggerFactory.createEmptyTagDictionary() |
TagDictionary |
POSTaggerFactory.createTagDictionary(File dictionary) |
TagDictionary |
POSTaggerFactory.createTagDictionary(InputStream in) |
TagDictionary |
POSTaggerFactory.getTagDictionary() |
Modifier and Type | Method and Description |
---|---|
static POSTaggerFactory |
POSTaggerFactory.create(String subclassName,
byte[] featureGeneratorBytes,
Map<String,Object> resources,
TagDictionary posDictionary) |
static POSTaggerFactory |
POSTaggerFactory.create(String subclassName,
Dictionary ngramDictionary,
TagDictionary posDictionary)
Deprecated.
|
protected void |
POSTaggerFactory.init(byte[] featureGeneratorBytes,
Map<String,Object> resources,
TagDictionary posDictionary) |
protected void |
POSTaggerFactory.init(Dictionary ngramDictionary,
TagDictionary posDictionary)
Deprecated.
|
void |
POSTaggerFactory.setTagDictionary(TagDictionary dictionary) |
Constructor and Description |
---|
DefaultPOSSequenceValidator(TagDictionary tagDictionary) |
POSTaggerFactory(byte[] featureGeneratorBytes,
Map<String,Object> resources,
TagDictionary posDictionary) |
POSTaggerFactory(Dictionary ngramDictionary,
TagDictionary posDictionary)
Deprecated.
this constructor is here for backward compatibility and
is not functional anymore in the training of 1.8.x series models
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.