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:
Había llegado a fines del siglo anterior huyendo del flagelo de fiebre amarilla que asoló a Panamá durante la construcción del ferrocarril de los dos océanos, junto con muchos otros que aquí se quedaron hasta morir, viviendo en chino, proliferando en chino, y tan parecidos los unos a los otros que nadie podía distinguirlos.
Postion	Tokenization
1	Había
2	llegado
3	a
4	fines
5	del
6	siglo
7	anterior
8	huyendo
9	del
10	flagelo
11	de
12	fiebre
13	amarilla
14	que
15	asoló
16	a
17	Panamá
18	durante
19	la
20	construcción
21	del
22	ferrocarril
23	de
24	los
25	dos
26	océanos
27	,
28	junto
29	con
30	muchos
31	otros
32	que
33	aquí
34	se
35	quedaron
36	hasta
37	morir
38	,
39	viviendo
40	en
41	chino
42	,
43	proliferando
44	en
45	chino
46	,
47	y
48	tan
49	parecidos
50	los
51	unos
52	a
53	los
54	otros
55	que
56	nadie
57	podía
58	distinguirlos
59	distinguir
60	los
61	.
Position	Tokenization	UPOS	Head	Deprel
1	Había	AUX	2	aux
2	llegado	VERB	0	root
3	a	ADP	4	case
4	fines	NOUN	2	obl
5	del	ADP	6	case
6	siglo	NOUN	4	nmod
7	anterior	ADJ	6	amod
8	huyendo	VERB	2	advcl
9	del	ADP	10	case
10	flagelo	NOUN	8	obl
11	de	ADP	12	case
12	fiebre	NOUN	10	nmod
13	amarilla	ADJ	12	amod
14	que	PRON	15	nsubj
15	asoló	VERB	10	acl
16	a	ADP	17	case
17	Panamá	PROPN	15	obj
18	durante	ADP	20	case
19	la	DET	20	det
20	construcción	NOUN	15	obl
21	del	ADP	22	case
22	ferrocarril	NOUN	20	nmod
23	de	ADP	26	case
24	los	DET	26	det
25	dos	NUM	24	nummod
26	océanos	NOUN	22	nmod
27	,	PUNCT	31	punct
28	junto	ADJ	31	case
29	con	ADP	28	fixed
30	muchos	DET	31	det
31	otros	PRON	2	obl
32	que	PRON	35	nsubj
33	aquí	ADV	35	advmod
34	se	PRON	35	expl:pv
35	quedaron	VERB	31	acl
36	hasta	ADP	37	mark
37	morir	VERB	35	advcl
38	,	PUNCT	39	punct
39	viviendo	VERB	35	advcl
40	en	ADP	41	case
41	chino	NOUN	39	obl
42	,	PUNCT	43	punct
43	proliferando	VERB	39	advcl
44	en	ADP	45	case
45	chino	NOUN	43	obl
46	,	PUNCT	43	punct
47	y	CCONJ	49	cc
48	tan	ADV	49	advmod
49	parecidos	VERB	39	conj
50	los	DET	51	det
51	unos	PRON	49	nsubj
52	a	ADP	54	case
53	los	DET	54	det
54	otros	PRON	51	nmod
55	que	SCONJ	58	mark
56	nadie	PRON	58	nsubj
57	podía	AUX	58	aux
58	distinguirlos	_	None	_
59	distinguir	VERB	49	advcl
60	los	PRON	58	obj
61	.	PUNCT	2	punct