He had spent the afternoon preparing for this visit as carefully as if he were preparing for an exam.
1	He	he	PRON	PRP	Case=Nom|Gender=Masc|Number=Sing|Person=3|PronType=Prs	3	nsubj	3:nsubj	Discourse=context-background:18->16:1|Entity=(7-person-giv:act-cf1*-1-ana)
2	had	have	AUX	VBD	Mood=Ind|Number=Sing|Person=3|Tense=Past|VerbForm=Fin	3	aux	3:aux	_
3	spent	spend	VERB	VBN	Tense=Past|VerbForm=Part	0	root	0:root	_
4	the	the	DET	DT	Definite=Def|PronType=Art	5	det	5:det	Entity=(25-time-acc:com-cf3-2-sgl
5	afternoon	afternoon	NOUN	NN	Number=Sing	3	obj	3:obj	Entity=25)
6	preparing	prepare	VERB	VBG	VerbForm=Ger	3	advcl	3:advcl	_
7	for	for	ADP	IN	_	9	case	9:case	_
8	this	this	DET	DT	Number=Sing|PronType=Dem	9	det	9:det	Entity=(6-event-giv:inact-cf2-2-coref
9	visit	visit	NOUN	NN	Number=Sing	6	obl	6:obl:for	Entity=6)
10	as	as	ADV	RB	_	11	advmod	11:advmod	_
11	carefully	carefully	ADV	RB	Degree=Pos	6	advmod	6:advmod	_
12	as	as	SCONJ	IN	_	16	mark	16:mark	Discourse=mode-manner:19->18:0
13	if	if	ADP	IN	_	12	fixed	12:fixed	_
14	he	he	PRON	PRP	Case=Nom|Gender=Masc|Number=Sing|Person=3|PronType=Prs	16	nsubj	16:nsubj	Entity=(7-person-giv:act-cf1*-1-ana)
15	were	be	AUX	VBD	Mood=Ind|Number=Plur|Person=3|Tense=Past|VerbForm=Fin	16	aux	16:aux	_
16	preparing	prepare	VERB	VBG	Tense=Pres|VerbForm=Part	11	advcl	11:advcl:as_if	_
17	for	for	ADP	IN	_	19	case	19:case	_
18	an	a	DET	DT	Definite=Ind|PronType=Art	19	det	19:det	Entity=(26-event-new-cf4-2-sgl
19	exam	exam	NOUN	NN	Number=Sing	16	obl	16:obl:for	Entity=26)|SpaceAfter=No
20	.	.	PUNCT	.	_	3	punct	3:punct	_
