Package opennlp.tools.util.model
Interface SerializableArtifact
-
- All Known Implementing Classes:
AncoraSpanishHeadRules,BrownCluster,Dictionary,HeadRules,POSDictionary,POSModel,WordClusterDictionary
public interface SerializableArtifactA marker interface so that implementing classes can refer to the correspondingArtifactSerializerimplementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getArtifactSerializerClass()Retrieves the class which can serialize and recreate this artifact.
-
-
-
Method Detail
-
getArtifactSerializerClass
Class<?> getArtifactSerializerClass()
Retrieves the class which can serialize and recreate this artifact.Note: The serializer class must have a
public zero argument constructoror an exception is thrown during model serialization/loading.- Returns:
- The corresponding
ArtifactSerializerclass.
-
-