( ( All carbohydrates ) ( ( have ( ( four calories ) ( of ( energy ( per ( gram ( of weight ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT All) (NNS carbohydrates)) (VP (VBP have) (NP (NP (CD four) (NNS calories)) (PP (IN of) (NP (NP (NN energy)) (PP (IN per) (NP (NP (NN gram)) (PP (IN of) (NP (NN weight))))))))) (. .)))
All carbohydrates have four calories of energy per gram of weight.
(ROOT (S (NP (NP (CD One) (NN gram)) (PP (IN of) (NP (NNS carbohydrates)))) (VP (VBZ provides) (NP (NP (CD four) (NNS calories)) (PP (IN of) (NP (NN energy))))) (. .)))