(1) initialize a sequence which is the first sequence in dictionary sequences
(2) while   exists do
(3) call Search(1)
(4) 
(5) end while
Algorithm 2: Dictionary sequence enumeration algorithm.