1 Introduction

Universal Dependencies (UD; Nivre et al. 2016) has recently become a de facto standard as a dependency representation used in Natural Language Processing (NLP). As most syntactic processing in NLP involves dependency structures, it is safe to say that it is becoming a standard for syntactic processing at large. As of early September 2018, there are 132 treebanks for 74 languages publicly available at http://universaldependencies.org/,Footnote 1 with 15 upcoming treebanks for a further 13 languages. New UD treebanks are often the result of converting corpora adhering to other annotation schemes—not only dependency-based, but also constituency-based.

Lexical Functional Grammar (LFG; Bresnan 1982; Dalrymple 2001) is a linguistic theory which assumes two syntactic levels of representation (in addition to other, non-syntactic levels): constituency structure (c-structure) and functional structure (f-structure). In the case of the English sentence (1), from the multilingual LFG test-suite ParGramBank (Sulger et al. 2013), the c-structure is given in (2) and the f-structure—in (3):Footnote 2

(1)

The driver starts the tractor.

(2)

(3)

View full size image

The first aim of this paper is to describe a procedure of converting such LFG structures to dependency representations following the UD standard, specifically, its enhanced version 2 (see Sects. 2 and 3). Conversion of LFG structures to dependency structures is not a new task (cf. e.g. Øvrelid et al. 2009; Çetinoğlu et al. 2010 and, more recently, Meurer 2017), but—with the notable exception of Meurer (2017)—previous attempts are only mentioned or very roughly outlined in the literature.Footnote 3 Moreover, previous work has been limited to dependency trees as the output format. As is well known, simple dependency trees cannot straightforwardly represent many kinds of linguistic information, so the conversion from representations such as those assumed in LFG invariably resulted in a considerable loss of information.

The current version 2 of Universal Dependencies assumes, apart from basic dependency trees, also enhanced dependency structures, which make it possible to represent phenomena beyond the descriptive power of simple trees. The second aim of this paper is to examine to what extent rich information available in LFG structures is or may in principle be preserved in such enhanced UD representations (see Sect. 4).

The empirical basis for the conversion is a manually disambiguated LFG parsebank of Polish (Patejuk and Przepiórkowski 2014b, 2018) consisting of over 17,000 sentences (almost 131,000 tokens). Since this is a parsebank, it only contains analyses successfully provided by the LFG parser of Polish (Patejuk and Przepiórkowski 2012, 2015b) and selected by human annotators as correct. While this constrains the number and kinds of constructions present in the corpus, the underlying LFG grammar of Polish is currently one of the largest implemented LFG grammars, and it includes a comprehensive analysis of various kinds of coordination and its interaction with other phenomena, so there is no shortage of sentences which pose potential difficulties for the conversion. The third aim of this paper is to present the resulting treebank of Polish, \(\hbox {UD}_{\textsc {lfg}}^{{\textsc {pl}}}\)(see Sect. 5), and to compare it with the previous UD treebank of Polish, \(\hbox {UD}_{\textsc {sz}}^{{\textsc {pl}}}\) (see Sect. 6). Hence, the current paper is meant to become the standard reference for \(\hbox {UD}_{\textsc {lfg}}^{{\textsc {pl}}}\).

2 From LFG to LFG-like dependencies

There is some disagreement about which syntactic level of representation—c-structure or f-structure—is the most natural basis for constructing dependency representations. While f-structure seems to be a natural candidate, Meurer (2017) sketches a conversion procedure based mainly on c-structure and consisting in stepwise transformations of the constituency tree into a dependency tree.

The approach presented here follows the more standard observation that f-structures provide a good basis for dependency relations. For example, apart from much morphosyntactic information (e.g., that the sentence is in indicative mood and present tense, and is not a progressive or perfective form, or that the subject is in the nominative case, 3rd person singular), which will be omitted in subsequent f-structures, the f-structure in (3) contains information about two dependency relations encoding grammatical functions: the subject dependency (from starts to the driver) and the (direct) object dependency (from starts to the tractor).

Of course, c-structures cannot be completely ignored, as only they contain the actual tokens in the sentence (f-structure pred values usually use lemmata as functors, e.g. start instead of starts) and information about their linear order. We show that—apart from f-structures—information encoded in terminal and pre-terminal nodes of the constituency tree, together with the standard correspondence between c-structure preterminals and f-structure components,Footnote 4 is sufficient to perform the conversion, i.e., that the actual constituency information may be completely ignored.

Conversion is performed in two stages: from LFG syntactic structures to initial dependency structures which closely mirror LFG representations, and from such initial dependency structures to final enhanced UD representations. The sole difficulty of the first stage stems from the fact that preterminals of multiple tokens often map to the same functional structure, as illustrated with example (4), whose c-structure is given in (5) and f-structure—in (6).

(4)

-

Słowo

daję,

że

się

nie

gniewam.

word.acc

give.1sg

that

rm

neg

be_angry.1sg

 

‘I give you my word that I am not angry.’

(5)

(6)

View full size image

Of the five feature (sub)structures in (6), two do not correspond to any token (substructures with indices 4 and 10; they represent pro-dropped subjects), so the ten preterminals in (5)—corresponding to the nine tokens in the sentence (including punctuation)Footnote 5—map to just the remaining three such f-structures (those with indices 0, 2 and 6).

2.1 True heads

There are two problems to be solved at this stage. The first problem amounts to deciding which of the co-heads—tokens mapping to the same f-structure—is the true head. Once this is decided, grammatical functions relating f-structures, for example, the comp function relating the matrix f-structure with index 0 and the embedded f-structure with index 2, may be directly translated into dependencies between the true heads corresponding to these f-structures. This provides the backbone for the LFG-like dependency structure:

(7)

View full size image

