She was taken to the infirmary, and on recovering consciousness gave her name as Jane Finn.
( She ( ( was ( taken ( ( ( ( to ( the infirmary ) ) , ) and ) ( on ( recovering ( consciousness ( ( gave ( her name ) ) ( as ( Jane Finn ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (PRP She)) (VP (VBD was) (VP (VBN taken) (PP (PP (TO to) (NP (DT the) (NN infirmary))) (, ,) (CC and) (PP (IN on) (S (VP (VBG recovering) (SBAR (S (NP (NN consciousness)) (VP (VBD gave) (NP (PRP$ her) (NN name)) (PP (IN as) (NP (NNP Jane) (NNP Finn)))))))))))) (. .)))
When she awoke she said her name was Jane Finn.  
( ( When ( she ( awoke ( she ( said ( her name ) ) ) ) ) ) ( ( was ( Jane Finn ) ) . ) )
(ROOT (S (SBAR (WHADVP (WRB When)) (S (NP (PRP she)) (VP (VBD awoke) (SBAR (S (NP (PRP she)) (VP (VBD said) (NP (PRP$ her) (NN name)))))))) (VP (VBD was) (NP (NNP Jane) (NNP Finn))) (. .)))