Teneo Developers

Language objects

Available Language Objects

Language Objects (LOBs) can be lists of synonyms or thematically related words, which are used to anticipate the wide variety of user input. By using Language Objects, the conversational AI application will be able to understand the user input even if ideas are expressed in different ways or if synonyms are used.

From a solution, users have access to the following collections of Language Objects:

  • Language Objects available in any lexical resource assigned to the solution, and
  • local, project-specific Language Objects located in the solution.

Language Objects from a lexical resource (e.g. the Teneo Lexical Resources) can be opened in read-only mode and used in language conditions.

Language Objects local to the solution are under full control of the Teneo Studio user. These can be managed and modified in any way.

Lexical Resource Information

The Lexical Resource Information will be displayed at the bottom of the Solution Explorer when local Language Objects conflict with Language Objects from an assigned lexical resource. Please note that this is only available when conflicts between Language Objects or entities in the local solution and a lexical resource exist. To read more about solving conflicts, please see Resolving conflicts with libraries.

Search for Language Objects

Search for Language Objects in the Search tab of Teneo Studio. It is possible to perform searches on any relevant criteria, and to search for both local Language Objects, objects located in an assigned lexical resource or in another solution in the same server.

Please refer to the Advanced Search for more information.

Use Language Objects

To use a Language Object in the condition editor, its name must be preceded by the percentage sign (%) and written in capitalized letters. Note that Teneo Studio automatically capitalize letters written after the % sign in a condition to be able to recognize it.

To obtain Language Object suggestions, type % followed by the first letters of the Language Object to add, and then press Ctrl+space on the keyboard for suggestions to appear and then select the Language Object to use in the condition.

If no suggestions appear it means that no Language Object beginning with the written letters exists, and the written letters will be printed in red and crossed-out. In this case the user can add a new Language Object to the solution by double-clicking the crossed-out Language Object reference.

The user will be prompted to choose the location of the new Language Object by selecting a folder in the newly opened window. When clicking OK the new Language Object will be opened with the same name as what was written in the condition editor. Fill in the condition of the Language Object and click Save for the Language Object to be added to the solution.

Bulk import of Language Objects
Export of Language Objects as lexical resources
Language Objects in Localization setups