6. Model Implementation
6.2 Identifying Value Components
6.2.1. Dependency Parser
The task of dependency parsing entails taking an input sentence (π€) and returning a parse tree of typed dependencies. A parse tree is simply a tree-like representation of the structure of a sentence. Several computational implementations of DGs exist such as Minipar, RASP, SUPPLE, and while the details of these implementations are beyond the scope of this research, Stanford Universal Dependencies implementation (SUD) (de Marneffe et al, 2014a; de Marneffe et al, 2014b) is used.
SUD is a typed dependency implementation. It is called typed because each link in the parse tree is labelled with a dependency type. For example, figure 12 shows the labelled link or dependency relationship between βEuropeβ and βUnionβ to be the expression βcompoundβ for the sentence βWe will definitely be leaving the European Unionβ. For the linguistic units
βEuropeanβ and βUnionβ, the governor or superior unit is βUnionβ while the dependent is βEuropeanβ. SUD is used specifically for its popularity and accessibility but most importantly
because of its broad universal taxonomy of relations which have been designed to represent the grammatical function of each linguistic unit relative to its dependent. For instance, in figure 12, the dependency relationship between βdefinitelyβ and βleavingβ expressed typographically as πππ£πππ(βππππ£πππβ, βπππππππ‘πππ¦β) states that the dependent βdefinitelyβ is the adverbial modifier of the governor βleavingβ while in figure 13, the dependent word
77
Figure 12: Illustration of a Typed Dependency for sentence βWe will definitely be leaving the European Unionβ
Figure 13:Illustration of a Typed Dependency for sentence βThe British players have arrived safelyβ
SUD consists of 42 relations centred around core arguments - These are the dependency relations that the sentence predicate partakes in - and non-core arguments - which generally covers the dependency relations of modifiers, nouns and function words. Although there are 42 relations in the SUD, not all relations are applicable to all grammar types. Some relations tend to occur more commonly in non-Germanic languages for instance the relation βclf37β occurs predominantly in Asian languages. In addition, the
evolving nature of language means that additional relations are being discovered with newer relations emerging from older ones. Nevertheless, SUD clearly delineates core dependency relations - which are relations between the verb e.g. the root verb and subjects, objects or clausal complements in the sentence β and other dependency relations such as modifiers. Using the word class priority illustration in figure 11 as a reference, the relations used in this research include all 8 core dependency relations (based on figure 11, the relations between the headword and verbs in the sentence and the actants). These relations
78
are listed in table 6. The second category of relations are oblique relations or modifiers which relate the actants and modifying expressions as seen in figure 11.
Table 6: Core Dependency Relations (Source: SUD v1.0)
Dependency Relation Full Meaning
nsubj Nominal subject
csubj Clausal subject
nsubjpass Passive nominal subject
cubjpass Passive clausal subject
dobj Direct object of a predicate
ccomp Clausal complement of a verb or adjective
xcomp Clausal complement of a verb
iobj Indirect object of a verb
Table 7: Modifier Relations of Nouns and Clausal Predicates (Source: SUD v1.0)
Dependency Relation Full Meaning
nmod Nominal modifier
advcl Adverbial clause modifier
advmod Adverbial modifier
neg Negation
acl Adjectival clause modifier of a nominal
amod Adjectival modifier
appos Appositional modifier of a noun
nummod Numeric modifier of a noun
SUDβs 8 non-core and modifying relations are used and outlined in table 7. The third category are relations which exist between content words and function words and relations which express coordination, disfluencies, multiword expressions and punctuation. Although this third category of relations are important they are less regular and their occurrence can be dependent on the type of document or language. For example, the relation βexplβ relates expletives, and is commonly seen in informal documents. Therefore, 14 relevant content-function word relations are used and outlined in table 8.
In addition to these relations, SUD includes a relation called βrootβ which reflects the root of the sentence. The governor of this relation is a fake node βROOTβ which marks the start of the dependency tree and its dependent is the root word. In figures 12, 13 and 14, the root relations are ππππ‘(π πππ, ππππ£πππ), ππππ‘(π πππ, πππππ£ππ), ππππ‘(π πππ, ππππππ‘ππ).
79
Figure 14: Illustration of a Typed Dependency for sentence βUKIP and Labour were defeated by the Conservativesβ
Table 8: Content-Function Word Relations (Source: SUD v1.0)
Dependency Relation
Full Meaning
det Determiner relation between a nominal and a determiner
mwe Relates multiword expressions
goeswith Links two parts of a word that are separated in text that is not well edited
name Used to relate names e.g ππππ(πΆππππππ, π·ππ£ππ)
foreign Used to label sequence of foreign words
list Used to relate chains of comparative items
aux Relates an auxiliary of a clause
auxpass Relates passive auxiliary of a clause
mark Relates a marker, which is the word introducing a finite clause subordinate to another clause
cop Captures relation between the complement of a copular verb and the copular verb βto beβ
cc Relates an element to a coordinating conjunction
conf Relates two elements connected by a coordinating conjunction
case Used for any case-marking element which is treated as a separate syntactic word (including prepositions, postpositions, and clitic case markers)
compound Relates compound expressions e.g.
ππππππ’ππ(π€ππππππ‘, πππππ π‘)