# 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 and phrases that you want to use as suggestions. It optionally also contains a score for each value, to determine the order in which they return in a results list.

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

    phrase,score

where `phrase` is the word or phrase that you want to use as a suggestion, and `score` is the score for that word or phrase. 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
    gold mine,10
    government,25
    government agency,20
    golf,20
    golfer,19
    gopher,12
    gotcha,-10
    gone

_FT_HTML5_bannerTitle.htm