revision of conditional random field