1 Introduction
Spoken and written texts are an important source of information for studying politics. For this reason, content analysis is one of the central methodologies in political communication. The complex and often reciprocal relations found in political communication, however, require analyzing large corpora of text to unearth causation patterns. Large digital text archives are increasingly available, but the high cost and complexity of large scale manual text analysis is out of reach of all but the best-funded groups (cf. Grimmer and Stewart Reference Grimmer and Stewart2013).
For this reason, many researchers turn to automatic text analysis. As showcased in a recent virtual issue on Innovations in Text Analysis in this journal (Roberts Reference Roberts2015), the methodological toolkit now includes methods such as automatic scaling of latent traits (Lowe and Benoit Reference Lowe and Benoit2013), topic modeling (Blei, Ng, and Jordan Reference Blei, Ng and Jordan2003; Grimmer Reference Grimmer2010), automatic text classification using machine learning (D’Orazio, Landis, Palmer, and Schrodt Reference D’Orazio, Landis, Palmer and Schrodt2014), and automatic event coding (Schrodt and Gerner Reference Schrodt and Gerner1994, Reference Schrodt and Gerner2000).
With the exception of event coding, all these methods are frequency based, treating text as a “bag of words” and ignoring the way in which words are combined to express relations between the actors and issues mentioned in a text. This makes these methods very useful for determining the topic of a text, or for measuring ideology or tone as expressed by the whole text. Texts such as news items, however, usually mention multiple actors that make statements about different other actors and issues. For such documents, frequency-based methods are less well suited as they do not distinguish between the statements by different actors, or between an actor that makes a statement or an actor that is being talked about. For analyzing such documents, it is often necessary to not just identify actors, but specify what role they play, and what their relation is to each other and to mentioned frames, issues, or evaluations. This requires looking beyond word frequency and zooming in on the semantic relations expressed in the text.
This article presents a new method, clause analysis, that uses automatic syntactic parsing to enable more informative automatic text analysis.Footnote 1 High quality parsers now exist for many languages, yielding a syntactic representation of each sentence that shows the verbs used and their subject, object(s), and modifiers. From this we automatically extract clauses consisting of an optional source, a subject, and a predicate, where the predicate contains both the action and its object and modifiers. Each clause can be seen as an action or event, showing which words are used to describe the action, and which role each actor plays. This method can be combined with existing methods such as reviewed above: by dividing each document into different contexts, e.g. with a specific actor as source or subject, frequency-based analysis can be performed on these contexts. For example, a topic model can be made of all quotes from a political actor, the vocabulary of different actors can be compared, or the ideology of quoted actors determined using scaling.
After reviewing the relevant literature in political methodology and computational linguistics, the method is described in more detail in the third section. This is followed by a validation of the method by comparing it with both manual coding and with a baseline that uses the word order to separate subject from object. In addition to this micro-level validation, in the fifth section we present a macro-level validation where we use the method to analyze conflict coverage. In particular, we compare the way in which the U.S. and (English-language) Chinese press covered the 2008–2009 Gaza War. We know from the literature that Chinese and U.S. media differed markedly in how they covered the Gaza War, with the U.S. media being more receptive to the official Israeli framing that the attack was a justified response to Palestinian terrorism (Sheafer, Shenhav, Takens, and Van Atteveldt Reference Sheafer, Shenhav, Takens and Van Atteveldt2014). This makes it an interesting case to show how, in a context in which almost every article mentions both Israel and Hamas, grammatical analysis can show systematic bias in who is used as source, who is portrayed as aggressor, and how the actions of both parties are framed.
2 Automatic Analysis of Political Communication
Automatic content analysis has been used frequently since at least the General Inquirer (Stone, Dunphy, Smith, Ogilvie, and Associates Reference Stone, Dunphy, Smith and Ogilvie1966). Such automatic content analysis systems are often dictionary or keyword based, meaning that they treat a text as a vector of word frequencies, ignoring the ordering of and relations between the words. In other words, they assume that a text can be viewed as a bag of words. Such approaches have been successfully used for automatically determining the topic of a text, for example, using machine learning (Sebastiani Reference Sebastiani2002). In the comparative agendas project, a technique known as active learning was used to accurately determine the topic of large amounts of documents at a fraction of the cost of coding all documents (Hillard, Purpura, and Wilkerson Reference Hillard, Purpura and Wilkerson2008; Collingwood and Wilkerson Reference Collingwood and Wilkerson2012). Recent work on unsupervised topic models (i.e., without using manual coding) also shows that the topic of a text can be modeled based only on word frequencies (Quinn, Monroe, Colaresi, Crespin, and Radev Reference Quinn, Monroe, Colaresi, Crespin and Radev2010; Blei, Ng, and Jordan Reference Blei, Ng and Jordan2003), or on a combination of word frequencies and metadata (Grimmer Reference Grimmer2010).
Frequency-based approaches have also been used to analyze other aspects of political communication such as tone and frame. For example, dictionary based approaches have been used to measure political affect (e.g. Young and Soroka Reference Young and Soroka2012) and framing (Kellstedt Reference Kellstedt2003; Ruigrok and Van Atteveldt Reference Ruigrok and Van Atteveldt2007). Monroe, Colaresi, and Quinn (Reference Monroe, Colaresi and Quinn2008) review a large number of articles using lexical features and show how techniques from computational linguistics can be used to determine which words are good indicators of the content of political conflict. Automatic scaling techniques have been used for estimating party positions either from unannotated text (Slapin and Proksch Reference Slapin and Proksch2008; Lowe and Benoit Reference Lowe and Benoit2013) or by using reference texts to anchor the political dimensions (Laver, Benoit, and Garry Reference Laver, Benoit and Garry2003).
These methods are all frequency based and as such do not capture the relations between actors and issues expressed in texts such as news reports. A notable exception is the work of Phillip Schrodt and colleagues on automatic event coding (Schrodt and Gerner Reference Schrodt and Gerner1994, Reference Schrodt and Gerner2000; Schrodt, Gerner, and Yilmaz Reference Schrodt, Gerner and Yilmaz2005). They have developed the TABARI automatic coding system and its current successor system, PETRARCH, which combine linguistic data with a sophisticated dictionary for coding (conflict) events and their subject and object (Schrodt Reference Schrodt2014). While TABARI relies on replacement patterns to differentiate subject and object, PETRARCH uses full syntactic parsing, making it similar in goal and general methodology to the clause analysis method proposed in this paper. However, there are some important differences. First, PETRARCH is aimed specifically at coding a predefined set of events, and uses a manually crafted and fine-tuned dictionary for identifying and classifying these events, outputting subject, event type, and object. In contrast, clause analysis does not classify the event (action) or specify the object, instead using the grammatical analysis only to separate the source and subject of the action from the predicate. Thus, rather than concentrating on high-precision extraction of very specific information, clause analysis decomposes text into smaller units (the predicates) with a recognized subject and optional source. The extracted predicates can then be analyzed with normal frequency-based methods such as topic modeling, sentiment analysis, or semantic network analysis. As will be illustrated in the application section, this can be used to show what actors talk about and how they are described.
The system is also related to the work described by Van Atteveldt, Kleinnijenhuis, and Ruigrok (Reference Van Atteveldt, Kleinnijenhuis and Ruigrok2008) who use syntactic information to attribute sentiment expressions to actors, and the study presented by Fogel-Dror, Sheafer, Shenhav, and Van Atteveldt (Reference Fogel-Dror, Sheafer, Shenhav and Van Atteveldt2015), who use a machine learning approach on top of syntactic relations for sentiment attribution. Compared to these systems, the current system has a different focus: it is aimed at enhancing frequency-based methods to allow framing by incorporating the relations between actors, rather than analyzing the sentiment expressed in a text. Moreover, the current system is simpler and easier to translate, since it only uses a limited number of syntactic patterns rather than relying on complicated syntax rules or statistical models trained on annotated data.
Within the field of computational linguistics, this system can be seen as a specialized and simplified version of Semantic Role Labeling (SRL; Carreras and Màrquez Reference Carreras and Màrquez2005). SRL is usually performed using machine learning based on large data sets manually annotated with multiple possible semantic roles for each action. For example, the Semafor SRL system (Chen, Schneider, Das, and Smith Reference Chen, Schneider, Das and Smith2010) has actions such as shoot_projectiles, for which it lists roles like agent, projectile, and purpose. Given the large variety of possible actions and roles, however, systems based on these manually crafted resources almost always have data scarcity problems. The method described here avoids these problems by not trying to identify all possible roles for an action, but only separating source and subject from the rest of the predicate.
3 Extracting Clauses Using Grammatical Analysis
The process of automatically extracting clauses and quotes consists of four steps: (1) parsing the sentences; (2) extracting quotes and paraphrases; (3) extracting subject–predicate clauses; and (4) extracting the enriched token list from the result.
3.1 Parsing
The first step in clause analysis is processing the sentences using a syntactic (dependency) parser. A dependency parser converts each sentence into a graph where each node represents a word, and the edges express grammatical dependency relations between the nodes. For example, the dependency structure of the sentence “John loves Mary” would have the verb “love” at the root of the dependency tree, with John having a subject relation to “love” while Mary has a direct object relation.
We used the Stanford CoreNLP parser to automatically parse English sentences. The CoreNLP parser is open source wide-coverage dependency parser developed at Stanford University (De Marneffe, MacCartney, and Manning Reference De Marneffe, MacCartney and Manning2006). Figure 1 shows the resulting parse tree for the (somewhat abridged) example sentence Hospital officials in Gaza said that 390 people were killed by Israeli fighter planes. Footnote 2 The root of the tree is the main verb, “said.” To the left is its subject (nsubj), “officials,” which is a compound noun (nn) with “Hospital.” It is modified with the prepositional phrase “in Gaza,” which Stanford represents as a single prep_in relation with the word “Gaza.” On the right hand side is the clausal complement (ccomp) of “said.” This clause is a passive construction with “killed” as the main verb. CoreNLP explicitly represents the passive structure: the agent is the one doing the killing (“Israeli fighter planes”), while the passive subject (nsubjpass) “900 people” are being killed.
Example sentence parsed by the Stanford CoreNLP dependency parser.