The true head is chosen mainly on the basis of part-of-speech information: in this case, the verb daję ‘give’ wins the competition with the two (sentence-initial and sentence-final) punctuation marks, and the verb gniewam ‘be angry’ wins with the negative marker (neg) nie, the so-called reflexive marker (rm) się (here, an inherent part of the verb form, without anaphoric meaning), the complementiser że ‘that’ and the comma; hence the comp dependency between daję and gniewam in (7). Similarly, since słowo ‘word’ has no co-heads, it is trivially the true head mapping to the f-structure with index 6 in (6), so the obl-str grammatical function relating f-structures 0 and 6 in (6) is translated into the obl-str dependency between daję and słowo in (7).Footnote 6

In the case of coordination, the conjunction is selected as the head, while set membership is translated as conj dependency. This is illustrated with example (8), whose c- and f-structures are given in (11)–(12).Footnote 7 As this example involves asyndetic coordination, the comma acts as the conjunction, so the two conj dependencies are from the comma to the two finite verbs which head the two conjuncts, i.e., to uderzał ‘hit, pounded’ and to drapał ‘scratched’—see the backbone of the LFG-like dependency structure in (9).

(8)

Uderzał

rękami

w

głowę,

drapał

twarz.

hit.3sg.m

hands.inst

in

head.acc

scratched.3sg.m

face.acc

‘He pounded his head with his fists, scratched his face.’

(9)

View full size image

Note that the non-semantic preposition w ‘in’ does not introduce its own pred value in (12)—it is a co-head of the noun głowę ‘head’. Since the noun is selected as the true head in this case, it is the target of the obl dependency from uderzał ‘hit, pounded’.

2.2 Dependencies to co-heads

The second problem consists in deciding on dependency labels from true heads to their co-heads, e.g. from gniewam ‘be angry’ to nie (negative marker), się (‘reflexive marker’, devoid of any reflexive meaning in this case), że (complementiser) and the comma in (7), or from głowę ‘head’ to w ‘in’ in (9). The solution adopted here is trivial: dependencies to co-heads are labelled with the names of the preterminals of these co-heads in c-structure.

The result of this first stage of conversion is given in (10) in the case of the first example, (4), and in (13)—in the case of the second example, (8). Most of the added dependencies—dash, period, comma, rm and neg in (10), and prep and period in (13)—directly correspond to the preterminals of the relevant tokens in c-structures (5) and (11). The only exception is made for the complementiser, whose preterminal is COMP, since it accidentally bears the name of a standard LFG grammatical function (used to mark non-subject clausal arguments). For this reason, the corresponding dependency relation in (10) is called comp-form.

(10)

View full size image

(11)

(12)

(13)

View full size image

2.3 Dependency graph and dependency tree

While (10) and (13) are dependency trees, the result of the first stage of conversion may be a more complex dependency graph in which a number of heads share dependents. There are three main phenomena which give rise to such more complex representations: broadly understood control (including raising), predicative dependents and coordination with shared dependents. The following example illustrates the first two (see (25) below for the last one):

(14)

Blondyn

zaczął

być

zły.

blond.nom.sg.m

began.3sg.m

be.inf

angry.nom.sg.m

‘The blond guy started to be angry.’

As is made clear in the f-structure (15), blondyn ‘blond guy’ is the subject of the raising verb zaczął ‘started’, but it is also the understood subject of the copula być ‘be’ (also analysed here as a raising verb) and of the predicative adjective zły ‘angry’.

(15)

View full size image

These dependencies are truthfully reflected in the dependency graph (16):

(16)

Such dependency graphs constitute input to the second stage of conversion, described in the following section. The result of the second stage is the final UD representation, which consists of two structures: an enhanced dependency graph, where dependents may have multiple heads, and a basic dependency tree, where each dependent has exactly one head. For this reason, dependency graphs resulting from the first conversion stage are also simplified to pure dependency trees, as in (17), in the case of the example at hand:

(17)

The two structures—the full dependency graph and the basic dependency tree—are subsequently processed in parallel, in the way described in the following section, resulting in the two UD representations of the sentence.

3 From LFG-like dependencies to enhanced UD

In the simplest—but rare—case, in order to arrive at the final UD representation, it is sufficient to rename LFG dependency labels to UD labels, as shown in (18), to be compared to (10).Footnote 8

(18)

View full size image

This final UD representation differs from the LFG-like dependency structure in (10) only in the names of the labels: various LFG labels for punctuation dependents (dash, comma, period) are translated into the UD label punct, labels marking oblique dependents (here, obl-str)—into obl, comp—into ccomp, comp-form—into mark, rm—into expl:pv,Footnote 9neg—into the general dependency label used to mark various adverbial modifiers, advmod.

3.1 Reversing dependencies

However, in the usual case, initial dependency structures must also be rearranged, for two main reasons. The first reason is that UD adopts the principle of the primacy of content words—rather than function words—as heads. This means that, unlike in LFG representations, prepositional phrases are headed by nouns (even in the case of semantic prepositions, which contribute a pred value), numeral phrases are headed by nouns (even though, for Polish, there are good arguments to the contrary), and auxiliaries and copulas are always dependents, rather than heads. This is not only a matter of reversing single dependencies: all dependencies originally targeting the functional head must now target the content head, and all outgoing dependencies from the functional head must now originate in the content head.

This kind of restructuring is not needed in the case of the two examples introduced so far (but see the next subsection, Sect. 3.2, about restructuring coordination in one of them). The first one, (4)—with the LFG-like dependency representation in (10) and the UD representation in (18)—has already been discussed, and the second, (8)—whose LFG-like dependency representation is given in (13) (and the UD representation—in (24) in the next subsection)—involves a non-semantic preposition, represented as a dependent of the noun, so the dependency between this preposition, w ‘in’, and the noun, głowę ‘head’, already satisfies the UD principle of the primacy of content words. Consider, however, example (19), with c- and f-structures in (22)–(23).

(19)

Jest

wysoko

zapięta

pod

szyję,

wysmukła

is.3sg

highly

buttoned_up.nom.sg.f

under

neck.acc

lean.nom.sg.f

jak kwiat.

like flower.nom.sg.m

‘She is buttoned up high to the neck, lean like a flower.’

