Class of statistical modeling method applied in pattern recognition and machine learning and used for structured prediction