Namespace NOpenNLP.Tools.Util.Model
Classes
- BaseModel
This model is a common based which can be used by the components model classes.
TODO: Provide sub classes access to serializers already in constructor
- ModelUtil
Utility class for handling of IMaxentModels.
- UncloseableInputStream
A Stream which cannot be closed.
NOpenNLP: upstream extends java.io.FilterInputStream, which has no direct .NET equivalent, so this delegates to the wrapped Stream.
- UncloseableOutputStream
A Stream which cannot be closed.
NOpenNLP: upstream writes this inline in WriteModel(IMaxentModel, Stream) as an anonymous java.io.OutputStream that forwards write(int) and inherits the no-op close(). Naming it here mirrors UncloseableInputStream and keeps WriteModel readable.
Interfaces
- IArtifactProvider
Provides access to model persisted artifacts.
- IArtifactSerializer<T>
Responsible to create an artifact from an Stream.