Class BinaryNaiveBayesModelReader
- Namespace
- NOpenNLP.Tools.Ml.Naivebayes
- Assembly
- NOpenNLP.Tools.dll
public class BinaryNaiveBayesModelReader : NaiveBayesModelReader
- Inheritance
-
BinaryNaiveBayesModelReader
- Inherited Members
Constructors
BinaryNaiveBayesModelReader(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 BinaryNaiveBayesModelReader(FileInfo f)
Parameters
fFileInfoThe File in which the model is stored.
BinaryNaiveBayesModelReader(Stream)
Constructor which directly instantiates the Stream containing the model contents.
public BinaryNaiveBayesModelReader(Stream dis)
Parameters
disStreamThe Stream containing the model information.