In fact, if both of these conditions are fulfilled, it is very likely that the optimal model will have some weights with infinite values.
we divide our main features into two types according to whether they are most naturally used in a CRF or a semi-CRF.