An order-N adaptive context-based modeler reads the next symbol S from the input stream and considers the N symbols preceding S the current order-N context C of S.The model then estimates the probability P that S appears in the input data following the particular context C. Theoretically, the larger N, the better the probability estimate(the prediction).
基于N阶自适应上下文的建模器从输入流中读取下一个符号S,并将S之前的N个符号视为S的当前N阶上下文C。
If our symbols are the 7-bit ASCII codes, the alphabet size is 2^7= 128 symbols. There are therefore128^2=16,384 order-2 contexts, 128^3=2,097,152 order-3 contexts, and so on. Number of contexts grows exponentially ,A^N,where A is the alphabet size.
Alphabet:The set of all possible symbols in the input stream. In text compression, thealphabet is normally the set of 128 ASCII codes. In image compression it is the set ofvalues a pixel can take (2, 16, 256, or anything else). (See also Symbol.)
Context: