Property KeywordCount
- Namespace
- LMKit.TextAnalysis
- Assembly
- LM-Kit.NET.dll
KeywordCount
Gets or sets the number of keywords to extract. While this value sets a desired target, there is no guarantee that the model will produce the exact number of keywords requested. The actual number of extracted keywords depends on the model's capacities and the input data. However, the specified maximum number will never be exceeded. The value is clamped between 1 and 50.
public int KeywordCount { get; set; }
Property Value
- int
The default value is 5.
Examples
extractor.KeywordCount = 10; // Request 10 keywords
Console.WriteLine("Keyword Count: " + extractor.KeywordCount);