Constructor KeywordExtraction
- Namespace
- LMKit.TextAnalysis
- Assembly
- LM-Kit.NET.dll
KeywordExtraction(LM)
Initializes a new instance of the KeywordExtraction class.
public KeywordExtraction(LM model)
Parameters
model
LMThe language model to be used for keyword extraction.
Examples
LM model = new(new Uri("https://path-to-your-model"));
KeywordExtraction extractor = new(model);
Console.WriteLine("KeywordExtraction engine initialized.");
Exceptions
- ArgumentNullException
Thrown if the model is null.