 It took me really a long time to sort what was going on in my mind out,  she said.
( ( It ( ( ( ( took me ) really ) ( a ( long time ) ) ) ( to ( sort ( what ( was ( ( ( going on ) ( in ( my mind ) ) ) out ) ) ) ) ) ) ) ( , ( she ( said . ) ) ) )
(ROOT (S (S (NP (PRP It)) (VP (VBD took) (NP (PRP me)) (ADVP (RB really)) (NP (DT a) (JJ long) (NN time)) (PP (TO to) (NP (NP (NN sort)) (SBAR (WHNP (WP what)) (S (VP (VBD was) (VP (VBG going) (PRT (RP on)) (PP (IN in) (NP (PRP$ my) (NN mind))) (ADVP (RB out)))))))))) (, ,) (NP (PRP she)) (VP (VBD said)) (. .)))
She said that she knew instantly what was going on in her mind.
( She ( ( said ( that ( she ( ( knew instantly ) ( what ( was ( ( going on ) ( in ( her mind ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (PRP She)) (VP (VBD said) (SBAR (IN that) (S (NP (PRP she)) (VP (VBD knew) (ADVP (RB instantly)) (SBAR (WHNP (WP what)) (S (VP (VBD was) (VP (VBG going) (PRT (RP on)) (PP (IN in) (NP (PRP$ her) (NN mind))))))))))) (. .)))