Hamming distance
Every ternary word of length 11 has a Hamming distance of at most 2 from exactly one codeword.