Ricky alternately named the numbers he recognized and counted items as they passed through the checkout.
( Ricky ( alternately ( ( named ( ( the numbers ) ( he ( ( recognized and ) ( ( counted items ) ( as ( they ( passed ( through ( the checkout ) ) ) ) ) ) ) ) ) ) . ) ) )
(ROOT (S (NP (NNP Ricky)) (ADVP (RB alternately)) (VP (VBD named) (NP (NP (DT the) (NNS numbers)) (SBAR (S (NP (PRP he)) (VP (VP (VBD recognized)) (CC and) (VP (VBD counted) (NP (NNS items)) (SBAR (IN as) (S (NP (PRP they)) (VP (VBD passed) (PP (IN through) (NP (DT the) (NN checkout)))))))))))) (. .)))
Ricky likes to count items as they pass him.
( Ricky ( ( likes ( to ( ( count items ) ( as ( they ( pass him ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Ricky)) (VP (VBZ likes) (S (VP (TO to) (VP (VB count) (NP (NNS items)) (SBAR (IN as) (S (NP (PRP they)) (VP (VBP pass) (NP (PRP him))))))))) (. .)))