A small page-boy was waiting outside her own door when she returned to it.
( ( A ( small page-boy ) ) ( ( was ( ( waiting ( outside ( her ( own door ) ) ) ) ( when ( she ( returned ( to it ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT A) (JJ small) (NN page-boy)) (VP (VBD was) (VP (VBG waiting) (PP (IN outside) (NP (PRP$ her) (JJ own) (NN door))) (SBAR (WHADVP (WRB when)) (S (NP (PRP she)) (VP (VBD returned) (PP (TO to) (NP (PRP it)))))))) (. .)))
The page-boy she'd been expecting was gone, having waited too long for her to return.
( ( ( The page-boy ) ( she ( 'd ( been expecting ) ) ) ) ( ( was ( ( gone , ) ( having ( waited ( ( too long ) ( for ( her ( to return ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (NN page-boy)) (SBAR (S (NP (PRP she)) (VP (VBD 'd) (VP (VBN been) (VP (VBG expecting))))))) (VP (VBD was) (VP (VBN gone) (, ,) (S (VP (VBG having) (VP (VBN waited) (ADVP (ADVP (RB too) (RB long)) (SBAR (IN for) (S (NP (PRP her)) (VP (TO to) (VP (VB return))))))))))) (. .)))