Adding synonyms to Insight Advisor
You can create vocabularies for Insight Advisor. This enables you to define terms and values that may be used in questions that are not present in your data model.
You can create vocabularies in Vocabulary under Business logic in the Prepare tab. Vocabularies help improve the success of natural language queries. For example, you can use vocabularies to define:
Alternative names or synonyms for fields, master items, and values.
For example, Earnings, Proceeds, and Revenue for the field Income.
Names for coded values
For example, names for medical classifications codes.
Names for groups of values from a field
For example, defining named age ranges for a field containing ages.
Common acronyms and abbreviations not in the data.
For example, yr for year or num for number.
When you create a vocabulary, you define the terms associated to that vocabulary. You then associate the terms to fields and master items in your app. Optionally, terms can be associated to individual values from the selected fields and master items. The following conditions are available when defining terms for values from fields:
- Greater than
- Greater than or equal to
- Less than
- Less than or equal to
- Not in
- In range
Vocabularies are created by language for an app. Each language's vocabulary is separate.
Do the following:
- In an app, click Prepare and select Vocabulary.
- Select a language from the language drop-down.
- Click Create terms.
- Enter terms for the vocabulary.
- Select the field or master item to which the vocabulary applies.
- Optionally, select a condition and the values to which the condition applies.
- Click Create.
Synonyms have the following limitations:
Master items and temporal fields do not support conditions.