Package opennlp.morfologik.tagdict
Klasse MorfologikPOSTaggerFactory
java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.postag.POSTaggerFactory
opennlp.morfologik.tagdict.MorfologikPOSTaggerFactory
The factory provides a Morfologik specific
POSTaggerFactory implementation
and initializes related resources.-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen opennlp.tools.postag.POSTaggerFactory
POSTaggerFactory.POSDictionarySerializer -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateTagDictionary(File dictionary) Initializes aTagDictionaryfrom adictionary file.voidsetTagDictionary(TagDictionary dictionary) Von Klasse geerbte Methoden opennlp.tools.postag.POSTaggerFactory
create, createFeatureGenerators, getPOSContextGenerator, getPOSContextGenerator, getSequenceValidator, validateArtifactMapVon Klasse geerbte Methoden opennlp.tools.util.BaseToolFactory
create, create, createManifestEntries
-
Konstruktordetails
-
MorfologikPOSTaggerFactory
public MorfologikPOSTaggerFactory()
-
-
Methodendetails
-
createTagDictionary
Initializes aTagDictionaryfrom adictionary file.- Setzt außer Kraft:
createTagDictionaryin KlassePOSTaggerFactory- Parameter:
dictionary- TheFileused as input for creating the dictionary.- Gibt zurück:
- A valid
TagDictionaryready for use. - Löst aus:
FileNotFoundException- Thrown ifdictionaryor related metadata could not be read in.IOException- Thrown if IO errors occurred.
-
getTagDictionary
- Setzt außer Kraft:
getTagDictionaryin KlassePOSTaggerFactory- Gibt zurück:
- The
TagDictionaryused. - Löst aus:
RuntimeException- Thrown if errors occurred loading or reading Morfologik dictionary files.
-
setTagDictionary
- Setzt außer Kraft:
setTagDictionaryin KlassePOSTaggerFactory
-
createEmptyTagDictionary
- Setzt außer Kraft:
createEmptyTagDictionaryin KlassePOSTaggerFactory
-
createTagDictionary
- Setzt außer Kraft:
createTagDictionaryin KlassePOSTaggerFactory- Löst aus:
IOException
-
createArtifactSerializersMap
- Setzt außer Kraft:
createArtifactSerializersMapin KlassePOSTaggerFactory
-
createArtifactMap
- Setzt außer Kraft:
createArtifactMapin KlassePOSTaggerFactory
-