Interface ArtifactProvider

    • Method Detail

      • getArtifact

        <T> T getArtifact​(String key)
        Gets an artifact by name
      • getManifestProperty

        String getManifestProperty​(String key)
        Retrieves the value to the given key from the entry.
        key -
        the value
      • getLanguage

        String getLanguage()
        Retrieves the language code of the material which was used to train the model or x-unspecified if non was set.
        the language code of this model
      • isLoadedFromSerialized

        boolean isLoadedFromSerialized()
        Indicates if this provider was loaded from serialized. It is useful, for example, while validating artifacts: you can skip the time consuming ones if they where already validated during the serialization.
        true if this model was loaded from serialized