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:
Han fallado las formas diplomáticas y hay que cambiarlas una retirada a tiempo no siempre es una victoria, máxime cuando se estuvo predicando durante meses la guerra santa contra la pérfida Alemania y su manía de resistirse a mantener los fondos estructurales y de cohesión para España hasta pasado el 2006.
Postion	Tokenization
1	Han
2	fallado
3	las
4	formas
5	diplomáticas
6	y
7	hay
8	que
9	cambiarlas
10	cambiar
11	las
12	una
13	retirada
14	a
15	tiempo
16	no
17	siempre
18	es
19	una
20	victoria
21	,
22	máxime
23	cuando
24	se
25	estuvo
26	predicando
27	durante
28	meses
29	la
30	guerra
31	santa
32	contra
33	la
34	pérfida
35	Alemania
36	y
37	su
38	manía
39	de
40	resistirse
41	resistir
42	se
43	a
44	mantener
45	los
46	fondos
47	estructurales
48	y
49	de
50	cohesión
51	para
52	España
53	hasta
54	pasado
55	el
56	2006
57	.
Position	Tokenization	UPOS	Head	Deprel
1	Han	AUX	2	aux
2	fallado	VERB	19	parataxis
3	las	DET	4	det
4	formas	NOUN	2	nsubj
5	diplomáticas	ADJ	4	amod
6	y	CCONJ	7	cc
7	hay	AUX	2	conj
8	que	SCONJ	9	cc
9	cambiarlas	_	None	_
10	cambiar	VERB	7	conj
11	las	PRON	9	obj
12	una	DET	12	det
13	retirada	NOUN	19	nsubj
14	a	ADP	12	advmod
15	tiempo	NOUN	13	fixed
16	no	ADV	19	advmod
17	siempre	ADV	19	advmod
18	es	AUX	19	cop
19	una	DET	19	det
20	victoria	NOUN	0	root
21	,	PUNCT	25	punct
22	máxime	ADV	25	advmod
23	cuando	SCONJ	25	mark
24	se	PRON	25	expl:pass
25	estuvo	AUX	25	aux
26	predicando	VERB	19	advcl
27	durante	ADP	27	case
28	meses	NOUN	25	obl
29	la	DET	29	det
30	guerra	NOUN	25	obj
31	santa	ADJ	29	amod
32	contra	ADP	33	case
33	la	DET	33	det
34	pérfida	NOUN	29	nmod
35	Alemania	PROPN	33	appos
36	y	CCONJ	37	cc
37	su	DET	37	det
38	manía	NOUN	29	conj
39	de	ADP	39	mark
40	resistirse	_	None	_
41	resistir	VERB	37	acl
42	se	PRON	39	expl:pv
43	a	ADP	42	mark
44	mantener	VERB	39	xcomp
45	los	DET	44	det
46	fondos	NOUN	42	obj
47	estructurales	ADJ	44	amod
48	y	CCONJ	48	cc
49	de	ADP	48	case
50	cohesión	NOUN	45	conj
51	para	ADP	50	case
52	España	PROPN	44	nmod
53	hasta	ADP	52	mark
54	pasado	VERB	39	advcl
55	el	DET	54	det
56	2006	NOUN	52	nsubj
57	.	PUNCT	19	punct