before it collapses into exactly the kind of buddy cop comedy it set out to lampoon , anyway . 
(ROOT (SBAR (IN before) (S (NP (PRP it)) (VP (VBZ collapses) (PP (IN into) (NP (NP (NP (RB exactly) (DT the) (NN kind)) (PP (IN of) (NP (NML (NN buddy) (NN cop)) (NN comedy)))) (SBAR (S (NP (PRP it)) (VP (VBD set) (PRT (RP out)) (S (VP (TO to) (VP (VB lampoon))))))))) (, ,) (ADVP (RB anyway)))) (. .)))
(ROOT (SBAR (IN ) (S (NP (PRP )) (VP (VBZ ) (PP (IN ) (NP (NP (NP (RB ) (DT ) (NN )) (PP (IN ) (NP (NML (NN ) (NN )) (NN )))) (SBAR (S (NP (PRP )) (VP (VBD ) (PRT (RP )) (S (VP (TO ) (VP (VB ))))))))) (, ) (ADVP (RB )))) (. )))