# DictionaryMaxNGram

The maximum size of NGram fragments to consider for the TypeAhead action, when the Mode action parameter is set to `Dictionary` and the Behavior action parameter is set to `Substring`.

In dictionary mode, QMS uses N-grams to tokenize the dictionary words for expansion. An N-gram is a text fragment, made up of N characters. For example, if you divide the word hello up in N-grams of size two, you get the fragments `he el ll lo`.

`DictionaryMaxNGram` sets the maximum size of NGram that QMS uses when querying for terms in the type ahead dictionary. In most cases you do not need to change this value from the default.

Type: | Integer
Default: | 3
Required: |
Configuration Section: | [TypeAhead]
Example: | `DictionaryMaxNGram=3`
See Also: | TypeAhead action Behavior parameter DictionaryMinNGram

_FT_HTML5_bannerTitle.htm