( But ( it ( ( was ( ( a ( great ( learning experience ) ) ) ( for ( ( a variety ) ( of reasons ) ) ) ) ) . ) ) )
(ROOT (S (CC But) (NP (PRP it)) (VP (VBD was) (NP (NP (DT a) (JJ great) (NN learning) (NN experience)) (PP (IN for) (NP (NP (DT a) (NN variety)) (PP (IN of) (NP (NNS reasons))))))) (. .)))
But it was a great learning experience for a variety of reasons.
(ROOT (S (NP (NNP Insight) (NNP learning)) (VP (VBZ is) (VP (VBN done) (PP (IN from) (NP (JJ past) (NNS experiences) (CC and) (NN reasoning))))) (. .)))