Open topic with navigation

# Create a Dictionary File

To use the `Dictionary` mode for the `TypeAhead` action, you must provide a dictionary file. This file contains a list of the words that you want to use as suggestions. It optionally also contains a score for the words, to determine the order in which they return in a results list.

The dictionary file must have one word on each line, in the format:

    word,score

where `word` is the word that you want to use as a suggestion, and `score` is the score for that word. The score can be a positive or negative integer (terms with a higher score return first in a results list). If you do not add a score value, the default score is zero. The minimum allowed score value is -230, and the maximum allowed score is 230-1

For example:

    gold,15
    government,25
    golf,20
    golfer,19
    gopher,12
    gotcha,-10
    gone

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm