1. A data processing device comprising: an extractor configured to extract, from a document having been subjected to predicate argument structure analysis and anaphora resolution, an element sequence in which a plurality of elements are arranged in order of appearances of predicates in the document, the elements each being a combination of the predicate having a shared argument and case type information indicating a type of a case of the shared argument, together with the shared argument; a case example generator configured to produce case example data expressed by a feature vector for each attention element, the attention element being one of the elements included in the element sequence, the feature vector including at least one of one or more feature values about a sub-sequence having the attention element as a last element of the sub-sequence in the element sequence and one or more feature values about a sequence of the shared argument corresponding to the sub-sequence; and a model constructor configured to construct a script model for estimating the elements each following antecedent context by performing machine learning based on a discriminative model using the case example data.