There are two prepositional phrases in this example, both involving semantic prepositions: pod szyję ‘up to the neck’, literally: ‘under neck’, and jak kwiat ‘like (a) flower’. Unlike the non-semantic preposition in the previous example, (8), these two semantic prepositions introduce their own pred values, i.e., they project their own f-structures (with indices 32 and 56 in (23)), containing functional representations of the embedded noun phrases as values of obj. Hence, the initial LFG-like dependency representation contains obj dependencies with prepositions as heads and corresponding nouns as dependents—see (20). At the second stage of conversion, these dependencies have to be reversed (such dependencies from nouns to prepositions are labelled case in UD), and the dependencies targeting the whole prepositional phrase—i.e., the two adjunct edges targeting the prepositions—have to be renamed and rearranged so that they target the new heads of prepositional phrases, i.e., the two nouns; see the final UD representation in (21), to be discussed shortly.

(20)

View full size image

(21)

View full size image

(22)

View full size image

(23)

3.2 Rearranging dependencies in coordination

The second reason for rearranging dependency structures is that UD adopts a representation of coordination in which it is the first conjunct—not the conjunction—that is the head. All other conjuncts are direct dependents of this head and the conjunction is a dependent of the conjunct to its right.Footnote 10 Let us first exemplify this structural change with the above example (8), whose initial LFG-like dependency representation is given in (13), and the final UD representation—in (24):

(24)

View full size image

Here the enhanced UD representation, drawn below the sentence, differs from the basic UD representation, drawn above the sentence, although the difference is trivial: in the enhanced representation, the dependency label to the prepositional phrase w głowę ‘in (the) head’, obl:w, is subtyped with the preposition w. (Any dependencies which are not identical in the two UD representations are shown in red with dashed edges.)

As the comparison of (13) and (24) illustrates, rearranging dependencies in coordination may result in a change of the root of the sentence: in the LFG-like representation (13), the comma, which acts as a conjunction, is the root, but in the final UD representation (24), the head of the first conjunct, i.e. uderzał ‘hit, pounded’, is the root. As the final period in the sentence is analysed as a dependent of the root of the sentence, it must now be made the dependent of this verb, rather than of the comma conjunction. Further, the comma is now made a dependent of the (head of the) immediately following conjunct, i.e., of drapał ‘scratched’, which in turn is now made a dependent of the first conjunct, rather than of the comma conjunction.

The complexity of this rearrangement is also seen in the case of the above example (19), whose initial and final dependency representations are given in (20)–(21). This example also involves asyndetic coordination, namely, of a passive participial phrase, wysoko zapięta pod szyję ‘buttoned up high to the neck’, and a predicative adjectival phrase, wysmukła jak kwiat ‘lean as a flower’. In the LFG-like dependency structure (20), the two conjuncts are dependents of the conjunction (here, the comma), and the whole coordinate structure is an xcomp-pred argument of jest ‘is’, which is the root of the whole sentence. On the other hand, in the basic UD representation (see the upper part of (21)), the coordinate structure is headed by the first conjunct, the passive participle, and the function word jest ‘is’ is its dependent (another case of the reversal of a dependency between a function word and a content word), so the passive participle is promoted to the status of the root of the sentence. This, and the fact that the relation between the passive participle zapięta ‘buttoned up’ and jest ‘is’ is aux:pass, means that the whole sentence is a passive construction according to this representation. But this is contingent on the linear order of the two conjuncts: were it opposite, the main relation would be that from the predicative adjective wysmukła ‘lean’ to jest ‘is’—labelled as cop (copula)—so the whole sentence would in effect be analysed as a copular construction.Footnote 11 This dual nature of jest ‘is’—as a predicative copula and as a passive auxiliary—is expressed in the enhanced dependencies (see the lower part of (21)), which include one more dependency: the cop edge from the adjective wysmukła ‘lean’ to jest ‘is’.

A much more robust example of dependent- and head-sharing is (25), whose c-structure and f-structure are given in (26)–(27).

(25)

Wydawało

się,

że

wojna

jednak

go

przerosła,

seemed.3sg.n

rm

that

war.nom.sg.f

after all

him.acc

overwhelmed.3sg.f

przeraziła.

scared.3sg.f

‘It seemed that, after all, the war overwhelmed and scared him.’

(26)

View full size image

(27)

Here, the two asyndetically coordinated verbs, przerosła ‘overwhelmed’ and przeraziła ‘scared’, share their subject (wojna ‘war’; substructure 92 in (27)), direct object (go ‘him’; substructure 29 in (27)), and an adjunct (jednak ‘after all’; substructure 5 in (27)). This structure-sharing is also reflected in the initial LFG-like dependency structure (28). Apart from these three explicitly shared dependents, there is another dependent of the coordinate structure as a whole, i.e., the non-semantic complementiser że ‘that’.Footnote 12 It is expressed in (28) as a comp-form dependent of the coordinating comma.

(28)

View full size image

(29)

View full size image

In the UD representation, shown in (29), the head of the coordination is the first conjunct, przerosła ‘overwhelmed’, so—in the basic dependency tree (in the upper part of (29))—these four shared dependents are represented as dependents of the first conjunct. Thus, this basic UD representation is ambiguous: each of the dependents of the first conjunct may be understood either as a dependent of the first conjunct alone, or as a dependent of the whole coordinate structure (i.e., of all conjuncts). This ambiguity is resolved in the enhanced representation (in the lower part of (29)): there, all four elements are also marked as dependents of the second conjunct, przeraziła ‘scared’. Additionally, as the whole coordinate structure is the subject of the main verb wydawało się ‘it seemed’, there is a csubj (‘clausal subject’) dependency from this verb to the first conjunct, matched by an analogous enhanced dependency to the second conjunct. In effect, the enhanced representation makes it possible to encode both dependent-sharing and head-sharing in coordination.

3.3 Partial conclusion

