I. Introduction
Given an input word, a minimal forbidden word (MFW) is a word that never appear in the input word while all of its proper subwords appear in the input word. The antidictionary is the set of all MFWs for the input word [1], [2]. Antidictionaries have been applied to universal two-pass antidictionary coding algorithms [3], [4] and a method of sequence comparison using antidictionaries [5]. The coding algorithms encode a periodic sequence, which is obtained by concatenating the first symbol to the last symbol of an input word, instead of input word. For a periodic sequence of an input word, a tight upper bound on the length of an MFW is shown [3]–[5]. In [3], [4], an antidictionary automaton (AD-automaton) which can accept any subword of the periodic sequence is presented. Moreover, techniques for encoding the antidictionary of a periodic sequence have been proposed. The techniques are based on a technique of a lossless data compression algorithm, called compression via subword enumeration [6], [7].