3.2 Quotes and paraphrases
After the sentences are parsed, the syntactic structure is used to identify quoted and paraphrased sources. As can be seen in the example presented above, the source–quote relation that needs to be extracted is expressed quite directly in the syntactic structure. In fact, the clause analysis method relies on two relatively simple syntactic patterns to identify quotes:
(a) The first pattern identifies sentences with an explicit speech verb, like the “X said that Y” pattern shown in the example sentence. Technically, this pattern looks for a verb from a fixed list of speech verbs derived from WordNet.Footnote 3 If such a verb is found, its subject (or passive agent) is the source, while the complement (defined using a list of possible grammatical relations) is the quote.
(b) The second pattern is used for source attributions with the common pattern “According to X, Y.” This is represented by CoreNLP with a special relation nmod:according_to, with the parent of this relation being the quote, while the child of the relation is the source.
In the example sentence, the first pattern matches the speech act verb “says,” the source being the subject “officials,” and the quote the complement “killed.”
3.3 Extracting clauses
The next step is extracting the subject–predicate clauses that express actions. A clause is a (subject, predicate) pair, with the predicate including all indirect and direct objects. So, the trivial example “Mary loves John” contains a single clause, with “Mary” as subject and “loves John” as predicate. The clause analysis method described here uses four patterns for identifying clauses:
(a) The most common pattern is the straightforward case where a (nonspeech) verb has a subject (or passive agent). In this case, a clause is formed with that subject or agent as clause subject, and the remainder of the verb phrase as the predicate.
(b) A second pattern is used for clausal complements which do not have a subject (xcomp). In that case, the direct object of the main clause is the subject of the predicate in the clausal complement. For example, in the phrase “John told Mary to go,” Mary is the predicate subject (actor) of the verb “to go.”
(c) A third pattern is used for nominal actions. This requires a list of nouns that can be used to express actions, for which lexical resources such as WordNet and FrameNet can be used (Miller Reference Miller1995; Fellbaum 1998; Baker, Fillmore, and Cronin Reference Baker, Fillmore and Cronin2003). For the case described in this article, a list of aggression actions like “invasion” and “attack” was derived from all WordNet synonyms and hyponyms of attack. If such a word is found outside an existing clause, a clause is formed with the action as predicate, and the possessive child as subject (e.g., “Israeli” in the phrase “The Israeli invasion”).
(d) Finally, these existing patterns are extended to deal with conjunctions and subordinate wh-clauses, where the subject of the clause is copied to the conjunct or wh-clause, respectively. For example, in the (fictional) sentence “Hamas fired rockets at Israel, killing 20 civilians” Hamas is seen as subject of both firing and killing; while in the (fictional) sentence “Hamas fired rockets at Israel, who responded by bombarding Gaza” Israel is in the predicate of “fired,” while it is the subject of “respond [by bombarding]” in the wh-clause “who responded by.”
3.4 Extracting quotes and clauses as annotated bags of words
The steps above identify source–quote and subject–predicate pairs as relations between the main words in each role. In the final step, these words are expanded to the complete phrases headed by these main words. Technically, each role is expanded to contain all descendants of the main word that was identified, but excluding all (descendants of) words identified as main words for other clauses or sources. Sources are expanded in the same way, but the expansion is only stopped by other sources, not by clauses, so a quote can contain one or more clauses, but a clause never contains quotes.
Figure 2 shows the parse tree of the example sentence, in which a single quote and a single clause were identified by the system. For the quote, “officials” was identified as the source, which is expanded to include “Hospital” and “(in) Gaza.” The word “killed” anchors both the quote and the predicate of the clause. The quote is expanded to contain the rest of the sentence (“that …fighter planes”). The predicate, however, does not contain the phrase “Israeli fighter planes,” since “planes” was identified as the subject of the predicate, blocking the expansion of the predicate.
Example sentence with quote and clause identified by the syntactic rules.

