( ( Like protein ) ( , ( carbohydrates ( ( provide ( ( four calories ) ( per gram ) ) ) . ) ) ) )
(ROOT (S (PP (IN Like) (NP (NN protein))) (, ,) (NP (NNS carbohydrates)) (VP (VBP provide) (NP (NP (CD four) (NNS calories)) (PP (IN per) (NP (NN gram))))) (. .)))
Like protein, carbohydrates provide four calories per gram.
(ROOT (S (NP (NP (CD One) (NN gram)) (PP (IN of) (NP (NNS proteins)))) (VP (VBZ provides) (NP (NP (CD four) (NNS calories)) (PP (IN of) (NP (NN energy))))) (. .)))