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:
The screw-up was the kind of things you have happen when you have bean-counters (and McNamara was nothing if not a bean-counter) instead of soldiers in charge of the military.
Postion	Tokenization
1	The
2	screw
3	-
4	up
5	was
6	the
7	kind
8	of
9	things
10	you
11	have
12	happen
13	when
14	you
15	have
16	bean
17	-
18	counters
19	(
20	and
21	McNamara
22	was
23	nothing
24	if
25	not
26	a
27	bean
28	-
29	counter
30	)
31	instead
32	of
33	soldiers
34	in
35	charge
36	of
37	the
38	military
39	.
Position	Tokenization	UPOS	Head	Deprel
1	The	DET	4	det
2	screw	NOUN	4	compound
3	-	PUNCT	4	punct
4	up	NOUN	7	nsubj
5	was	AUX	7	cop
6	the	DET	7	det
7	kind	NOUN	0	root
8	of	ADP	9	case
9	things	NOUN	7	nmod
10	you	PRON	11	nsubj
11	have	VERB	7	acl:relcl
12	happen	VERB	11	xcomp
13	when	SCONJ	15	mark
14	you	PRON	15	nsubj
15	have	VERB	12	advcl
16	bean	NOUN	18	compound
17	-	PUNCT	18	punct
18	counters	NOUN	15	obj
19	(	PUNCT	23	punct
20	and	CCONJ	23	cc
21	McNamara	PROPN	23	nsubj
22	was	AUX	23	cop
23	nothing	PRON	18	parataxis
24	if	SCONJ	25	mark
25	not	ADV	29	advmod
26	a	DET	29	det
27	bean	NOUN	29	compound
28	-	PUNCT	29	punct
29	counter	NOUN	23	advcl
30	)	PUNCT	23	punct
31	instead	ADV	33	case
32	of	ADP	31	fixed
33	soldiers	NOUN	15	obl
34	in	ADP	35	case
35	charge	NOUN	15	obl
36	of	ADP	38	case
37	the	DET	38	det
38	military	NOUN	35	nmod
39	.	PUNCT	7	punct