An advantage of assigning words to nonoverlapping clauses and quotations is that the resulting structure can be easily interpreted as a list of tokens (words) enriched with the extra information. Table 1 shows this token list for the example sentence. The first columns give the word, lemma, and part-of-speech (POS) information as returned by the parser. This is followed by two sets of IDs and roles for quotation and clause, respectively: the IDs are used to differentiate between separate quotations/clauses, while the role indicates which word plays which role in the clause.
As will be illustrated in the next section, the fact that the result of clause analysis can be seen as enrichments of the token list makes it convenient for further analysis. In a sense, the resulting tokens can be seen as “annotated bags of words”: where “bag of words” is the normal term for a collection of documents represented by their word frequencies (i.e., ignoring word order and relations), the “bags” produced by clause analysis can represent various interesting contexts. For example, one could extract all words in quotations by a certain actor, or all words where one actor does or says something to another specific actor. Because the resulting word vectors can be treated as regular bags of words, this allows for existing techniques such as corpus analysis, topic modeling and scaling to be used for further analysis.
Tokens in the example sentence as parsed by CoreNLP enriched with quote and clause information.

For reasons of clarity, an example sentence was chosen that contains only a single quote and a single clause. Most sentences in newspaper articles, however, contain multiple nested and juxtaposed clauses. For example, consider the following (not even exceptionally long) sentence: since December 27, when Israel launched its massive assault on the Hamas rulers of the Gaza Strip, Palestinian militants have fired approximately 600 rockets and mortar shells into southern Israel, killing four people and wounding dozens more, according to the Israeli army. Footnote 4 This sentence contains two clauses (“Israel launched its assault” and “militants fired rockets”), both attributed to the Israeli army as source. Such sentences shows how difficult it is to understand who is doing what in complicated conflict situations using only word order, while the (syntactic) verb structure of a sentence quite directly expresses the needed information: the only verbs with subjects are launched and have (fired), each heading their respective clause which is expanded to contain the target of the actions, allowing the syntactic patterns to correctly identify both clauses and their source.
4 Validation
The system was validated by comparing the automatically generated results to a sample of sentences that was annotated manually.Footnote 5 For this case, a random sample of 250 sentences that contained an aggression word and a reference to Israel and/or Hamas was drawn from international coverage of the Gaza war. All sentences were manually coded by identifying the aggression mentioned in the sentence, and determining whether the aggressor, victim, and (optional) attributed source referred to Israel, Palestinians, or another actor. From the resulting coded aggressions, all unique (aggressor, victim, source) triples were kept, yielding in total 204 coded aggressions from 183 relevant sentences.Footnote 6 In order to estimate reliability of the manual coding, a sample of 35 sentences were also coded independently by a second coder, yielding a Krippendorff’s alpha of 0.72 for source and 0.79 for both aggressor and victim.
These manually coded aggressions were then compared to the automatically extracted quotes and clauses. For each automatically extracted clause, it was identified whether one of the words in the subject of predicate referred to either Israel or Palestinians. If the clause was contained in a quote, the actor identified was included as source, yielding (aggressor, victim, source) triples similar to the manual coding.
For both clause and source extraction the automatically extracted results were compared to the manual analysis by computing precision and recall scores, the standard scores used in Information Retrieval (e.g. Grossman and Frieder Reference Grossman and Frieder2012). Precision is defined as the percentage of extracted clauses/sources that was correct (i.e., that was also included in the manually coded triples), and is a measure of the accuracy of the extraction. Recall is defined as the percentage of manually coded clauses/sources that was found by the system, giving a measure of the coverage of the extraction. The F1 score is the harmonic mean of precision and recall and is often used as an overall performance measure.
Performance of clause and source extraction using syntactic rules compared to word-order baseline.

