Class BinaryPerceptronModelReader
- Namespace
- NOpenNLP.Tools.Ml.Perceptron
- Assembly
- NOpenNLP.Tools.dll
public class BinaryPerceptronModelReader : PerceptronModelReader
- Inheritance
-
BinaryPerceptronModelReader
- Inherited Members
Constructors
BinaryPerceptronModelReader(FileInfo)
Constructor which takes a File and creates a reader for it. Detects whether the file is gzipped or not based on whether the suffix contains ".gz"
public BinaryPerceptronModelReader(FileInfo f)
Parameters
fFileInfoThe File in which the model is stored.
BinaryPerceptronModelReader(Stream)
Constructor which directly instantiates the Stream containing the model contents.
public BinaryPerceptronModelReader(Stream dis)
Parameters
disStreamThe Stream containing the model information.