In relation extraction, an input sentence that is marked as containing the target entities corresponds only to a relation type; it does not predict labels for each word.
it might be necessary to utilize all local features and perform this prediction globally.