In this work, we present a new version of non-binary VT codes that are capable of correcting a single deletion or single insertion. Moreover, we provide the first known linear time algorithms that encode user messages into these codes of length n over the $q$-ary alphabet for $q\ge 2$ with at most $\ceil{\log_q n} + 1$ redundant symbols, while the optimal redundancy required is at least $\log_q n + \log_q (q - 1)$ symbols. Our designed encoder reduces the redundancy of the best-known encoder of Tenengolts (1984) by at least $2+\log_q(3)$ redundant symbols, or equivalently $2\log_2 q+3$ redundant bits.
翻译:在这项工作中,我们提出了一个新版本的非二进制 VT 代码,能够纠正单一删除或插入。此外,我们提供了第一种已知的线性时间算法,将用户信息输入这些长度的编码,以美元=2美元,超过美元=2美元,最高为$\cil_log_q n}+1美元的冗余符号,而所需要的最佳冗余至少是$\log_q n+\log_q (q-1) 符号。我们设计的编码器将Tenengolts最著名的编码器的冗余(1984年)至少减少2 log_q(3)美元的冗余符号,或相当于2\log_2 q+3美元的冗余位元。