P((Subscript[c, i]^w)(a,p)\[VerticalSeparator]e(a,p)∈D)=(((∑_(a∈TrainSet))(∑_(p∈position   in   a))δ(w∈(Subscript[e, i])(a,p)   and   e(a,p)∈D))/((∑_(a∈TrainSet))(∑_(p∈position   in   a))δ(e(a,p)∈D)))