|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopennlp.tools.util.model.BaseModel
opennlp.tools.postag.POSModel
public final class POSModel
The POSModel is the model used
by a learnable POSTagger.
POSTaggerME| Field Summary |
|---|
| Fields inherited from class opennlp.tools.util.model.BaseModel |
|---|
TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY |
| Constructor Summary | |
|---|---|
POSModel(InputStream in)
|
|
POSModel(String languageCode,
opennlp.model.AbstractModel posModel,
POSDictionary tagDictionary,
Dictionary ngramDict)
|
|
POSModel(String languageCode,
opennlp.model.AbstractModel posModel,
POSDictionary tagDictionary,
Dictionary ngramDict,
Map<String,String> manifestInfoEntries)
|
|
| Method Summary | |
|---|---|
Dictionary |
getNgramDictionary()
Retrieves the ngram dictionary. |
opennlp.model.AbstractModel |
getPosModel()
|
POSDictionary |
getTagDictionary()
Retrieves the tag dictionary. |
| Methods inherited from class opennlp.tools.util.model.BaseModel |
|---|
getLanguage, getManifestProperty, getVersion, serialize |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public POSModel(String languageCode,
opennlp.model.AbstractModel posModel,
POSDictionary tagDictionary,
Dictionary ngramDict,
Map<String,String> manifestInfoEntries)
public POSModel(String languageCode,
opennlp.model.AbstractModel posModel,
POSDictionary tagDictionary,
Dictionary ngramDict)
public POSModel(InputStream in)
throws IOException,
InvalidFormatException
IOException
InvalidFormatException| Method Detail |
|---|
public opennlp.model.AbstractModel getPosModel()
public POSDictionary getTagDictionary()
public Dictionary getNgramDictionary()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||