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 de los socialistas gallegos convocó el proceso de primarias para elegir el candidato a la Xunta, y fue él el primero en presentarse, aunque después anunciara también su intención Gilberto Vila, un militante de base de Gondomar.
Postion	Tokenization
1	El
2	secretario
3	general
4	de
5	los
6	socialistas
7	gallegos
8	convocó
9	el
10	proceso
11	de
12	primarias
13	para
14	elegir
15	el
16	candidato
17	a
18	la
19	Xunta
20	,
21	y
22	fue
23	él
24	el
25	primero
26	en
27	presentarse
28	presentar
29	se
30	,
31	aunque
32	después
33	anunciara
34	también
35	su
36	intención
37	Gilberto
38	Vila
39	,
40	un
41	militante
42	de
43	base
44	de
45	Gondomar
46	.
Position	Tokenization	UPOS	Head	Deprel
1	El	DET	2	det
2	secretario	NOUN	8	nsubj
3	general	ADJ	2	amod
4	de	ADP	6	case
5	los	DET	6	det
6	socialistas	NOUN	2	nmod
7	gallegos	ADJ	6	amod
8	convocó	VERB	0	root
9	el	DET	10	det
10	proceso	NOUN	8	obj
11	de	ADP	12	case
12	primarias	NOUN	10	nmod
13	para	ADP	14	mark
14	elegir	VERB	8	advcl
15	el	DET	16	det
16	candidato	NOUN	14	obj
17	a	ADP	19	case
18	la	DET	19	det
19	Xunta	PROPN	16	nmod
20	,	PUNCT	25	punct
21	y	CCONJ	25	cc
22	fue	AUX	25	cop
23	él	PRON	25	nsubj
24	el	DET	25	det
25	primero	ADJ	8	conj
26	en	ADP	27	mark
27	presentarse	_	None	_
28	presentar	VERB	25	acl
29	se	PRON	27	obj
30	,	PUNCT	32	punct
31	aunque	SCONJ	32	mark
32	después	ADV	32	advmod
33	anunciara	VERB	25	advcl
34	también	ADV	32	advmod
35	su	DET	35	det
36	intención	NOUN	32	obj
37	Gilberto	PROPN	32	nsubj
38	Vila	PROPN	36	flat
39	,	PUNCT	40	punct
40	un	DET	40	det
41	militante	NOUN	36	appos
42	de	ADP	42	case
43	base	NOUN	40	nmod
44	de	ADP	44	case
45	Gondomar	PROPN	40	nmod
46	.	PUNCT	8	punct