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 despidió de las tropas chilenas y de una decena de compatriotas que se encuentran en la nación del Pacífico compartiendo con ellos un tradicional vaso de vino y un pedazo de empanada chilena, explicó Velasco.
Postion	Tokenization
1	Lagos
2	se
3	despidió
4	de
5	las
6	tropas
7	chilenas
8	y
9	de
10	una
11	decena
12	de
13	compatriotas
14	que
15	se
16	encuentran
17	en
18	la
19	nación
20	del
21	Pacífico
22	compartiendo
23	con
24	ellos
25	un
26	tradicional
27	vaso
28	de
29	vino
30	y
31	un
32	pedazo
33	de
34	empanada
35	chilena
36	,
37	explicó
38	Velasco
39	.
Position	Tokenization	UPOS	Head	Deprel
1	Lagos	PROPN	3	nsubj
2	se	PRON	3	expl:pv
3	despidió	VERB	37	ccomp
4	de	ADP	6	case
5	las	DET	6	det
6	tropas	NOUN	3	obj
7	chilenas	ADJ	6	amod
8	y	CCONJ	13	cc
9	de	ADP	13	case
10	una	DET	11	det
11	decena	NOUN	13	nmod
12	de	ADP	11	case
13	compatriotas	NOUN	6	conj
14	que	PRON	16	nsubj
15	se	PRON	16	expl:pv
16	encuentran	VERB	6	acl
17	en	ADP	19	case
18	la	DET	19	det
19	nación	NOUN	16	obl
20	del	ADP	21	case
21	Pacífico	PROPN	19	nmod
22	compartiendo	VERB	3	advcl
23	con	ADP	24	case
24	ellos	PRON	22	obl
25	un	DET	27	det
26	tradicional	ADJ	27	amod
27	vaso	NOUN	22	obj
28	de	ADP	29	case
29	vino	NOUN	27	nmod
30	y	CCONJ	32	cc
31	un	DET	32	det
32	pedazo	NOUN	27	conj
33	de	ADP	34	case
34	empanada	NOUN	32	nmod
35	chilena	ADJ	34	amod
36	,	PUNCT	3	punct
37	explicó	VERB	0	root
38	Velasco	PROPN	37	nsubj
39	.	PUNCT	37	punct