We represent each sentence as a binary feature vector using the same feature set used in Step 4.
z binary D -dimensional vectors, denoted by  In this approach, we use add-one smoothing (Martin and Jurafsky, 2000) for avoiding zero probabilities of A and B.