The doctor sewed up her leg. 
( ( The doctor ) ( ( ( sewed up ) ( her leg ) ) . ) )
(ROOT (S (NP (DT The) (NN doctor)) (VP (VBD sewed) (PRT (RP up)) (NP (PRP$ her) (NN leg))) (. .)))
The doctor was able to heal her leg.
( ( The doctor ) ( ( was ( able ( to ( heal ( her leg ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (NN doctor)) (VP (VBD was) (ADJP (JJ able) (S (VP (TO to) (VP (VB heal) (NP (PRP$ her) (NN leg))))))) (. .)))