Package opennlp.tools.util.model
Interface SerializableArtifact
-
- All Known Implementing Classes:
BrownCluster
,Dictionary
,POSDictionary
,POSModel
,WordClusterDictionary
public interface SerializableArtifact
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>
getArtifactSerializerClass()
Retrieves the class which can serialize and recreate this artifact.
-
-
-
Method Detail
-
getArtifactSerializerClass
java.lang.Class<?> getArtifactSerializerClass()
Retrieves the class which can serialize and recreate this artifact.
Note: The serializer class must have a public zero argument constructor or an exception is thrown during model serialization/loading.- Returns:
- the corresponding ArtifactSerializer class.
-
-