Table of Contents

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

model LLM

A LLM object that specifies the language model to be used; cannot be null.

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 is null.