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:
Según los magistrados del TRE, el cambio del registro del título electoral de Collor de Maceió, capital del estado de Alagoas, a Sao Paulo, fue aprobado por un juez al que no le correspondía el caso, por lo que el fallo carece de validez.
Postion	Tokenization
1	Según
2	los
3	magistrados
4	del
5	TRE
6	,
7	el
8	cambio
9	del
10	registro
11	del
12	título
13	electoral
14	de
15	Collor
16	de
17	Maceió
18	,
19	capital
20	del
21	estado
22	de
23	Alagoas
24	,
25	a
26	Sao
27	Paulo
28	,
29	fue
30	aprobado
31	por
32	un
33	juez
34	al
35	que
36	no
37	le
38	correspondía
39	el
40	caso
41	,
42	por
43	lo
44	que
45	el
46	fallo
47	carece
48	de
49	validez
50	.
Position	Tokenization	UPOS	Head	Deprel
1	Según	ADP	3	case
2	los	DET	3	det
3	magistrados	NOUN	30	obl
4	del	ADP	5	case
5	TRE	PROPN	3	nmod
6	,	PUNCT	3	punct
7	el	DET	8	det
8	cambio	NOUN	30	nsubj
9	del	ADP	10	case
10	registro	NOUN	8	nmod
11	del	ADP	12	case
12	título	NOUN	8	nmod
13	electoral	ADJ	12	amod
14	de	ADP	15	case
15	Collor	PROPN	8	nmod
16	de	ADP	17	case
17	Maceió	PROPN	15	flat
18	,	PUNCT	19	punct
19	capital	NOUN	15	appos
20	del	ADP	21	case
21	estado	NOUN	19	nmod
22	de	ADP	23	case
23	Alagoas	PROPN	21	nmod
24	,	PUNCT	19	punct
25	a	ADP	26	case
26	Sao	PROPN	8	nmod
27	Paulo	PROPN	26	flat
28	,	PUNCT	8	punct
29	fue	AUX	30	aux
30	aprobado	VERB	0	root
31	por	ADP	33	case
32	un	DET	33	det
33	juez	NOUN	30	obj
34	al	ADP	35	case
35	que	PRON	38	obj
36	no	ADV	38	advmod
37	le	PRON	38	obj
38	correspondía	VERB	33	acl
39	el	DET	40	det
40	caso	NOUN	38	nsubj
41	,	PUNCT	47	punct
42	por	ADP	47	mark
43	lo	PRON	47	det
44	que	PRON	47	obl
45	el	DET	46	det
46	fallo	NOUN	47	nsubj
47	carece	VERB	30	advcl
48	de	ADP	49	case
49	validez	NOUN	47	obj
50	.	PUNCT	30	punct