Constructor SarcasmDetection
- Namespace
- LMKit.TextAnalysis
- Assembly
- LM-Kit.NET.dll
SarcasmDetection(LLM)
Initializes a new instance of the SarcasmDetection class.
public SarcasmDetection(LLM model)
Parameters
Examples
// Initialize the language model
LLM languageModel = new LLM("path/to/your/model");
// Create an instance of SarcasmDetection
SarcasmDetection sarcasmDetector = new SarcasmDetection(languageModel);
Exceptions
- ArgumentNullException
Thrown when the provided
model
argument isnull
.