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:
Las protestas, que se extendieron de Pekín a ciudades como Shanghai (este) y Cantón (sur), causaron daños importantes tanto en la Embajada de Estados Unidos en Pekín como en el resto de los edificios consulares que mantiene ese país en territorio chino.
Postion	Tokenization
1	Las
2	protestas
3	,
4	que
5	se
6	extendieron
7	de
8	Pekín
9	a
10	ciudades
11	como
12	Shanghai
13	(
14	este
15	)
16	y
17	Cantón
18	(
19	sur
20	)
21	,
22	causaron
23	daños
24	importantes
25	tanto
26	en
27	la
28	Embajada
29	de
30	Estados
31	Unidos
32	en
33	Pekín
34	como
35	en
36	el
37	resto
38	de
39	los
40	edificios
41	consulares
42	que
43	mantiene
44	ese
45	país
46	en
47	territorio
48	chino
49	.
Position	Tokenization	UPOS	Head	Deprel
1	Las	DET	2	det
2	protestas	NOUN	22	nsubj
3	,	PUNCT	6	punct
4	que	PRON	6	nsubj
5	se	PRON	6	expl:pv
6	extendieron	VERB	2	acl
7	de	ADP	8	case
8	Pekín	PROPN	6	obl
9	a	ADP	10	case
10	ciudades	NOUN	6	obl
11	como	SCONJ	12	mark
12	Shanghai	PROPN	10	nmod
13	(	PUNCT	14	punct
14	este	NOUN	12	appos
15	)	PUNCT	14	punct
16	y	CCONJ	17	cc
17	Cantón	PROPN	12	conj
18	(	PUNCT	19	punct
19	sur	NOUN	17	appos
20	)	PUNCT	19	punct
21	,	PUNCT	6	punct
22	causaron	VERB	0	root
23	daños	NOUN	22	obj
24	importantes	ADJ	23	amod
25	tanto	ADV	28	cc
26	en	ADP	28	case
27	la	DET	28	det
28	Embajada	PROPN	22	obl
29	de	ADP	30	case
30	Estados	PROPN	28	nmod
31	Unidos	PROPN	30	flat
32	en	ADP	33	case
33	Pekín	PROPN	28	nmod
34	como	SCONJ	40	cc
35	en	ADP	40	case
36	el	DET	37	det
37	resto	NOUN	40	nmod
38	de	ADP	37	case
39	los	DET	37	det
40	edificios	NOUN	28	conj
41	consulares	ADJ	40	amod
42	que	PRON	43	obj
43	mantiene	VERB	40	acl
44	ese	DET	45	det
45	país	NOUN	43	nsubj
46	en	ADP	47	case
47	territorio	NOUN	43	obl
48	chino	ADJ	47	amod
49	.	PUNCT	22	punct