Take the 2-minute tour ×
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It's 100% free, no registration required.

We commonly create sub-groups of strings in one particular algorithm implementation. I just want to know in CS literature is there any standard name for such kind of grouping. For e.g.

Hello World! This is May from the dairy farm.

Strings with sub-groups of two:

Hello World!
World! This
This is
is May
...
share|improve this question

1 Answer 1

up vote 3 down vote accepted

You are probably looking for the term n-grams, with $n = 2$ in your case. This is very useful in natural language processing and speech recognition.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.