get_pairs
Return set of symbol pairs in a word.
word is represented as tuple of symbols (symbols being variable-length strings)