Package opennlp.tools.util.model
Schnittstelle SerializableArtifact
- Alle bekannten Implementierungsklassen:
AncoraSpanishHeadRules
,BrownCluster
,Dictionary
,HeadRules
,POSDictionary
,POSModel
,WordClusterDictionary
public interface SerializableArtifact
A marker interface so that implementing classes can refer to
the corresponding
ArtifactSerializer
implementation.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungClass
<?> Retrieves the class which can serialize and recreate this artifact.
-
Methodendetails
-
getArtifactSerializerClass
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.- Gibt zurück:
- The corresponding
ArtifactSerializer
class.
-