jacobeisenstein/gt-nlp-class

Possible missing subscript on Equation for CRFs

lzfelix opened this issue · 3 comments

Dear professor Eisenstein,

Thank you very much for making the book publicly available.
I would like to point a possible typo on the equation on section 7.5.3.1:

Should not the s function be written s_m, indicating the transition between labels y_{m-1} and y_m on the i-th position of the underlying w sequence?

Thank you very much,
Luiz C F Ribeiro

Hi Luiz,
IIRC s is a global transition matrix, which is not dependent on position.
Yuval

Hi Yuval,

You are right regarding the transition matrix being global, irrespective to elements position.

I actually forgot the complete definition of s_m(y_m, y_{m-1}) from an example on the book, where the function is defined as a sum of the score of the m-th element of the sequence having the label y and the transition between tags. This is defined formally on Equation 7.16.

What caught my attention is that s has always a subscript on this chapter, except on this equation.