- Enabled
Indicates whether the User Dictionary is being used. - Name
The name of the custom dictionary. - Language
The language of the custom dictionary.
Creating and editing a custom dictionary
To add a custom dictionary, click the Add… button on the Languages tab of the Pre-recognition properties dialog. Then, in the Add New Dictionary dialog box that opens, specify the following properties:- Dictionary name
The name of the dictionary. - Definition method
The dictionary’s type:- Dictionary file
This type of dictionary is based on a DIC file. - Regular expression
This type of dictionary is based on a regular expression.
- Dictionary file
- Is language-neutral
If this option is enabled, the custom dictionary will be used alongside all built-in dictionaries for all enabled recognition languages. The Language parameter will be set to Neutral and this setting will become impossible to change. This option is only available for user dictionaries of the Regular expression type. - Language (locale)
The dictionary’s language can be selected from this drop-down list. A dictionary’s language cannot be changed after the dictionary has been created.
- If you select the Dictionary file type when creating the dictionary, click the
button and specify the path to a DIC file or create a new dictionary by clicking the Create new dictionary…. If you decide to create a new dictionary, specify its name in the Create New Dictionary File dialog box and click OK, then specify its settings in the editor.
Button | Description |
|---|---|
Add | Adds a value to a user dictionary. |
Delete | Deletes the value currently selected in the list. |
Import… | Imports values from a TXT or DIC file to the user dictionary. Note. Punctuation marks (.,;:/*{}[]<>? etc.) are used as separators between words in dictionaries. If you want to use these symbols in dictionary words, place the following string in the beginning of the text file: “DICTIONARY_PROPERTIES=USE_CONFIDENCE”. In this case only line break symbols will be treated as separators between words. In this case the number after the first space in the sting will indicate the weight of the word, and all other symbols will bee ignored. |
Export… | Exports values from the dictionary to a TXT file. |
Close | Closes the editor. |
- If you selected the Regular expression dictionary type, specify the expression. You can click the
button to open a menu that will help you create the expression. For details, see Alphabet used in regular expressions.
User Alphabets
You can create a user alphabet Alphabet group on the Dictionary tab of a dictionary’s properties dialog. A user dictionary is a set of characters, separators, prefixes and suffixes that may be used in a user dictionary. If a user alphabet is used together with a user dictionary, dictionary words that contain characters which are not in the user alphabet are considered to be non-dictionary words. In other words, a user alphabet can be used to limit the set of characters that are permitted for custom dictionaries. To specify permitted characters, enable the Use custom alphabet option and then specify the alphabet’s symbols in the text box or by using the editor. You can open the editor by clicking the Edit button. To specify permitted separators, prefixes, suffixes and ignored characters (collectively referred to as punctuation marks in this section for simplicity’s sake), click the Advanced parameters button. In the Advanced custom alphabet parameters dialog box, specify the punctuation marks.- Punctuation marks adjoining the beginning of word
Punctuation marks that may adjoin the beginning of a word, such as the underscore in “_unknown”. - Punctuation marks adjoining the end of word
Punctuation marks that may adjoin the beginning of a word, such as the ampersand in “user&”. - Standalone punctuation marks
Punctuation marks that may occur separately, such as the vertical bar in “January |”
