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:
Ayer en Valencia consiguió resarcirse con el título de Copa, el segundo de su historia, de la amarga decepción que vivió el pasado año en la final de la Liga ACB ante el TDK.
Postion	Tokenization
1	Ayer
2	en
3	Valencia
4	consiguió
5	resarcirse
6	resarcir
7	se
8	con
9	el
10	título
11	de
12	Copa
13	,
14	el
15	segundo
16	de
17	su
18	historia
19	,
20	de
21	la
22	amarga
23	decepción
24	que
25	vivió
26	el
27	pasado
28	año
29	en
30	la
31	final
32	de
33	la
34	Liga
35	ACB
36	ante
37	el
38	TDK
39	.
Position	Tokenization	UPOS	Head	Deprel
1	Ayer	ADV	4	advmod
2	en	ADP	3	case
3	Valencia	PROPN	4	obl
4	consiguió	VERB	0	root
5	resarcirse	_	None	_
6	resarcir	VERB	4	xcomp
7	se	PRON	5	expl:pv
8	con	ADP	9	case
9	el	DET	9	det
10	título	NOUN	5	obl
11	de	ADP	11	case
12	Copa	PROPN	9	nmod
13	,	PUNCT	14	punct
14	el	DET	14	det
15	segundo	ADJ	9	appos
16	de	ADP	17	case
17	su	DET	17	det
18	historia	NOUN	14	nmod
19	,	PUNCT	14	punct
20	de	ADP	22	case
21	la	DET	22	det
22	amarga	ADJ	22	amod
23	decepción	NOUN	5	obl
24	que	PRON	24	obj
25	vivió	VERB	22	acl
26	el	DET	27	det
27	pasado	ADJ	27	amod
28	año	NOUN	24	obl
29	en	ADP	30	case
30	la	DET	30	det
31	final	NOUN	24	obl
32	de	ADP	33	case
33	la	DET	33	det
34	Liga	PROPN	30	nmod
35	ACB	PROPN	33	flat
36	ante	ADP	37	case
37	el	DET	37	det
38	TDK	PROPN	24	obl
39	.	PUNCT	4	punct