( ( For example ) ( , ( ( ( ( ( ( there ( are ( ( four calories ) ( in ( ( a gram ) ( of ( ( carbohydrates , ) ( ( four calories ) ( in ( ( a gram ) ( of protein ) ) ) ) ) ) ) ) ) ) ) , ) ( ( ( one gram ) ( of fat ) ) ( has ( nine calories ) ) ) ) and ) ( ( a ( ( gram or ) alcohol ) ) ( has ( seven calories ) ) ) ) . ) ) )
(ROOT (S (PP (IN For) (NP (NN example))) (, ,) (S (NP (EX there)) (VP (VBP are) (NP (NP (CD four) (NNS calories)) (PP (IN in) (NP (NP (DT a) (NN gram)) (PP (IN of) (NP (NP (NNS carbohydrates)) (, ,) (NP (NP (CD four) (NNS calories)) (PP (IN in) (NP (NP (DT a) (NN gram)) (PP (IN of) (NP (NN protein))))))))))))) (, ,) (S (NP (NP (CD one) (NN gram)) (PP (IN of) (NP (NN fat)))) (VP (VBZ has) (NP (CD nine) (NNS calories)))) (CC and) (S (NP (DT a) (NN gram) (CC or) (NN alcohol)) (VP (VBZ has) (NP (CD seven) (NNS calories)))) (. .)))
For example, there are four calories in a gram of carbohydrates, four calories in a gram of protein, one gram of fat has nine calories and a gram or alcohol has seven calories.
(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))))) (. .)))