( ( Either way ) ( , ( ( the instrument ) ( ( records ( ( the echoes ) ( of ( ( sound waves ) ( ( bouncing off ) ( anything ( encountered ( in ( the uterus ) ) ) ) ) ) ) ) ) . ) ) ) )
(ROOT (S (NP (CC Either) (NN way)) (, ,) (NP (DT the) (NN instrument)) (VP (VBZ records) (NP (NP (DT the) (NNS echoes)) (PP (IN of) (NP (NP (JJ sound) (NNS waves)) (VP (VBG bouncing) (PRT (RP off)) (NP (NP (NN anything)) (VP (VBN encountered) (PP (IN in) (NP (DT the) (NN uterus)))))))))) (. .)))
Either way, the instrument records the echoes of sound waves bouncing off anything encountered in the uterus.
(ROOT (S (NP (DT A) (-LRB- -LRB-) (NN n) (-RRB- -RRB-)) (VP (VBP echo) (SBAR (S (VP (VBZ is) (VP (VBN heard) (SBAR (WHADVP (WRB when)) (S (NP (JJ sound) (NNS waves)) (VP (VBP bounce) (ADVP (RB back)) (PP (IN from) (NP (DT a) (NN surface))) (SBAR (IN that) (S (NP (PRP they)) (VP (MD ca) (RB n't) (VP (VB pass) (PRT (RP through)))))))))))))) (. .)))