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 counted items as they passed him.
( Ricky ( ( ( counted items ) ( as ( they ( passed him ) ) ) ) . ) )
(ROOT (S (NP (NNP Ricky)) (VP (VBD counted) (NP (NNS items)) (SBAR (IN as) (S (NP (PRP they)) (VP (VBD passed) (NP (PRP him)))))) (. .)))