all right thanks bye bye
( ( ( all right ) thanks ) ( bye bye ) )
(ROOT (FRAG (ADVP (ADVP (RB all) (RB right)) (NP (NNS thanks))) (NP (NN bye) (NN bye))))
thanks for helping me with work
( thanks ( for ( ( helping me ) ( with work ) ) ) )
(ROOT (NP (NP (NNS thanks)) (PP (IN for) (S (VP (VBG helping) (NP (PRP me)) (PP (IN with) (NP (NN work))))))))