Formally, given our set of factors F and an observed sentence W , marginal inference amounts to calculating the probability µ F i that our binary features φ i are active.
for each factor Ψ i For compactness, we follow the convention of Wainwright and Jordan (2008) and represent the belief for a variable using the marginal probability of its corresponding unary factor.