Editing semantic values

Print Previous page Top page Next page

Dialog window Editing semantic values for input, editing and selection of semantic values of the Classifier (Reference) type.

 

Editing semantic values

 

Each row of the table contains the Code for the value of the selected semantic characteristic and its description: Short Name, Key, and Full Name. Within each column, all cells — except for the Short Name column — must have unique values. An example of permissible value duplication: the full names "берёза" (birch) and "береза" (birch) may share the same Short Name (abbreviation) — e.g., "бер.".

 

Input and editing of semantic values is performed when the dialog is opened from the Classifier Editor → Semantics → List. Editing a table cell is performed by left-clicking on the cell.

For working with the table structure, the following buttons are located to the left of it:

Add

Delete

Import Table

Export Table

 

To add a new row to the end of the table, click the Add button. To delete a row, select the desired row in the table and click the Delete button.

Export and import are performed in CSV format. Import supports files in UTF-8 encoding and requires data in the format:

"value a1";"value a2";…;"value an"

"value b1";"value b2";…;"value bn"

...

"value m1";"value m2";…;"value mn"

 

The program processes files in ANSI and UTF-8 encoding. If a file is in UNICODE (UTF-16) encoding, it is necessary to open the file in a text editor (e.g., Notepad in MS Windows) and save the file in UTF-8 format (File → Save As → Encoding → UTF-8).

 

Buttons Add, Delete, Import Table, Export Table

 

To save the semantic classifier values, click the Save button. The modified semantic classifier will then be written to disk. Clicking the Exit button will close the table, discarding all changes.

 

When data is changed, automatic validation is performed: incorrect values are highlighted in pale red.

 

Value Validation Rules

Column        

Description

Code

A unique natural number from 1 to 32767

Short Name

A string from 0 to 31 characters long

Key

A string from 1 to 63 characters long (digits and/or Latin characters are recommended), must be a unique value

Full Name

A string from 1 to 127 characters long, must be a unique value

 

Example of Incorrect Values

 

At the bottom of the window, the Search field is located. The entered text is used to find matches in all columns. To the right of the search field is the Filtering checkbox. When filtering is enabled, rows matching the search query or containing empty values are displayed. Navigation to the previous and next row meeting the filter conditions is performed using the BackandForward buttons, respectively. To the right of the Filtering checkbox, a counter displays the number of rows matching the filter conditions.

 

Search field, Filtering checkbox, and row count counter