( ( ( The nitrogen ) ( in ammonia ) ) ( ( has ( ( ( 5 ( valence ( ( electrons and ) bonds ) ) ) ( with ( three ( hydrogen atoms ) ) ) ) ( to ( complete ( the octet ) ) ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (NN nitrogen)) (PP (IN in) (NP (NN ammonia)))) (VP (VBZ has) (NP (NP (CD 5) (JJ valence) (NNS electrons) (CC and) (NNS bonds)) (PP (IN with) (NP (CD three) (NN hydrogen) (NNS atoms))) (S (VP (TO to) (VP (VB complete) (NP (DT the) (NN octet))))))) (. .)))
The nitrogen in ammonia has 5 valence electrons and bonds with three hydrogen atoms to complete the octet.
(ROOT (S (NP (NNP Nitrogen)) (VP (VBZ has) (NP (CD 5) (JJ valence) (NNS electrons))) (. .)))