SynonymGroup Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WPF. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WPF. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
The SynonymGroup class refers to a collection of synonyms with common meaning to the word or phrase that was determined by the TXSpell.CreateSynonyms method.
Syntax
public class SynonymGroupPublic Class SynonymGroupExamples
The following example includes the part of speech value from a Synonym Group object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Part Of Speech: {synonymGroup.PartOfSpeech}");
Console.WriteLine("Synonym Group is ready for use.");Console.WriteLine($"Part Of Speech: {synonymGroup.PartOfSpeech}")
Console.WriteLine("Synonym Group is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Language | Gets the SynonymGroup's language. The property value equals to the language of the SynonymList that has been used to provide the SynonymGroup's synonyms. |
| PartOfSpeech | Gets the part of speech or other meaning specific description for this SynonymGroup. If no such value is defined by the corresponding SynonymList, the property returns null. |
| Synonyms | Gets an array of synonyms with common meaning where the first entry also describes the meaning itself. |