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:
Lagos se ha convertido en el primer jefe de Estado de Latinoamérica que visita Timor Oriental desde que sus habitantes votaron por la independencia en un referéndum celebrado el 30 de agosto de 1999, y que fue precedido por una oleada de violencia y destrucción protagonizada por las milicias y soldados indonesios.
Postion	Tokenization
1	Lagos
2	se
3	ha
4	convertido
5	en
6	el
7	primer
8	jefe
9	de
10	Estado
11	de
12	Latinoamérica
13	que
14	visita
15	Timor
16	Oriental
17	desde
18	que
19	sus
20	habitantes
21	votaron
22	por
23	la
24	independencia
25	en
26	un
27	referéndum
28	celebrado
29	el
30	30
31	de
32	agosto
33	de
34	1999
35	,
36	y
37	que
38	fue
39	precedido
40	por
41	una
42	oleada
43	de
44	violencia
45	y
46	destrucción
47	protagonizada
48	por
49	las
50	milicias
51	y
52	soldados
53	indonesios
54	.
Position	Tokenization	UPOS	Head	Deprel
1	Lagos	PROPN	4	nsubj
2	se	PRON	4	expl:pv
3	ha	AUX	4	aux
4	convertido	VERB	0	root
5	en	ADP	8	case
6	el	DET	8	det
7	primer	ADJ	8	amod
8	jefe	NOUN	4	obj
9	de	ADP	10	case
10	Estado	PROPN	8	nmod
11	de	ADP	12	case
12	Latinoamérica	PROPN	10	nmod
13	que	PRON	14	nsubj
14	visita	VERB	8	acl
15	Timor	PROPN	14	obj
16	Oriental	PROPN	15	flat
17	desde	ADP	21	mark
18	que	SCONJ	21	mark
19	sus	DET	20	det
20	habitantes	NOUN	21	nsubj
21	votaron	VERB	14	advcl
22	por	ADP	24	case
23	la	DET	24	det
24	independencia	NOUN	21	obl
25	en	ADP	27	case
26	un	DET	27	det
27	referéndum	NOUN	21	obl
28	celebrado	ADJ	27	amod
29	el	DET	30	det
30	30	NUM	28	obl
31	de	ADP	32	case
32	agosto	NOUN	30	compound
33	de	ADP	34	case
34	1999	NUM	30	compound
35	,	PUNCT	39	punct
36	y	CCONJ	39	cc
37	que	PRON	39	nsubj
38	fue	AUX	39	aux
39	precedido	VERB	28	conj
40	por	ADP	42	case
41	una	DET	42	det
42	oleada	NOUN	39	obj
43	de	ADP	44	case
44	violencia	NOUN	42	nmod
45	y	CCONJ	46	cc
46	destrucción	NOUN	44	conj
47	protagonizada	ADJ	42	amod
48	por	ADP	50	case
49	las	DET	50	det
50	milicias	NOUN	47	obj
51	y	CCONJ	52	cc
52	soldados	NOUN	50	conj
53	indonesios	ADJ	52	amod
54	.	PUNCT	4	punct