using System; using System.Collections; using System.Text.RegularExpressions; namespace SpellChecker.Dictionary.Affix { /// <summary> /// Rule for expanding base words /// </summary> public class AffixRule { private bool _AllowCombine = false; private AffixEntryCollection _AffixEntries = new AffixEntryCollection(); private string _Name = ""; /// <summary> /// Initializes a new instance of the class /// </summary> public AffixRule() { } /// <summary> /// Allow combining prefix and suffix /// </summary> public bool AllowCombine { get {return _AllowCombine;} set {_AllowCombine = value;} } /// <summary> /// Collection of text entries that make up this rule /// </summary> public AffixEntryCollection AffixEntries { get {return _AffixEntries;} set {_AffixEntries = value;} } /// <summary> /// Name of the Affix rule /// </summary> public string Name { get {return _Name;} set {_Name = value;} } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)