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:
En 1324, alors que Perpignan était la capitale du royaume de Majorque, le roi Sanche lança le chantier du nouvel édifice qui, s'il n'était pas la cathédrale en titre du diocèse, n'avait pas moins l'ambition de le devenir.
Postion	Tokenization
1	En
2	1324
3	,
4	alors
5	que
6	Perpignan
7	était
8	la
9	capitale
10	du
11	de
12	le
13	royaume
14	de
15	Majorque
16	,
17	le
18	roi
19	Sanche
20	lança
21	le
22	chantier
23	du
24	de
25	le
26	nouvel
27	édifice
28	qui
29	,
30	s'
31	il
32	n'
33	était
34	pas
35	la
36	cathédrale
37	en
38	titre
39	du
40	de
41	le
42	diocèse
43	,
44	n'
45	avait
46	pas
47	moins
48	l'
49	ambition
50	de
51	le
52	devenir
53	.
Position	Tokenization	UPOS	Head	Deprel
1	En	ADP	2	case
2	1324	NUM	19	obl:mod
3	,	PUNCT	2	punct
4	alors	ADV	9	mark
5	que	SCONJ	4	fixed
6	Perpignan	PROPN	9	nsubj
7	était	AUX	9	cop
8	la	DET	9	det
9	capitale	NOUN	19	advcl
10	du	_	None	_
11	de	ADP	12	case
12	le	DET	12	det
13	royaume	NOUN	9	nmod
14	de	ADP	14	case
15	Majorque	PROPN	12	nmod
16	,	PUNCT	9	punct
17	le	DET	17	det
18	roi	NOUN	19	nsubj
19	Sanche	PROPN	17	appos
20	lança	VERB	0	root
21	le	DET	21	det
22	chantier	NOUN	19	obj
23	du	_	None	_
24	de	ADP	25	case
25	le	DET	25	det
26	nouvel	ADJ	25	amod
27	édifice	NOUN	21	nmod
28	qui	PRON	42	nsubj
29	,	PUNCT	26	punct
30	s'	SCONJ	34	mark
31	il	PRON	34	nsubj
32	n'	ADV	34	advmod
33	était	AUX	34	cop
34	pas	ADV	34	advmod
35	la	DET	34	det
36	cathédrale	NOUN	42	advcl
37	en	ADP	36	case
38	titre	NOUN	34	nmod
39	du	_	None	_
40	de	ADP	39	case
41	le	DET	39	det
42	diocèse	NOUN	34	nmod
43	,	PUNCT	34	punct
44	n'	ADV	42	advmod
45	avait	VERB	25	acl:relcl
46	pas	ADV	44	advmod
47	moins	ADV	42	advmod
48	l'	DET	46	det
49	ambition	NOUN	42	obj
50	de	ADP	49	mark
51	le	PRON	49	xcomp:pred
52	devenir	VERB	46	acl
53	.	PUNCT	19	punct