The first conversion stage, described in Sect. 2, is almost language-independent. For any language, relations between f-structures, such as subj or xcomp, can be translated into dependencies between the most important words—called true heads above—corresponding to these f-structures; other words corresponding to the same f-structure—co-heads—can be made dependents of such true heads, with dependency labels reflecting morphosyntactic categories of the co-heads. The only language-specific part at this stage is the heuristic selecting true heads among co-heads—this heuristic must be sensitive to morphosyntactic categories assumed for a given language.

The main idea of the second stage, described in this section, may also be applied to any language, but specific rules implementing the stepwise transformation of dependency structures depend not only on a given language, but also on particular analyses in the input LFG treebank. For example, as in the case of many other LFG treebanks, the Polish LFG treebank distinguishes not only between semantic and non-semantic prepositions, but also between semantic and non-semantic complementisers: the former, such as ponieważ ‘because’, introduce a semantic relation between clauses; the latter, such as że ‘that’, are meaningless markers of subordination. While non-semantic prepositions and complementisers are typically co-heads of, respectively, nouns and verbs, so they will be appropriately represented as dependents already after the first stage of conversion, semantic prepositions and complementisers are heads of the following nominal phrases and clauses in the LFG treebank, so at the second conversion stage they must be re-analysed as dependents by a rule that is specific to this treebank. Similarly, cardinal numeral phrases such as pięć słów ‘five words’ are commonly—but not universally—analysed in Polish formal linguistics as headed by numerals rather than by nouns, i.e., as true numeral phrases (Saloni and Świdziński 1985; Przepiórkowski 1999), and this analysis is adopted in the LFG treebank of Polish. Given that numerals are dependents of nouns in UD, this necessitates a rule reversing this dependency. In LFG treebanks for many other languages, and hypothetically also in a different LFG corpus of Polish, numerals may be represented as dependents of nouns, so such a rule would not be necessary.

Apart from reversing some dependencies, other language- or treebank-specific rules of the second stage of conversion concern the translation of LFG relations into UD labels. For example, in the \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) treebank described here, direct objects are understood as any passivisable dependents (i.e., any dependents which become subjects in the passive voice), and indirect objects—as any arguments in the dative case. This leads to very simple translation rules, where UD dependency labels obj and iobj fully correspond to the LFG relations obj and obj-th present in verbal f-structures.Footnote 13 As discussed in Sect. 6.3 below and—more fully—in Przepiórkowski and Patejuk (2018), some other UD treebanks, including the previous UD treebank of Polish, adopt a different approach to direct and indirect objects, which would call for very different—much more complex—translation rules from LFG relations.

To summarise, while the general approach presented above may be applied to any LFG treebank of any language, and the first stage of conversion only minimally depends on the specifics of the input LFG representation (namely, only on c-structure preterminals and their relative potential to be the true head), any implementation of the second stage is not only language-dependent, but also depends on particular analyses in the input LFG treebank and on the particular understanding of specific labels in the output UD treebank.Footnote 14

4 Lost in translation

As is well known—and has already been pointed out above—dependency trees are less expressive than functional structures. One reason is that they do not make it possible to represent shared dependents, e.g. the fact that a dependent of a higher verb is at the same time the subject of the lower verb in control or raising constructions. For example, in (30), whose f-structure is given in (31), Poczta ‘(Polish) Postal Service’, is the subject not only of the two conjoined finite verbs, zmniejsza ‘reduces’ and powinna ‘should’, but also of the controlled verbs zacząć ‘start’ and przynosić ‘bring, make’. This is directly expressed in the f-structure (see the multiple occurrences of the substructure 156 in (31)), as well as in the LFG-like dependency representation (32), which is not a dependency tree, but a more complex graph. On the other hand, this information is lost in the basic UD tree in the upper part of (33).

(30)

Poczta

zmniejsza

swój

deficyt

i

już

w

1997

r.

post.nom.sg.f

reduces.3sg.f

self’s

deficit

and

already

in

1997

year

powinna

zacząć

przynosić

zyski.

should.3sg.f

start.inf

bring.inf

profits.acc

‘Postal Service reduces its deficit and it should start to make profit already in 1997.’

However, such information is easy to represent in the enhanced UD graph, which does not have to be a tree. Hence, in the case at hand, the information that four verbs share the same subject is not lost in the (enhanced) UD representation. The natural question is then, to what extent—if any—information is lost in the translation from syntactic structures assumed in LFG to enhanced Universal Dependencies.

(31)

View full size image

(32)

(33)

View full size image

4.1 Empty dependents not allowed

Clear loss of information results from the fact that UD does not make it possible to represent pro-dropped dependents. This is not a matter of a general ban on null nodes in dependency representations: enhanced UD makes it possible to represent elided predicates, as in the following example of the enhanced representation from the UD guidelines:Footnote 15

(34)

View full size image

Here, E5.1 is an artificial token, added to the input sentence in lieu of the elided verb like. However, similar addition of tokens standing for pro-dropped dependents is currently prohibited, with the effect that information is lost in the conversion of some of the examples given above.

Consider again example (8) and its f-structure in (12). Polish is a rampantly pro-drop language, and in this sentence the pro-dropped subject is shared between the two finite verbs (see the substructure with index 81 in (12)). That is, the same person is understood to have done the pounding and the scratching. In contrast, the UD representation (24) misses this important information—it is underspecified as to whether the same person performed the two actions. A similar problem occurs in the case of example (19): while the f-structure (23) makes it clear that the passive participle and the predicative adjective share their subject (see the substructure 29 there), this information is missing in the UD representation in (21).

A related problem is that, in the case of the pro-drop of the controller, information is lost about the reference of the subject of the controlled verb. In the absence of pro-drop, this information is given explicitly in the enhanced representation; for example, in the UD representation in (33), the controlled verbs are those with the incoming xcomp dependency—i.e., zacząć ‘start’ and przynosić ‘bring, make’—and their subjects are marked by the nsubj enhanced dependencies to Poczta ‘Postal Service’. Consider, however, example (35), involving the control verb kazał ‘ordered’.

(35)

Kazał

wszystko

odsyłać

do

ambasady.

ordered.3sg.m

all.acc

send_back.inf

to

embassy

‘He ordered to send everything back to the embassy.’

