|
|||||||||
| 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.sentdetect.SentenceModel
public class SentenceModel
The SentenceModel is the model used
by a learnable SentenceDetector.
SentenceDetectorME| Field Summary |
|---|
| Fields inherited from class opennlp.tools.util.model.BaseModel |
|---|
TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY |
| Constructor Summary | |
|---|---|
SentenceModel(InputStream in)
|
|
SentenceModel(String languageCode,
opennlp.model.AbstractModel sentModel,
boolean useTokenEnd,
Dictionary abbreviations)
|
|
SentenceModel(String languageCode,
opennlp.model.AbstractModel sentModel,
boolean useTokenEnd,
Dictionary abbreviations,
Map<String,String> manifestInfoEntries)
|
|
| Method Summary | |
|---|---|
Dictionary |
getAbbreviations()
|
opennlp.model.AbstractModel |
getMaxentModel()
|
static void |
main(String[] args)
|
boolean |
useTokenEnd()
|
| 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 SentenceModel(String languageCode,
opennlp.model.AbstractModel sentModel,
boolean useTokenEnd,
Dictionary abbreviations,
Map<String,String> manifestInfoEntries)
public SentenceModel(String languageCode,
opennlp.model.AbstractModel sentModel,
boolean useTokenEnd,
Dictionary abbreviations)
public SentenceModel(InputStream in)
throws IOException,
InvalidFormatException
IOException
InvalidFormatException| Method Detail |
|---|
public opennlp.model.AbstractModel getMaxentModel()
public Dictionary getAbbreviations()
public boolean useTokenEnd()
public static void main(String[] args)
throws FileNotFoundException,
IOException,
InvalidFormatException
FileNotFoundException
IOException
InvalidFormatException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||