This chapter is about dictionaries and how to manage and use them within AsTeRICS Grid.
A dictionary is a collection of words and their relations that is saved within AsTeRICS Grid in order to fill prediction elements.
# Edit dictionaries
The basic functionality of the manage dictionaries view was already described in chapter navigation and basic functionality.
In the manage dictionaries view clicking on “Edit” in the list of dictionaries allows to see the details of a dictionary and editing it:
Figure 1: Edit a dictionary
Typing a word or a part of it in the search field filters the list of shown words. Clicking on the recycle bin symbol next to a word deletes it from the dictionary.
# Add words
Clicking on the “Import words” in Figure 1 button opens a modal:
Figure 2: Import words modal
These are the elements of the “import words” modal:
- Advanced options: click to toggle visibility of advanced import options (Fig. 2, advanced options are shown on the left, hidden on the right)
- Input field: field to input or paste words that should be imported to the dictionary
- Recognized words: live-updated list of recognized words based on the input options and words typed into the textfield
- Cancel: discard changes and close the modal
- Insert words: import the recognized words to the dictionary and close the modal
[\n; ]meaning that line breaks, semicolons and spaces can be used to divide words.
- Word index: if “in-element separator” is set this property specifies the position of the word
- Rank index: if “in-element separator” is set this property specifies the position of the rank
# Example: import a big word list
The format of the list looks like this:
1 43116.72 the 2 25428.07 of 3 22833.85 to ...
Each data record has the format
<rank> <frequency> <word> and is separated by a line separator
\n. In order to import this list to AsTeRICS Grid the whole list has to be copied, inserted into the text field of the import modal (Fig. 2, number 2) and the following advanced options have to be set:
- Element separator:
\n- since the data records are separated by line breaks
- In-element separator:
[ ](space) - since the data inside the lines is separated by spaces
- Word index:
2- since the word is the third element within a data record (zero-based index)
- Rank index:
0- since the rank is the first element within a data record (zero-based index)
← 06 Users