Two arguments of this verb are pro-dropped: the subject and the dative argument which controls the subject of the infinitival odsyłać ‘send back’. This information is explicitly represented in f-structure (36). In particular, the subject of the controlled verb, i.e., the substructure with index 25, is the same as the dative argument of the main verb, i.e., as the value of the obj-th attribute there. Unfortunately, there is currently no way to represent this information in the UD structure—see (37).

(36)

View full size image

(37)

View full size image

Another problem stemming from the lack of any representation of pro-dropped dependents concerns the representation of non-core (not subcategorised, not required) secondary predicates, e.g. pierwszy ‘first‘ in (38) and osłupiały ‘transfixed, shocked‘ in (39):Footnote 16

(38)

Król

zaatakował

pierwszy.

king.nom.sg.m

attacked.3sg.m

first.nom.sg.m

‘The king attacked (as) first.’

(39)

Przez

chwilę

stał

osłupiały.

for

while

stood.3sg.m

transfixed.nom.sg.m

‘He stood transfixed for a while.’

Such non-core secondary predicates are acl dependents of the nouns they predicate of, as shown in (40).

(40)

However, such an overt target of predication is missing in (39), in which case the secondary predicate should be an advcl dependent of the verb that governs the pro-dropped argument:

(41)

View full size image

This not only results in rather different representations of the same phenomenon, but also representations such as (41) are in the general case underspecified as to which of the potentially pro-dropped dependents of the verb the predicate refers to.Footnote 17

While the prohibition on explicit representation of pro-dropped dependents is probably the most important source of information loss in the conversion procedure described above, we do not see it as a fundamental problem with UD representation: once this arbitrary prohibition is lifted, the problems described in this subsection should disappear.

4.2 Multiple dependencies between same tokens not allowed

A statistically insignificant problem, but one that did occur in the conversion process, is that it is prohibited at the moment, even in enhanced dependencies, to have two different edges from token A to token B. The need for such a representation arises in those—admittedly very rare—cases where the multi-functional ‘reflexive’ marker się plays two roles at the same time (Patejuk and Przepiórkowski 2015a), e.g., being a marker of an ‘inherently reflexive’ verb (expl:pv, as in (18) and (29)), and being a part of an impersonal construction (expl:impers). A treebank example illustrating this problem is (42): the first się, in uczestniczyło się ‘one participated’, is purely impersonal, while the second się, in modliło się ‘one prayed’, is impersonal and also an inherent part of the verb modlić się ‘pray’, so it should bear two relations to modliło: expl:impers and expl:pv.

(42)

W

Laskach

w

liturgii

uczestniczyło

się

przez

cały

dzień

i

in

Laski

in

liturgy

participated.3sg.n

rm.imps

for

whole

day

and

modliło

się

wszędzie.

prayed.3sg.n

rm.inh.imps

everywhere

‘In Laski, one would take part in the liturgy for the whole day and one would pray everywhere.’

It seems that the ban on multiple edges could be lifted in the enhanced UD without any ill consequences.Footnote 18

4.3 Embedded coordination

A problem known to the UD communityFootnote 19 is that there is no way to distinguish between embedded coordination, with the first conjunct itself being a coordinate structure, and flat coordination. There are about a dozen sentences in the Polish UD treebank described here where this is a potential problem, e.g.:

(43)

Przewróciłem

jakieś

puszki,

straciłem

kamerę,

ale

overturned.1sg.m 

some.acc 

cans.acc 

lost.1sg.m 

camera.acc 

but

świeca

płonie.

candle.nom.sg.f 

burns.3sg

‘I overturned some cans, lost my camera, but the candle still burns.’

In the LFG parsebank which is the input to the conversion procedure, this sentence is represented as a coordinate structure with the conjunction ale ‘but’. The linearly first conjunct is also a coordinate structure (with comma acting as the conjunction)—see the f-structure in (44), where one of the two elements of the outer set representing the coordination is itself a two-element set representing the embedded coordination. This embedding of coordination cannot be directly represented in UD—see (45), which does not distinguish between flat ternary coordination and such binary coordination embedded within binary coordination.Footnote 20

In practice, however, this is not a serious problem, as the right structure can usually—at least in the dozen or so cases in the current treebank—be inferred from the linear placement and kind of conjunctions. For example, a strictly binary contrastive conjunction ale is used in (43), so (45) cannot represent flat ternary coordination—it must represent embedded coordination. Moreover, if this turned out to be a serious practical problem, embedded coordination could be distinguished by subtyping the conj label, e.g. to conj:coord, whenever the head is a coordinate structure (as suggested to us by Nathan Schneider, p.c., August 2018); in the particular case of (45), the conj relation from przewrócił to płonie could be thus modified.

(44)

(45)

4.4 Insufficient information in dependency labels

Much information is also lost because UD dependency labels are less informative than LFG attributes. For example, while LFG distinguishes between different kinds of oblique arguments (e.g., only in the f-structures given above: obl, obl-str, obl-inst, obl-adl, etc.), and distinguishes them from adjuncts, UD treats all such obliques and adjuncts alike, and marks them as obl. However, it is easy to extend UD in a way that makes representing such information possible. To this end, the mechanism of subtypes—already alluded to above (e.g., the relations expl:pv and expl:impers are subtypes of the general expl(etive) relation)—may be used. In fact, Zeman (2017) proposes to distinguish oblique arguments from adjuncts by subtyping the former to obl:arg, and similar subtypes may be used, e.g. to represent adlative oblique arguments as, say, obl:adl, etc.

The same mechanism may be used to re-introduce many other kinds of information currently lost in translation, including:

  • the distinction between control and predicative complements, both marked in UD as xcomp (e.g. by subtyping the latter to xcomp:pred),

  • the distinction between raising and control (e.g. by representing raising via xcomp:raising),

  • the different grammatical functions of dependents of gerunds (now all broadly nominal dependents of gerunds are marked as nmod, but they could be subtyped to nmod:obj, nmod:obl, etc.),

  • the distinction between semantic and non-semantic prepositions, e.g. by subtyping the case relation in the former to case:sem (and similarly for semantic and non-semantic complementisers),

  • the distinction between eventuality and constituent negation (Przepiórkowski and Patejuk 2015), e.g. via the subtypes advmod:eneg and advmod:cneg; etc.Footnote 21

