https://9dok.net/document/qo5v9407-introduction-conditional-random-fields-relational-learning.html