Skip to main content

SpellCheckerISpellDictionary.GrammarPath Property

Gets or sets the filename of the affix file for the ISpell dictionary to be loaded.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v14.2.Core.dll

#Declaration

public virtual string GrammarPath { get; set; }

#Property Value

Type Description
String

A String representing a path to the affix file.

#Remarks

The Ispell dictionary format requires two files to define the spell-checking language. The first file is a dictionary containing basic words (not including prefixes and postfixes), and the second is an "affix" file. The affix definition file describes the affixes associated with special flags in the dictionary. It also describes the character set used by the language.

The Ispell dictionaries can be downloaded from this page:

http://fmg-www.cs.ucla.edu/geoff/ispell-dictionaries.html

To create an Ispell dictionary, you should specify the SpellCheckerDictionaryBase.DictionaryPath, the GrammarPath, the file containing the language alphabet SpellCheckerDictionaryBase.AlphabetPath and the SpellCheckerDictionaryBase.Culture.

See Also
DevExpress.XtraSpellChecker.SpellCheckerDictionaryBase.DictionaryPath
DevExpress.XtraSpellChecker.SpellCheckerDictionaryBase.Culture