Thus, the exercise described here shows that it is relatively easy to convert an LFG treebank into a full-blown enhanced UD representation. Surprisingly little information is lost in the conversion from LFG to enhanced UD and—as discussed in this section—many of the deficiencies of current UD are easy to rectify, and other surface rarely.

5 The LFG-based UD treebank of Polish

Texts in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) are drawn from two corpora: over 84% of the sentences come from the National Corpus of Polish (http://nkjp.pl/; Przepiórkowski et al. 2011, 2012) and almost 16%—from the Corpus of 1960s Polish (http://clip.ipipan.waw.pl/PL196x; Kurcz et al. 1990; Bień and Woliński 2003; Ogrodniczuk 2003). Both corpora were lemmatised and morphosyntactically tagged, and these lemmata and tags are almost always preserved in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\).

More directly, the sentences in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) come from the LFG treebank of Polish (Patejuk and Przepiórkowski 2014b). 19,597 sentences with their LFG syntactic structures form an input to the conversion described above. Many of these are sentences with multiple possible LFG analyses, as well as accidental duplicates. After conversion, only unique UD structures are retained, i.e., a sentence may appear in the corpus a couple of times only with different dependency annotations (ideally reflecting genuine ambiguities, difficult to disambiguate by human annotators). As a result, the \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) treebank contains 17,246 dependency representations (with 130,967 segments) for 17,190 different sentences.

These 17,246 representations were split into training, development and test subcorpora in two stages, in compliance with UD guidelines.Footnote 22 First, for each sentence, it was checked whether this sentence occurs in the previous UD treebank of Polish, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\). If it occurred in the training corpus there, it was also assigned—with all its dependency structures, if there were more than one—to the training subcorpus of the \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) treebank. Otherwise, if it was found in the \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) development corpus, it was assigned to the \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) development corpus. Otherwise, if it occurred in the \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) test corpus, it was assigned to the \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) test corpus. Altogether, 3502 (\(2594 + 439 + 469\), respectively) dependency representations were pre-classified to the three subcorpora this way.

Second, the remaining sentences were randomly added to the development and test subcorpora until each of these subcorpora contained more than 20% of the whole corpus, in terms of both the number of dependency representations and the number of tokens. The rest of the sentences were added to the training corpus. This procedure resulted in the split summarised in Table 1.

Table 1 Subcorpora of \({\hbox{UD}}_{\textsc{lfg}}^{{\textsc{pl}}}\)

About 42.1% of the sentences represent the fiction genre, 39.1%—news, 7.4%—nonfiction, 7.3%—spoken, 3%—interactive Internet texts (forums, chatrooms, etc.), and there are also traces of static Internet pages (0.8%), academic style (0.3%) and legal texts (0.1%). For each sentence, genre is explicitly given in a comment to the sentence. In the case of sentences derived from the National Corpus of Polish, this genre information is taken directly from the headers of appropriate texts; in the case of sentences from the Corpus of 1960s Polish, they were derived from two (of five) parts of the corpus, News and Fiction, and were classified accordingly.

6 Comparison with the previous UD treebank of Polish

\(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) is the first Polish UD treebank making use of enhanced dependencies. It has been available since February 2018 and it was officially released as part of UD version 2.2 in July 2018. However, there is also another UD treebank of Polish, available since UD release 1.2 in November 2015, namely, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\). That treebank is based on the Składnica zależnościowa treebank (Wróblewska 2014; http://zil.ipipan.waw.pl/Składnica) version 0.5, which is the result of automatic conversion from a constituency parsebank Składnica (Świdziński and Woliński 2010). Składnica zależnościowa was first converted—by Dan Zeman and colleagues—to the Prague dependency style and then, from this format, to Universal Dependencies (HamleDT 3.0, 2015; Zeman et al. 2014).Footnote 23 The rest of this section briefly compares mid-2018 versions of these two Polish UD treebanks.

6.1 Tokenisation

There are at least two tokenisation differences between the two treebanks. First, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), but not \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\), takes advantage of the possibility to represent sequences of tokens written without intervening spaces also as single tokens, as in Straciłem równowagę. ‘I lost my balance’, lit. ‘lost.1sg.m balance.acc.sg.f’, where Straciłem ‘lost.1sg.m’ is a sequence of two tokens: Stracił ‘lost.sg.m’ and emaux.1sg’. In the CoNLL-U representation of this sentence, there are five lines (apart from the comment lines) in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\); (46) shows the first four columns and the final column (with omitted material between them indicated by ‘...’):

(46)

1-2

Straciłem

_

_

...

_

1

Stracił

stracić

VERB

...

_

2

em

być

AUX

...

_

3

równowagę

równowaga

NOUN

...

SpaceAfter=No

4

.

.

PUNCT

...

_

On the other hand, the partial representation of the same sentence in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) is as in (47)—it differs not only in the lack of one line, but also in the more consistent—in our opinion—use of the SpaceAfter=No feature.

(47)

1

Stracił

stracić

VERB

...

SpaceAfter=No

2

em

być

AUX

...

_

3

równowagę

równowaga

NOUN

...

SpaceAfter=No

4

.

.

PUNCT

...

_

In the case of Polish, both representations give exactly the same information and may be easily converted one to another.

The second—minor—difference is that \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) does not indicate the lack of space between a preposition and the following short pronominal form, as in doń ‘to him(/it/her)’—neither via the SpaceAfter=No feature, nor via an additional line for such a multi-token unit. This error should be easy to correct in future releases of \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\).

6.2 Morphosyntax

There are various morphosyntactic differences between the two treebanks; some—discussed immediately below—stem from some controversial decisions taken by the developers of \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), others are probably the result of lack of certain kinds of information in the input data converted to \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), and still others are minor errors, which should be easy to correct in future editions of \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\).

