Self Help Online Studio - Description of an Excel Dictionary File

Last modified on 2022/08/08 16:20

Dictionaries are used by a virtual agent to analyze user questions and to select the most relevant content related to the request. They are also used to correct spelling errors.

You implement a dictionary in the Online Studio using an Excel file containing a list of terms or entities, as well as their existing links.

Characteristics of the Excel file

  • File in CSV format 
  • The file is associated with a given language. 
  • Each row of the file corresponds to one term or one set of synonyms.

          Dictionary Excel file.png

Description of the Excel file

Column Description
A Type of term:
  • nn: noun
  • vb: verb
  • ot: onomatopoeia
  • ad: adjective
  • pr: preposition

Note: The type remains identical regardless of the dictionary language.

B Contains one of the following:
  • The term to be added to the dictionary.
  • The character > indicating a parent - child relationship with the term in the previous row.
C and other columns List of synonyms of the term in column B.

Example

Excel file

         Dictionary example - Excel file.png

  • Row 13:
    • Column A: nn ==> All terms in the row are nouns
    • Column B: documentation ==> Term to be added to the dictionary
    • Columns C and D: Synonyms of documentation ==> document, doc
  • Row 14:
    • Column A: nn ==> All terms in the row are nouns
    • Column B: > ==> Indicates a parent - child relationship with previous row 13. All terms in row 14 are child terms of the term documentation
    • Column C: User manual
    • Columns D to H: Synonyms of the term User manual ==> instructions, guidebook, manual, guide, notice
       

Default en_US dictionary in the Online Studio

  • List of entities for the term Documentation

(1) Type of term ==> Noun
(2) Term and synonyms: doc, document, documentation
(3) Child terms: guide, guidebook, instruction, manual, notice, user manual

         Dictionary example - Online studio - Documentation term.png
 

  • List of entities for the term Guide

(1) Type of term ==> Noun
(2) Parent terms: doc, document, documentation
(3) Term and synonyms: guide, guidebook, instruction, manual, notice, user manual

         Dictionary example - Online studio - Guide term.png

Tags:
Powered by XWiki © EasyVista 2022