ASP.NET HTML Editor - Dictionary's affix rules

An affix is either a prefix or a suffix attached to root words to make other words. For example supply -> supplied by dropping the "y" and adding an "ied" (the suffix).

Here is an example of how to define one specific suffix (the past tense).
D Y 4
D 0 d e
D y ied [^aeiou]y
D 0 ed [^ey]
D 0 ed [aeiou]y

So this information can be interpreted as follows:

The first line has 3 fields:
  1. D - is the name of the character which represents this suffix (affix key)
  2. Y - indicates it can be combined with prefixes (cross product)
  3. 4 - indicates that sequence of 4 affix entries are needed to properly store the affix information
The remaining lines describe the unique information for the 4 affix entries that make up this affix.
Look at the third line:
  1. D - is the name of the character which represents this affix (affix key)
  2. y - the string of chars to strip off before adding affix (a 0 here indicates the NULL string)
  3. ied - the string of affix characters to add (a 0 here indicates the NULL string)
  4. [^aeiou]y - the conditions which must be met before the affix can be applied (similar to regular expression)
Field 4 is interesting. Since this is a suffix, field 4 tells us that there are 2 conditions that must be met. The first condition is that the next to the last character in the word must *NOT* be any of the following "a", "e", "i", "o" or "u". The second condition is that the last character of the word must end in "y".

Let's create one more suffix (the continuous tense).
G Y 2
G e ing e
G 0 ing [^e]

Affix keyss can be specified in the word list ([Words] section) by specifying them after the '/' character:

word/affix keys

For example:


will associate the 'D' and 'G' flags with the word 'create'.

Words 'created' and 'creating' are "added" to dictionary with our rules! Home
HTML Editor Home
HTML Editor Home
Why the best?
Site Map
Examples - 80
Appearance - 10
Full button set
Lite button set
Custom button set
Design-mode textbox
How to fit into small space
Page maker
Default font
Initially without toolbar
Preview mode
"Read only" mode New
Content - 16
Read-only and custom tags
Shadow for Image
External image gallery
Upload images
Copy/paste formatting
Preview Document appearance
Keys used for editing
.NET validation
Documents Generator
Upload documents
Convert to PDF
Editor and database
Spell Checker - 3
Spell checking
Spell Checker dictionaries
Several dictionaries
Localization - 2
RTL support
Integration - 9
Inside Flyout
Inside Grid
Inside Window
With Color PickerNew
Google AJAX Language API New
Inside AJAX Page
Inside CallbackPanel
ASP.NET AJAX ControlToolkit - 5
Collapsible panel
Editor in each TabPanel New
Modal popup
Server-Side API - 13
Content counters
Plain text length control
Show plain text
Enable editor on focus
Set caret position on load
Add CSS files New
Hide HTML Editor until needed
CSS file for quick format
Set HTML view on load
Enable browse button for images
Enable browse button for URLs
Disable Wait message New
Server-Side Events - 5
ClickSubmit event
ClickCancel event
ContentChanged event
Client-Side API - 10
Working with selected text
Set design/HTML view on load
Show/hide HTML Editor
Get/set content
Surround HTML
Insert HTML
Style selected content
Exec command
Query command
'Not Set' in dropdowns New
Customize - 17
Custom editor toolbar in VS
Custom fonts
Custom font sizes
How to add icons
Custom Popup Windows
Custom Buttons
Custom Context Menu
Popup Properties Disabling
Default Table Properties
Custom toggle button
Custom select button
Textarea popup
Custom 'Quote' button New
Show/hide submit button
Show/hide Design/HTML view
Show/hide quick format panel
Width & Height
Knowledge Base - 1
Knowledge Base
Documentation - 23
Server side
HTML Editor properties & events
HTML Editor inner properties
Custom toolbar
Custom fonts
Custom font sizes
Custom Context Menu
Dictionaries for spell checker
Hot keys definition
Disabling Context Menu items
Additional CSS files New
Client side
Main functions and interfaces
Custom Context Menu support
Custom Popup Window support
Top toolbar buttons' methods
State functions
Suppress Context Menu
Spelling dictionary
Dictionary structure
Affix rules
Phonetic rules
Generate phonetic code
How to add new word
Supported browsers
Tutorials - 6
Using the correct path
Autosave implementation
Full custom buttons set
Editor_data for several sites
Use with database
Template XML file use New