In the initial stage, n-grams are ranked according to the score computed using the method described in Section 3.
the potential replacements for a given ciphertext n-gram are the highest scoring p-equivalent n-grams from the training corpus regardless of the form of the decipherment implied by the current key.