Pr.
$=$
Precision (percentage of found items that were correct); Re.
$=$
Recall (percentage of correct items that were found). F1
$=$
F1 Score (harmonic mean of precision and recall). Note: N
$=$
204 manually identified clauses from 183 randomly selected sentences mentioning either Israel or Hamas and an aggression word, of which 74 contained a quoted or paraphrased source.
The results of this validation are listed in Table 2. As can be seen in the table, clause extraction has fairly good precision and recall, both being around 0.7. The rules for source identification have very good precision (0.95), while recall is moderate (0.61). This shows that if a source is identified it is almost always correct, but the system misses relatively many sources.
To investigate whether syntactic rules are indeed needed for analyzing conflict coverage, the system is compared to a baseline system that relies on the relatively fixed English word order to distinguish between actor and object: for each actor pair, the actor occurring first in the sentence is seen as the aggressor, while the actor occurring later is seen as the victim. As can be seen from the table, this performs substantially worse than the syntactic rules, giving low precision and recall scores of around 0.35.
The source extraction was similarly compared to a word-order-based baseline. In this baseline system, the same speech verbs were identified as in the syntactic rules, with an actor occurring before the speech verb identified as the source and the statements occurring after the speech verb identified as quote. As shown in the table, this gives recall that is comparable to the syntactic rules (0.62), but much lower precision (0.5), also resulting in a lower F1 score (0.55 compared to 0.74).
4.1 Error analysis
The results presented here show that the syntactic rules can be used to extract clauses and sources with a fairly good accuracy, strongly outperforming a word-order baseline. However, the system still makes a number of errors at the sentence level. From a qualitative inspection of the sentences used for validation, it turns out that a large part of these mistakes are attributable to three systematic problems. The first is simply parse errors: although modern automatic syntax parsers are fairly robust, parsing is a complicated process and mistakes are still made; and this is compounded by the fact that digital archives often contain noise.
The second group of errors is caused by the fact that clauses are seen as separate and nonoverlapping, while in reality clauses in a sentence are generally connected. For example, take the (abridged) sentence “Israel […] vowed to destroy every building used by Hamas […],” from which the system identifies two clauses: (Israel/vows to destroy) and (Hamas/used buildings). Another example illustrates cases where one actor calls on another actor to (not) do something, or accuses the other actor of doing something: “The carnage […] drew mounting international pressure for Israel to end the offensive against Hamas.” In this case, Israel is part of the predicate of the clause about international pressure, but it is not identified as the subject of the subordinate clause about the offense.
Apart from causing identification errors, treating clauses as independent also discards potentially interesting information. For example, in the sentence “European leaders have promised technical assistance to stop Hamas shipping weapons into Gaza,” currently no relation between the EU and Hamas is extracted since the subordinate clause (Hamas/ships weapons) is excluded from the main clause (EU/promises assistance). Correctly identifying the nature of the relation between clauses can potentially add a lot of interesting information to the analysis.
A third group of errors is caused by the subject or object of an action being expressed by prepositional phrases. For example, in the sentence “Israeli air strike in Hamas-controlled Gaza killed […],” Hamas is seen as part of the subject since the “in […] Gaza” prepositional phrase is attached to the air strikes, not the killing. Conversely, in the sentence “[Israel] is concerned about Tel Aviv coming within range of rockets launched from Gaza,” Gaza is seen as part of the predicate rather than as the actor of the rocket launches.
For the extracted sources, many of the missed quotes are due to two reasons. A number of sentences express quotes in more “creative” ways, for example paraphrasing Hamas in the sentence “It added that Hamas reports of kidnapping an Israeli soldier stemmed from […].” A second pattern missed by the current system is sentences where the source is not expressed using words, but only with punctuation. Although it would be easy to detect quotation marks in the source text, care would need to be taken since quotation marks and colons are also used for other purposes, and it is not always trivial to identify the source of the quote.
5 Substantive Use Case: Using Clause Analysis to Analyze International Framing of the 2008–2009 Gaza War
This section will provide an additional validation of the clause method. The previous section showed that the clause method can extract source, subject, and predicate of sentences with sufficient accuracy and that it substantially outperforms a word-order baseline method. By using clause analysis to analyze the foreign coverage of the 2008–2009 Gaza War, this section will show how the method can be used to extract plausible and meaningful substantive results. Moreover, these results will be compared to results from the baseline method to determine whether the better sentence-level accuracy of the clause method translates to better substantive results at the macro-level. Finally, this section will show how a regular corpus analytic technique, Semantic Network Analysis (Van Atteveldt Reference Van Atteveldt2008), can be used to analyze the predicates yielded by clause analysis.
On December 27, 2008, Israel launched a military operation against Hamas in the Gaza Strip, with the stated aim “of stopping the bombardment of Israeli civilians by destroying Hamas’ mortar and rocket launching apparatus and infrastructure” and “of reducing the ability of Hamas and other terrorist organizations in Gaza to perpetrate future attacks against the civilian population in Israel.”Footnote 7 The operation started with a wave of airstrikes followed by an operation on the ground, which ended on January 18, 2009, when Israel declared a unilateral ceasefire, followed by Hamas announcing a one week ceasefire twelve hours later. According to various sources, the conflict resulted between 1166 and 1417 Palestinian and 13 Israeli fatalities.
During the war, the Israeli Prime Minister’s Office and the Ministry of Foreign Affairs issued English-language statements targeted at the international community on a daily basis. Such “organized attempts by a government to exert as much control as possible over the way state policy is portrayed in foreign media” (Entman Reference Entman2008, p. 89) are called mediated public diplomacy, in which frame building contests play a central role (Sheafer and Shenhav Reference Sheafer and Shenhav2010). Based on the homophily hypothesis we expect U.S. media to be more receptive to the Israeli frame building effort than Chinese media because of their differing proximity to Israel: the US is one of the most proximate countries to Israel both culturally and politically, while China is one of the most distant countries to Israel on these dimensions (Sheafer and Shenhav Reference Sheafer and Shenhav2010; Sheafer, Shenhav, Takens, and Van Atteveldt Reference Sheafer, Shenhav, Takens and Van Atteveldt2014). Thus, if there are differences in framing to be found anywhere it would be between the press in these countries.
For this analysis, all articles mentioning “Gaza” published between December 27, 2008, and January 20, 2009 in all available English-language sources from the U.S. and China were downloaded from LexisNexis and processed using the clause method described above. In total, this yielded 795 620 clauses from 2176 Chinese and 6475 American articles. In these clauses, the keyword lists described above were used to identify references to Israel, Hamas, and aggression.
5.1 Who is quoted?
The first question we can answer is whether there is a citation bias: is either actor quoted more often in the U.S. media compared to the Chinese media? Table 3 shows how often Hamas and Israel occur as source of statements. The first two columns list the number of times each actor was identified in the source in the U.S. media, listing all clauses and only those clauses containing an aggression word, respectively. The next two columns give the same information for the Chinese media. As shown by the third row, Israel is overrepresented as a source in the media of both countries. As expected based on the cultural and political proximity of the U.S. to Israel, this overrepresentation is much larger in the U.S. media than in the Chinese media (4.5 versus 2.8). For the clauses containing aggression, this is even more pronounced, with Israel being used as a source almost six times as often in the U.S. media, compared to 3.5 times as often in the Chinese media. Chi-squared tests show that both differences are highly significant (
$\unicode[STIX]{x1D712}^{2}(1)=61.5.7$
,
$p<.01$
for all clauses,
$\unicode[STIX]{x1D712}^{2}(1)=31.6$
,
$p<.01$
for aggressions). Thus, these results show that although both countries favor Israeli sources, the U.S. media show a more pro-Israeli citation bias than the Chinese media.
Number of times Hamas and Israel are used as source in U.S. and Chinese media coverage of the 2008–2009 Gaza War.

