He said to me, You have to go, he said to me.
( ( ( ( ( ( He ( said ( to me ) ) ) , ) ( You ( have ( to go ) ) ) ) , ) ( he ( said ( to me ) ) ) ) . )
(ROOT (S (S (NP (PRP He)) (VP (VBD said) (PP (TO to) (NP (PRP me))))) (, ,) (S (NP (PRP You)) (VP (VBP have) (S (VP (TO to) (VP (VB go)))))) (, ,) (S (NP (PRP he)) (VP (VBD said) (PP (TO to) (NP (PRP me))))) (. .)))
After saying that I can stay, he then told me to leave.
( ( After ( saying ( that ( I ( can stay ) ) ) ) ) ( , ( he ( then ( ( told ( me ( to leave ) ) ) . ) ) ) ) )
(ROOT (S (PP (IN After) (S (VP (VBG saying) (SBAR (IN that) (S (NP (PRP I)) (VP (MD can) (VP (VB stay)))))))) (, ,) (NP (PRP he)) (ADVP (RB then)) (VP (VBD told) (S (NP (PRP me)) (VP (TO to) (VP (VB leave))))) (. .)))