Namespace LMKit.TextAnalysis
Namespaces
Classes
- Categorization
- Provides functionality to classify content into predefined categories using a language model. This engine supports categorization tasks for both plain text and image attachments. 
- EmotionDetection
- Represents a specialized class for analyzing emotional tones in text. 
 It can identify a range of emotions, such as happiness, sadness, anger and fear, among others.
 This class is designed to be used in applications where understanding emotional context is crucial, such as in customer feedback analysis, social media monitoring, or mental health assessment tools.
- KeywordExtraction
- A class designed to handle keyword extraction tasks. This class provides functionality to extract a specified number of the most important keywords or phrases from a given piece of content, while respecting constraints such as maximum n-gram size. 
- KeywordExtraction.KeywordItem
- Represents a single extracted keyword item. This is a read-only value container holding a single keyword string. 
- NamedEntityRecognition
- A class for performing Named Entity Recognition (NER) on input content a Language Model (LM). This class identifies and extracts all occurrences of specified entity types (built‐in or custom) from the provided content, returning each entity verbatim along with its type and optional positional information. 
- NamedEntityRecognition.EntityDefinition
- Describes one entity type that the extractor should recognize. Supports both built‐in types (via NamedEntityRecognition.NamedEntityType) and fully custom labels. 
- NamedEntityRecognition.ExtractedEntity
- Represents a single named entity extracted from content, including its definition, canonical value, confidence, and all occurrences (text regions) in the original content. 
- PiiExtraction
- A class for performing PII extraction on input content using a Language Model (LM). This class identifies and extracts all occurrences of specified PII entity types (built‐in or custom) from the provided content, returning each entity verbatim along with its type and optional positional information. 
- PiiExtraction.PiiEntityDefinition
- Describes one PII entity type that the extractor should recognize. Supports both built-in PII categories and fully custom labels. 
- PiiExtraction.PiiExtractedEntity
- Represents a single PII entity extracted from content, including its definition, a canonical text value, confidence, and all occurrences (text regions) in the original content. 
- SarcasmDetection
- Provides functionality for detecting sarcasm in text. This class is designed for applications where understanding sarcasm context is crucial, such as customer feedback analysis, social media monitoring, or mental health assessment tools. 
- SentimentAnalysis
- Provides functionality for performing sentiment analysis on plain text, designed to assess and categorize emotional tone. 
Enums
- EmotionDetection.EmotionCategory
- Enumerates a set of emotion categories for analytical and classification tasks. 
- EmotionDetection.TrainingDataset
- Enumeration representing the built-in training datasets available for fine-tuning language models (LMs) for sentiment analysis using LMKit. 
- NamedEntityRecognition.NamedEntityType
- Standard set of entity types for Named‐Entity Extraction/Recognition. 
- PiiExtraction.PiiEntityType
- Standard set of entity types for PII Extraction/Recognition. 
- SarcasmDetection.TrainingDataset
- Enumeration representing built-in training datasets available for fine-tuning language models (LMs) for sarcasm detection using LMKit. 
- SentimentAnalysis.SentimentCategory
- Enumerates various sentiment categories for classification purposes. 
- SentimentAnalysis.TrainingDataset
- Enumeration representing the built-in training datasets available for fine-tuning language models (LMs) for sentiment analysis using LMKit. 
- TextShrinkingStrategy
- Defines the strategies available for shrinking text content.