- N-grams with Katz's Back-off model were used.
- Cleansing method on input phrase is same as building the model.
The model is executed in the following sequence:
- Last 2 words of input phrase is check against 3-gram model. Go step 3, if no match.
- If min. 1 match, return last word of max. top 5 occurrences.
- Last word of the input phase is check against the 2-gram model. Go step 5, if no match.
- If min. 1 match, return last word of max. top 5 occurrences.
- Return top 5 occurrences in 1-gram. This is to avoid no suggestions.