As a helpful and smart assistant, your task is to parse a given text in any language to Universal Dependency (UD) format including POS tags and dependency relations (HEAD and DEPREL).
Key Components of UD Annotation:
1. Tokens: The fundamental units within UD are tokens. These can be individual words, punctuation marks, or even parts of multi-word expressions. Each token has several associated attributes.
2. UPOS Tags: The UPOS field in the CoNLL-U format represents the universal part-of-speech tag assigned to each word. This tag is part of a universal POS tag set designed to be applicable across different languages. The UPOS tags include categories such as NOUN, VERB, ADJ (adjective), ADV (adverb), PRON (pronoun), DET (determiner), and more. 
3. Dependency Relations: Dependency relations are the core of the syntactic representation. They form a tree structure over the tokens in a sentence. Here's how they work:
    - HEAD: This field indicates the head of the current word. The head is the word that the current word is connected to in the dependency parse tree. The value is an integer that corresponds to the ID of the head word within the same sentence. A value of zero (0) indicates that the word is the root of the sentence.
    - DEPREL: The DEPREL field specifies the type of dependency relation between the current word and its head (as specified in the HEAD field). The value is a universal dependency relation or a language-specific subtype of such a relation.
Note: Blank lines are used to mark the boundaries between sentences.
Example:
Let's analyze this sentence with its UD annotation:
"The big dog chased the cat."
1. Tokenization:
- The
- big
- dog
- chased
- the
- cat
- .
2. UPOS Tags:
- The: DET
- big: ADJ
- dog: NOUN
- chased: VERB
- the: DET
- cat: NOUN
- .: PUNCT
3. Head node (parent):
- The: the parent of this word is "dog" at position 3
- big: the parent of this word is "dog" at position 3
- dog: the parent of this word is "chased" at position 4
- chased: this is the root node, therefore its head is 0
- the: the parent of this word is "cat" at position 6
- cat: the parent of this word is "chased" at position 4
- .: the parent of this word is "chased" at position 4
3. Dependency Relations:
- root(ROOT, chased)
- det(dog, The)
- amod(dog, big)
- nsubj(chased, dog)
- det(cat, the)
- obj(chased, cat)
Combining the above annotations, the final output in UD format is:
Position	Tokenization	UPOS	Head	Deprel
1	The	DET	3	det
2	big	ADJ	3	amod
3	dog	NOUN	4	nsubj
4	chased	VERB	0	ROOT
5	the	DET	6	det
6	cat	NOUN	4	obj
7	.	PUNCT	4	punct
Generate UD annotations for the following tokenized text:
El secretario general del PSdeG, Emilio Pérez Touriño, ha quedado proclamado candidato de esta formación a la Presidencia de la Xunta, al cerrarse el proceso de primarias iniciado por los socialistas gallegos y por ser el único aspirante que ha conseguido los avales necesarios.
Postion	Tokenization
1	El
2	secretario
3	general
4	del
5	PSdeG
6	,
7	Emilio
8	Pérez
9	Touriño
10	,
11	ha
12	quedado
13	proclamado
14	candidato
15	de
16	esta
17	formación
18	a
19	la
20	Presidencia
21	de
22	la
23	Xunta
24	,
25	al
26	cerrarse
27	cerrar
28	se
29	el
30	proceso
31	de
32	primarias
33	iniciado
34	por
35	los
36	socialistas
37	gallegos
38	y
39	por
40	ser
41	el
42	único
43	aspirante
44	que
45	ha
46	conseguido
47	los
48	avales
49	necesarios
50	.
Position	Tokenization	UPOS	Head	Deprel
1	El	DET	2	det
2	secretario	NOUN	12	nsubj
3	general	ADJ	2	amod
4	del	ADP	5	case
5	PSdeG	PROPN	2	nmod
6	,	PUNCT	7	punct
7	Emilio	PROPN	2	appos
8	Pérez	PROPN	7	flat
9	Touriño	PROPN	7	flat
10	,	PUNCT	7	punct
11	ha	AUX	12	aux
12	quedado	VERB	0	root
13	proclamado	ADJ	12	obj
14	candidato	NOUN	13	obj
15	de	ADP	17	case
16	esta	DET	17	det
17	formación	NOUN	14	nmod
18	a	ADP	20	case
19	la	DET	20	det
20	Presidencia	PROPN	14	nmod
21	de	ADP	23	case
22	la	DET	23	det
23	Xunta	PROPN	20	flat
24	,	PUNCT	26	punct
25	al	ADP	26	mark
26	cerrarse	_	None	_
27	cerrar	VERB	12	advcl
28	se	PRON	26	expl:pass
29	el	DET	29	det
30	proceso	NOUN	26	nsubj
31	de	ADP	31	case
32	primarias	NOUN	29	nmod
33	iniciado	ADJ	29	amod
34	por	ADP	35	case
35	los	DET	35	det
36	socialistas	NOUN	32	obj
37	gallegos	ADJ	35	amod
38	y	CCONJ	42	cc
39	por	ADP	42	mark
40	ser	AUX	42	cop
41	el	DET	42	det
42	único	ADJ	42	amod
43	aspirante	NOUN	26	conj
44	que	PRON	45	nsubj
45	ha	AUX	45	aux
46	conseguido	VERB	42	acl
47	los	DET	47	det
48	avales	NOUN	45	obj
49	necesarios	ADJ	47	amod
50	.	PUNCT	12	punct