5.2 Who talks about whom?
Besides this quantitative result we can also take a more qualitative look at the identified sources. Figure 3 shows the citation network extracted from the U.S. and Chinese media, where the edge width indicates how often the source actor mentioned the target actor in a quote. To show the difference between the media in both countries, the network only shows the actors that are overrepresented as source in that country, including other actors only if they are mentioned by these overrepresented actors. In the displayed network, node size indicates overrepresentation, and backbone extraction is used to limit the amount of edges shown.Footnote 8
Citation network in Chinese and U.S. media coverage of the 2008–2009 Gaza war. Note: N
$=$
81 592 (U.S.)/12 141 (Chinese) unique quotes. Arrow width indicates how often the source node mentioned the target node in a quote. Label size indicates overrepresentation in that country’s media.

Looking at the citation patterns, we can see that in the U.S. media Israel and Israeli actors such as Tzipi Livni and Mark Regev are frequently given a podium to talk about Hamas. Besides these Israeli actors, most of the cited actors are U.S. politicians, especially president Obama. In the Chinese network we see that there is more room for Palestinian sources to discuss Israel as well as the other way around. The most overrepresented source is Moaweya Hassanein, the Palestinian health minister who made frequent statements about (Palestinian) casualties. In addition, although American sources such as the State Department and Secretary of State Condoleezza Rice are also given a podium, the Chinese media quote a much wider range of international actors, including the Syrian and Iranian presidents and Egyptian diplomat Abul Gheit.
5.3 Who does what to whom?
Next we turn to the difference in framing the war: who is the aggressor, and who is the victim? In modern public diplomacy, belligerent parties will generally try to frame the other as the aggressor, focusing on the means employed by the opponent and framing their own actions in terms of the goals they are meant to achieve (Sheafer, Shenhav, Takens, and Van Atteveldt Reference Sheafer, Shenhav, Takens and Van Atteveldt2014). A first indication of framing bias between the Chinese and U.S. media can be gauged by looking at how often the two belligerent parties are identified in the subject and predicate of aggression clauses.
Table 4 shows how often Hamas and Israel are identified in the subjects and predicates of clauses containing aggressions, indicating how frequently they are framed as aggressor and as victim. As shown in the first four columns, in the U.S. media Hamas and Israel are portrayed as subject of aggression with approximately the same frequency (43% and 46%, respectively). In the Chinese media Israel is portrayed as aggressor with the same frequency (46%). Hamas, however, is much more often portrayed as victim of aggression (66% of clauses mentioning Hamas). A chi-squared test confirms that this difference in role for Hamas between the U.S. and Chinese media is highly significant (
$\unicode[STIX]{x1D712}^{2}(1)=61.0$
,
$p<.01$
). Given that being portrayed as the perpetrator of aggression is generally undesirable, and that a central part of the Israeli framing of the war was that they were the victim of Hamas’ rocket attacks, the U.S. media have a more pro-Israeli framing of the conflict than the Chinese media.
5.4 And what do they do?
Besides looking at the frequency of statements, we can analyze the content of actions conducted by each actor. Taking a purely corpus linguistic approach, we can see which words occur most frequently in the predicates with a specific actor as subject. We can display this as a co-occurrence based semantic network, linking words that frequently co-occur in the predicate of a clause. Similar to the citation network above, these networks are contrasted by taking the words that are overrepresented in the media coverage of each country, and backbone extraction is used to simplify the network.
Number of times Hamas and Israel are mentioned as aggressor or victim in U.S. and Chinese media coverage of the 2008–2009 Gaza war.

