54 lines
831 B
C#
54 lines
831 B
C#
|
|
using System;
|
||
|
|
|
||
|
|
namespace DCIT.Core.Models
|
||
|
|
{
|
||
|
|
public enum RuleMatchMode
|
||
|
|
{
|
||
|
|
PlainText = 0,
|
||
|
|
RegularExpression = 1
|
||
|
|
}
|
||
|
|
|
||
|
|
public enum ProcessingStatus
|
||
|
|
{
|
||
|
|
Pending = 0,
|
||
|
|
InProgress = 1,
|
||
|
|
Success = 2,
|
||
|
|
Failed = 3,
|
||
|
|
Stopped = 4
|
||
|
|
}
|
||
|
|
|
||
|
|
public enum LogLevel
|
||
|
|
{
|
||
|
|
Info = 0,
|
||
|
|
Warning = 1,
|
||
|
|
Error = 2
|
||
|
|
}
|
||
|
|
|
||
|
|
public enum AutoExtractCategory
|
||
|
|
{
|
||
|
|
Keyword = 0,
|
||
|
|
HighFrequencyWord = 1,
|
||
|
|
HighFrequencySentence = 2
|
||
|
|
}
|
||
|
|
|
||
|
|
public enum KeywordAlgorithm
|
||
|
|
{
|
||
|
|
Frequency = 0,
|
||
|
|
TfIdf = 1,
|
||
|
|
TextRank = 2
|
||
|
|
}
|
||
|
|
|
||
|
|
public enum RuleValidationSeverity
|
||
|
|
{
|
||
|
|
Info = 0,
|
||
|
|
Warning = 1,
|
||
|
|
Error = 2
|
||
|
|
}
|
||
|
|
|
||
|
|
public enum RuleTarget
|
||
|
|
{
|
||
|
|
DocumentContent = 0,
|
||
|
|
FileName = 1
|
||
|
|
}
|
||
|
|
}
|