Tommy realized perfectly that in his own wits lay the only chance of escape, and behind his casual manner he was racking his brains furiously.
( ( ( ( ( Tommy ( ( realized perfectly ) ( that ( ( in ( his ( own wits ) ) ) ( lay ( ( the ( only chance ) ) ( of escape ) ) ) ) ) ) ) , ) and ) ( ( behind ( his ( casual manner ) ) ) ( he ( was ( ( racking ( his brains ) ) furiously ) ) ) ) ) . )
(ROOT (S (S (NP (NNP Tommy)) (VP (VBD realized) (ADVP (RB perfectly)) (SBAR (IN that) (S (PP (IN in) (NP (PRP$ his) (JJ own) (NNS wits))) (VP (VBD lay) (NP (NP (DT the) (JJ only) (NN chance)) (PP (IN of) (NP (NN escape))))))))) (, ,) (CC and) (S (PP (IN behind) (NP (PRP$ his) (JJ casual) (NN manner))) (NP (PRP he)) (VP (VBD was) (VP (VBG racking) (NP (PRP$ his) (NNS brains)) (ADVP (RB furiously))))) (. .)))
He'd been stuck for hours, starting to feel doubt crawl into his mind.
( He ( ( 'd ( been ( stuck ( for ( ( hours , ) ( starting ( to ( ( feel ( doubt crawl ) ) ( into ( his mind ) ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (PRP He)) (VP (VBD 'd) (VP (VBN been) (VP (VBN stuck) (PP (IN for) (NP (NP (NNS hours)) (, ,) (VP (VBG starting) (S (VP (TO to) (VP (VB feel) (NP (NN doubt) (NN crawl)) (PP (IN into) (NP (PRP$ his) (NN mind)))))))))))) (. .)))