For example, the frequency count of "mode" does not include that of "model", because it is indexed separately.
search engines use this indexing strategy at the string level for languages in which words are separated by spaces, and in our case, we need a search engine in which the count of x n includes that of x n+1 .