( ( ( Sugars and ) starches ) ( ( ( ( have ( ( 4 calories ) ( per gram ) ) ) , ) ( while ( fat ( has ( ( 9 calories ) ( per gram ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNS Sugars) (CC and) (NNS starches)) (VP (VBP have) (NP (NP (CD 4) (NNS calories)) (PP (IN per) (NP (NN gram)))) (, ,) (SBAR (IN while) (S (NP (NN fat)) (VP (VBZ has) (NP (NP (CD 9) (NNS calories)) (PP (IN per) (NP (NN gram)))))))) (. .)))
Sugars and starches have 4 calories per gram, while fat has 9 calories per gram.
(ROOT (S (NP (NP (CD One) (NN gram)) (PP (IN of) (NP (NN sugar) (CC or) (NN starch)))) (VP (VBZ provides) (NP (NP (CD 4) (NNS calories)) (PP (IN of) (NP (NN energy))))) (. .)))