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:
Lorsque l'insurrection gagne les portes de Tunis, Zarrouk parvient à refouler les cavaliers tribaux à l'aide des régiments d'infanterie et de l'artillerie de l'armée régulière, encadrés par des instructeurs français que le consul de France met à sa disposition.
Postion	Tokenization
1	Lorsque
2	l'
3	insurrection
4	gagne
5	les
6	portes
7	de
8	Tunis
9	,
10	Zarrouk
11	parvient
12	à
13	refouler
14	les
15	cavaliers
16	tribaux
17	à
18	l'
19	aide
20	des
21	de
22	les
23	régiments
24	d'
25	infanterie
26	et
27	de
28	l'
29	artillerie
30	de
31	l'
32	armée
33	régulière
34	,
35	encadrés
36	par
37	des
38	instructeurs
39	français
40	que
41	le
42	consul
43	de
44	France
45	met
46	à
47	sa
48	disposition
49	.
Position	Tokenization	UPOS	Head	Deprel
1	Lorsque	SCONJ	4	mark
2	l'	DET	3	det
3	insurrection	NOUN	4	nsubj
4	gagne	VERB	11	advcl
5	les	DET	6	det
6	portes	NOUN	4	obj
7	de	ADP	8	case
8	Tunis	PROPN	6	nmod
9	,	PUNCT	4	punct
10	Zarrouk	PROPN	11	nsubj
11	parvient	VERB	0	root
12	à	ADP	13	mark
13	refouler	VERB	11	xcomp:obl
14	les	DET	15	det
15	cavaliers	NOUN	13	obj
16	tribaux	ADJ	15	amod
17	à	ADP	19	case
18	l'	DET	19	det
19	aide	NOUN	13	obl:mod
20	des	_	None	_
21	de	ADP	22	case
22	les	DET	22	det
23	régiments	NOUN	19	nmod
24	d'	ADP	24	case
25	infanterie	NOUN	22	nmod
26	et	CCONJ	28	cc
27	de	ADP	28	case
28	l'	DET	28	det
29	artillerie	NOUN	24	conj
30	de	ADP	31	case
31	l'	DET	31	det
32	armée	NOUN	28	nmod
33	régulière	ADJ	31	amod
34	,	PUNCT	34	punct
35	encadrés	VERB	22	acl
36	par	ADP	37	case
37	des	DET	37	det
38	instructeurs	NOUN	34	obl:agent
39	français	ADJ	37	amod
40	que	PRON	44	obj
41	le	DET	41	det
42	consul	NOUN	44	nsubj
43	de	ADP	43	case
44	France	PROPN	41	nmod
45	met	VERB	37	acl:relcl
46	à	ADP	47	case
47	sa	DET	47	det
48	disposition	NOUN	44	obl:arg
49	.	PUNCT	11	punct