I know from here that a log-linear model can be used to estimate a conditional probability of class $c$ given the feature representation $d$ of datapoint $x$.
$p(c|d;\theta) = \frac{exp(\theta.d_c)}{\sum_{d_{c^\prime}}exp(\theta.d_{c^\prime}) }$
How can I generalize the above formulation of log-linear models to estimate $p(c|d_1,d_2;\theta)$.