Polish has five genders (Mańczak 1956), including 3 masculine genders sometimes—misleadingly—called ‘human masculine’, ‘animate masculine’ and ‘inanimate masculine’. There are good morphosyntactic tests making it possible to distinguish the three (sub)genders, without any recourse to semantic intuition. Since the correlation between the three masculine genders and semantic animacy is far from perfect, these masculine genders are distinguished in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) via the values of the new SubGender feature (a solution suggested to us by Dan Zeman, p.c.). In \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), however, the Animacy feature is employed to this end, with three possible values: Hum for ‘human masculine’, Nhum for ‘animate masculine’ and Inan for ‘inanimate masculine’. This is highly misleading—the cursory inspection of the 150 lemmata whose forms are marked as ‘animate masculine’ NOUNs in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) suggests that perhaps only about half of them refer to animals. For example, considering such lemmata starting in t, only two out of seven—trzmiel ‘bumblebee’ and tygrys ‘tiger’—are semantically animate:

  • tarot—‘tarot’,

  • tenis—‘tennis’,

  • tir—a heavy vehicle,

  • trup—‘corpse’,

  • trzeci—‘third’ (possibly an error in input data),

  • trzmiel—‘bumblebee’,

  • tygrys—‘tiger’.

A closely related problem stems from the lack of proper handling of ‘derogatory’ forms of ‘human masculine’ nouns in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), e.g. profesory ‘professors (derogatory)’ versus the neutral profesorowie. Such forms behave morphosyntactically as if they were ‘animate masculine’, so the value of their Animacy feature is Nhum in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), even though they are without exception semantically human masculine. (This problem is statistically insignificant, though, as it only concerns four tokens.) In \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) such derogatory forms are marked as Polite=Depr.

Another controversial decision—or perhaps simply a conversion error—is the annotation of morphologically impersonal -no/-to forms as adjectival passive participles in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), i.e., as tokens with the ADJ coarse part of speech and with VerbForm=Part and Voice=Pass, as well as, somewhat curiously, Case=Nom, Gender=Neut and Number=Sing among their features. Tokens such as wyrzucano ‘one used to throw away’ or zdobyto ‘one conquered’, are—uncontroversially—purely verbal,Footnote 24 with no grammatical case, no clear values of number and gender, and they may be formed from verbs which do not passivise at all. In \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) they are treated as finite verbs with the distinguishing feature Person=0 marking their morphologically impersonal status.

Three other differences probably stem from the lack of appropriate information in the data that was used to develop \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\). First, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) does not distinguish between relative and interrogative uses of such (broadly understood) pronouns as kto ‘who’, co ‘what’ and który ‘which’, marking them all as PronType=Int,Rel, i.e., as ‘interrogative or relative’. In contrast, such pronouns are appropriately marked as interrogative or as relative, i.e., they are disambiguated in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\).

Second, the UD coarse part of speech tag X, “used for words that for some reason cannot be assigned a real part-of-speech category”,Footnote 25 is used in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) in two situations. One is easy to correct (as well as rare) and concerns predicative-only (short) adjectives—such forms are in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) tagged as ADJ and assigned the Variant=Short feature. The other concerns 273 tokens (with 46 different lemmata) of abbreviations. Such abbreviations are tagged with specific parts of speech (in morphosyntactic features) in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\), but only as X in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\).

Third, last and certainly least, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) does not distinguish between prepositions and postpositions, marking them all as AdpType=Prep. But as there is only one clear exception to the generalisation that Polish adpositions are always prepositions, namely, the postposition temu ‘ago’, this only affects 28 tokens representing this lemma.

6.3 Syntax

The fundamental difference between \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) and \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) is the presence of enhanced dependencies in the latter. The intensive use of secondary edges in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) makes it possible to express many syntactic relations absent in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), including grammatical control and sharing of dependents between conjuncts in coordinate structures.

Apart from this, probably the biggest conceptual difference between the two UD treebanks of Polish concerns the argument–adjunct distinction, as well as the definition of direct and indirect objects. \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) attempts to follow the general UD philosophy of not trying to distinguish arguments from adjuncts:Footnote 26

The UD taxonomy is centered around the fairly clear distinction between core arguments (subjects, objects, clausal complements) versus other dependents. It does not make a distinction between adjuncts (general modifiers) versus oblique arguments (arguments said to be selected by a head but not expressed as a core argument).Footnote 27

Following this philosophy, nominal core arguments (subjects, direct and indirect objects) are defined in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) in a narrow and linguistically well-founded way, with the effect that many broadly nominal dependents—both bare and prepositional—which would traditionally be classified as complements (i.e., arguments) are not distinguished from traditional nominal adjuncts.

On the other hand, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) reintroduces the argument–adjunct distinction: apart from defining objects in a very broad and somewhat inconsistent way (see below), it also splits the oblique dependents into arguments, marked as obl:arg, and adjuncts, marked as obl (without any explicit subtype). The proposal to re-introduce argument–adjunct distinction into UD is explicitly presented in Zeman (2017).

A related important difference is the definition of direct objects, marked as obj. In \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\), direct object is defined in a precise and at the same time traditional (e.g. Gołąb et al. 1968: 132, Urbańczyk 1992: 62) way as that dependent of a verb which is realised as the subject in passive occurrences of this verb. On the other hand, in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) the label obj is used for all (non-subject) bare nominal arguments, whether they passivise or not. Given that there are also bare nominal adjuncts in Polish, this definition of direct objects again presupposes the argument–adjunct distinction. Also, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) treats subcategorised clauses, marked as ccomp, as direct objects. Since there is a ban on two direct object dependents of a single verb, the situation where one verb has a ccomp dependent and an obj dependent is not allowed—as discussed immediately below, the direct object is then re-analysed as an indirect object.