Figure 4 shows the results of this analysis, where the most frequent words are shown in a semantic network with ties based on co-occurrence in the same predicate. If we look at the words in predicates where Israel is subject according to the U.S. media (4a), we see that the main cluster is about the rocket assault (by) Hamas, and the (Israeli) right to defend. A separate cluster talks about allowing supplies. In the Chinese media (4b), Gaza rather than Hamas is the central concept, and the rocket attacks are not included. Rather, the focus is on the (Israeli) military operation and the human and humanitarian consequences.
Most frequent words in predicates with Hamas and Israel as subject in Chinese and U.S. media, visualized as co-occurrence network. Note: N
$=$
30 921 (a), 5122 (b), 13 782 (c) 1500 (d) unique clauses (560 603 words in total). Label size shows overrepresentation in predicates for the subject in that country compared to the other country. Edges indicate co-occurrence within predicates.

A similar difference is found in the words in predicates with Hamas as the subject. In the U.S. media (4c), focus is on actions against civilians like launching missiles at civilians and the use of civilians as human shields, and the smuggling of weapons. Ceasefire is mentioned, but co-occurs with breaking. In the Chinese media on the other hand (4d), these activities are not mentioned, and more attention is devoted to attacks on the Israeli army. Also, there is a large cluster devoted to diplomatic efforts, including mentioning the ceasefire.
As above, we see here that the U.S. media are more pro-Israeli, focusing on the supposed terrorist activity of Hamas as a reason for the Israeli actions (Israeli goals discourse), while the Chinese media concentrate on the Israeli military actions themselves (Israeli means discourse) and on possible diplomatic solutions to the conflict.
5.5 Comparison to baseline
To determine whether the superior per-sentence accuracy of the clause method compared to the baseline presented in the previous section translates to better substantive results, the analyses above were also performed for the baseline method.Footnote 9 According to the baseline source analysis, as shown in Table A1 in the (online) supplemental materials, the Chinese media actually show a larger overrepresentation of Israeli sources, with Israeli sources quoted 3.4 times more often than Hamas compared to 2.6 for U.S. media. Given the theoretical considerations and previous findings in the literature, these results are much less plausible than the results of the clause method.
On the analysis of predicates the baseline results are more in line with the results of the clause analysis (Table A2): Israel is portrayed as aggressor more often in both U.S. (56%) and Chinese media (60%), while Hamas is most often portrayed as victim (55% in U.S. versus 61% in Chinese media). Assuming that the errors made by the baseline method are not biased toward either actor, it is not surprising that in the aggregate it finds similar patterns as the clause analysis method. However, the lower accuracy reported in the previous section implies that if we use the method to make more fine-grained selections it will show more errors. This is confirmed by a manual inspection of sentences where the two methods differ show that in most cases the baseline method is mistaken. An illustrative example is the following sentence: Four Israelis have been killed by Hamas rockets in three days (CNN, 29 December 2008). According to the baseline, Israel is the aggressor (since it occurs to the left of “killed”) and Hamas is the victim, while the clause method correctly analyzes the passive structure and identifies Hamas rockets as the semantic subject.
Finally, Figure A1 shows the semantic networks of the predicates extracted with the baseline method. Although the overall vocabulary is similar to the results of the clause analysis, there are some remarkable differences: in the U.S. media, references to Israel’s right to defend are missing, as are the use of human shields and weapons smuggling by Hamas, while in the Chinese media the references to Hamas’ preferred diplomatic solution are also missing. All in all, these results show that using the baseline method we would reach the same conclusion as using clause analysis with respect to the framing bias of aggressor and victim. However, the baseline method has a much less plausible result for the source extraction, and the strong pro-Israeli framing elements are absent from the semantic network analysis of U.S. coverage.
6 Conclusion
This article presents a method and open source software package for using grammatical analysis to automatically extract clauses from newspaper articles, splitting sentences into subject–predicate clauses and identifying a possible quoted or paraphrased source. This uses the output of grammatical analysis to extract “who does what to whom,” making it possible to answer questions that are difficult to answer using frequency or co-occurrence based methods. A comparison with a manually coded gold standard shows that both clauses and quotes can be identified accurately, and that using the syntactic rules substantially outperforms a word-order-based system.
In order to show how the results of clause analysis can be used for substantive analysis, we analyzed all clauses from the coverage of the Gaza war in U.S. and (English-language) Chinese media. This showed that the U.S. media more often quote Israeli and American political sources, while the Chinese media give more platform to Palestinian sources and global leaders and diplomats. This suggests a pro-Israeli citation bias in the U.S. news, which was also confirmed by looking at how Israel and Hamas are portrayed: relative to the Chinese media, U.S. media portray Hamas more often as aggressor. Moreover, the U.S. media focus more on the Israeli goals, while the Chinese media emphasize the military means. These findings are in accordance with the expectation based on the greater cultural and political proximity of the US to Israel compares with China’s proximity to Israel (Sheafer, Shenhav, Takens, and Van Atteveldt Reference Sheafer, Shenhav, Takens and Van Atteveldt2014). These results were also more plausible than results from applying the word-order baseline method to the same case, which found a reverse citation bias and missed some of the strong framing elements found in the semantic network analysis.
Since the process of splitting sentences into clauses does not depend on substantive choices, this approach allows the “hard part” of grammatical analysis – dealing with syntax trees – to be standardized, resulting in an enriched token list or bag of words. From here, normal corpus linguistic tools and techniques can be applied to these results, using the clause information to split and filter the data in interesting ways. The substantive results presented in the second half of this study are only a small sample of what is possible. For example, it is equally possible to use techniques such as topic modeling, machine learning, or sentiment analysis to further analyze the words on the dyads between actors in the subject and predicate positions, resulting in a labeled semantic network; or to identify which actors are most able to determine the framing in the news by analyzing the frames used in the quotes of each source, and how these frames are diffused through the news.
These results notwithstanding, there are a number of ways in which the system can be improved. One obvious limitation is that the system described here is designed for English. However, since the only language dependency is in the relatively simple syntax patterns it is easy to translate the results to different languages as long as a good dependency parser is available. In earlier work, we have shown that a similar set of rules also work for quote extraction in Dutch (Van Atteveldt Reference Van Atteveldt2013). Moreover, it is likely that word-order approaches will work even worse in languages like German, which have a less strict word order and often more complex sentence structures.
The error analysis performed as part of the validation also highlighted the strong and weak parts of the system. Part of the errors were due to nonverbal action patterns such as “the Israeli invasion of Gaza.” Since the system depends on verbal patterns to extract predicates, such nominal patterns are only dealt with by a special pattern relying on a dictionary of actions, and identify the subject correctly only if it is listed in a possessive structure such as in this example. This can possibly be alleviated with either better lexical resources or with a machine learning system such as presented by Fogel-Dror, Sheafer, Shenhav, and Van Atteveldt (Reference Fogel-Dror, Sheafer, Shenhav and Van Atteveldt2015), but both solutions lack the simplicity and transparency of the clause analysis presented here. A second class of errors was caused by relations between clauses. The current system analyzes all clauses in isolation, e.g., if “Israel invaded Gaza after Hamas fired rockets at civilians,” it recognizes that Israel invaded Gaza, and Hamas fired rockets, but no link is found between these two statements. Since such discursive relations are often expressed by very explicit markers (such as “after,” “because,” “causes”), it would be very interesting to develop rules for these patterns as well.
In sum, clause analysis is a useful addition to the text analysis toolkit for analyzing texts in which multiple actors can make different statements about other actors and issues. The limitations discussed above show that the method is especially useful if a researcher is mainly interested in source use and relations that are expressed as verbs, and if the researcher is interested in these direct relations rather than in the overall argumentative structure of a text. Within these limitations, clause analysis opens up possibilities for sophisticated analysis of statements and actions in political text.
Supplementary material
For supplementary material accompanying this paper, please visithttps://doi.org/10.1017/pan.2016.12.







