Class POSModelSerializer

Namespace
NOpenNLP.Tools.Util.Model
Assembly
NOpenNLP.Tools.dll
public class POSModelSerializer : IArtifactSerializer<POSModel>, IArtifactSerializer
Inheritance
POSModelSerializer
Implements
Inherited Members

Methods

Create(Stream)

Creates the artifact from the provided Stream.

The Stream remains open.

public virtual POSModel Create(Stream @in)

Parameters

in Stream

Returns

POSModel

the artifact

Serialize(POSModel, Stream)

Serializes the artifact to the provided Stream.

The Stream remains open.

public virtual void Serialize(POSModel artifact, Stream @out)

Parameters

artifact POSModel
out Stream