Also the definitions of indirect objects, iobj, differ in the two treebanks, although neither is optimal. In \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\), indirect objects are defined as subcategorised bare dative (non-passivisable) dependents; the subcategorisation requirement re-introduces—albeit in a very limited way—the argument–adjunct dichotomy. While such limited references to this dichotomy are present also elsewhere in the UD standard, this goes against the spirit of UD and should be changed in future editions of \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\); since traditional Polish grammars do not recognise the class of indirect objects, perhaps all iobj labels should simply be replaced by obl labels. The definition of indirect objects in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) is even more questionable: if there are two candidates for the direct object dependency, only one is assigned the obj label. In particular, if a subcategorised clause is one of the two candidates, it is assigned the status of direct object and the bare accusative dependent receives the iobj label. This leads to some annotations which are in direct conflict with linguistically motivated definitions of direct objects. For example, in (48) (sentence train-s2613 in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\)), the verb spytało ‘asked’ combines with the numeral subject kilka osób ‘several people’, the accusative nominal mnie ‘me’ and the subordinate clause czy jestem... ‘whether I am...’; since the subordinate clause is subcategorised, it is marked as ccomp, but in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) that means that mnie ‘me’ must be marked as indirect object, iobj, even though it becomes the subject under passivisation and it occurs in the accusative case, so it is a prototypical direct object.

(48)

Kilka

osób

spytało

mnie,

czy

jestem

dzięki

feminizmowi

several

people

asked

me.acc.sg

whether

am.1sg

thanks

feminism.dat

szczęśliwsza.

happier.nom.sg.f

‘Some people have asked me whether feminism made me happier.’

This leads to inconsistencies in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), as in other sentences, lacking such subordinate clause dependents, analogous accusative dependents are correctly marked as direct objects (obj), as is the case with ‘her’ in (49) (sentence train-s2739 in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\)):

(49)

Chciał

spytać

o

wiele

rzeczy.

wanted

her.acc

ask.inf

about

many

things

‘He wanted to ask her about many things.’

Since mnie ‘me’ in (48) and ‘her’ in (49) bear exactly the same semantic role with respect to the two forms of the verb spytać ‘ask’ and have the same grammatical properties (passivisability, grammatical case, etc.), this is a clear case of intra-linguistic annotation inconsistency.

In summary, we believe that the approach to grammatical functions in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) is both more consistent intra-linguistically and more justified linguistically than in the case of \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\).

It is perhaps worth noting that, because of the fundamental differences discussed in this section, especially the lack of enhanced dependencies modelling dependent-sharing in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) and very different approaches to direct and indirect objects in the two treebanks, as well as due to the lack of certain kinds of morphosyntactic information in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) pointed out in the previous section, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) cannot easily be converted to the \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) schema.

6.4 Underlying data

The ultimate source of texts and original morphosyntactic information in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) is the 1-million-word manually annotated subcorpus of the National Corpus of Polish, which is also the source of almost 85% of texts in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\). This means that the values of the XPOS field of the CoNLL-U representation used in UD are taken from the same tagset, but—given that some morphosyntactic analyses were modified in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\)—not that they would necessarily be identical for the same sentence in the two treebanks. For example, typical (non-agreeing) numerals in the subject position are marked as nominative in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) but as accusative in \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\), in accordance with the analysis of such subjects in Przepiórkowski (1999, 2004) (and following some earlier observations, including Małecki 1863: 297 and Franks 1995: 139).

The sizes of the two treebanks are compared in Table 2.

Table 2 Quantitative comparison of \({\hbox{UD}}_{\textsc{sz}}^{{\textsc{pl}}}\) and \({\hbox{UD}}_{\textsc{lfg}}^{{\textsc{pl}}}\)

\(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) is much larger: it contains 17,246 running sentences (17,190 types; duplicate sentences have different analyses), compared to 8227 running sentences in \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) (8139 types; duplicate sentences may have the same analyses). In terms of running tokens, the respective numbers are 130,967 (\(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\)) vs. 84,316 (\(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\)), which implies that \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\) sentences are longer on the average. \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\) is also a little richer lexically (which is to be expected, given the bigger size).

7 Conclusion

It is well known that simple dependency trees are not sufficiently expressive to adequately represent such important linguistic information as grammatical control or dependent-sharing in coordinate structures. Theoretical dependency approaches attempt to compensate for such expressive deficiencies either by assuming representations going beyond dependency trees (e.g. Tesnière’s 1959, 2015 Dependency Syntax or Hudson’s 1984, 2010 Word Grammar) or by postulating multiple levels of representation, each of which might be a simple tree (e.g. Mel’čuk’s 1988, 2009 Meaning–Text Theory or the Praguian Functional Generative Description of Sgall et al. 1986). The current version of the Universal Dependencies standard for treebank annotation adopts both approaches: it assumes two representations, one of which is a dependency graph, rather than a simple dependency tree.

Given this richer expressive power of enhanced UD, the natural question is to what extent information may be preserved in the conversion from full-fledged linguistic annotations offered by theories such as Lexical Functional Grammar. While we have not performed a formal and exhaustive comparison of the two annotation schemata, we approached this question from a practical perspective, by performing a conversion of an existing LFG treebank to UD. The conclusion is that relatively little information is lost in translation. Moreover, the reasons for this loss are not fundamental to the UD approach, and may easily be rectified in future versions of this standard.

The resulting treebank, \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\), is one of the first treebanks to make extensive use of such enhanced representations. Also, it is considerably larger than the previous UD treebank of Polish, \(\hbox {UD}_{ \textsc {sz}}^{{\textsc {pl}}}\), and it is free from a number of deficiencies present in that previous treebank. An accompanying monograph—Patejuk and Przepiórkowski (2018)—documents the input LFG treebank of Polish, describes the conversion procedure in minute detail, and presents the resulting UD treebank in a more meticulous way. We hope that \(\hbox {UD}_{ \textsc {lfg}}^{{\textsc {pl}}}\)—available directly from http://universaldependencies.org/ and searchable via the INESS infrastructure at http://clarino.uib.no/iness/ (where it is called pol-ud-lfg-2.2-dep)—will turn out to be useful both for natural language processing applications, and in linguistic research.