- Many algorithms are avaiable for Natural language processing, but since this was my first foray into NLP I decided to stick with the “Backoff Algorithm”.
“Summary of Backoff Algorithm”
- The ingrams contain the frequencies of each word or phrase.
- Once a word or phrase is inputed, the Algorithm searches through the ingrams starting with 4 and goes down to 2.
- Simple, but perfroms pretty well even with my naive implementation.