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 did not sew her leg up.
( ( The doctor ) ( ( ( did not ) ( ( sew ( her leg ) ) up ) ) . ) )
(ROOT (S (NP (DT The) (NN doctor)) (VP (VBD did) (RB not) (VP (VB sew) (NP (PRP$ her) (NN leg)) (PRT (RP up)))) (. .)))