Space constraints do not allow us to present either the derivation or a detailed description of the sampling algorithm.
note that the conditional distribution used in sampling decomposes into two parts: where v', r' and z' are vectors of assignments of sliding windows, context (global or local) and topics for all the words in the collection except for the considered word at position i in document d; y is the vector of sentiment ratings.