I am wondering what SBAR means and how do I correctly represent in a tree this sentence? Why there are 2 S? Original sentence is: After she ate the cake, Emma visited Tony in his room. Thank you!
(ROOT (S (SBAR (IN After) (S (NP (PRP she)) (VP (VBD ate) (NP (DT the) (NN cake))))) (, ,) (NP (NNP Emma)) (VP (VBD visited) (NP (NP (NNP Tony)) (PP (IN in) (NP (PRP$ his) (NN room))))) (. .)))