1. A data processing device comprising: processing circuitry configured to function as: 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, each of the elements being a combination of a 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 for training expressed by a feature vector for each attention element, the attention element being one of the elements included in the extracted element sequence, the feature vector including one or more feature values about a sub-sequence having the attention element as a last element of the sub-sequence in the extracted 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 train a script model using the produced case example data and employing a discriminative model training technique; and a text analyzer configured to (1) analyze a target document, (2) predict unknown elements in the target document using the trained script model, and (3) output the prediction results of the unknown elements.