Class DoccatModel
A model for document categorization
public class DoccatModel : BaseModel, IArtifactProvider
- Inheritance
-
DoccatModel
- Implements
- Inherited Members
Constructors
DoccatModel(FileInfo)
public DoccatModel(FileInfo modelFile)
Parameters
modelFileFileInfo
DoccatModel(Stream)
public DoccatModel(Stream @in)
Parameters
inStream
DoccatModel(string, IMaxentModel, IDictionary<string, string>?, DoccatFactory)
public DoccatModel(string languageCode, IMaxentModel doccatModel, IDictionary<string, string>? manifestInfoEntries, DoccatFactory factory)
Parameters
languageCodestringdoccatModelIMaxentModelmanifestInfoEntriesIDictionary<string, string>factoryDoccatFactory
Properties
DefaultFactory
Sub-classes should override this method if their module has a default BaseToolFactory sub-class.
protected override Type DefaultFactory { get; }
Property Value
- Type
the default BaseToolFactory for the module, or null if none.
Factory
public virtual DoccatFactory Factory { get; }
Property Value
MaxentModel
public virtual IMaxentModel MaxentModel { get; }
Property Value
Methods
ValidateArtifactMap()
Validates the parsed artifacts. If something is not valid subclasses should throw an InvalidFormatException.
Note: Subclasses should generally invoke super.validateArtifactMap at the beginning of this method.
protected override void ValidateArtifactMap()