( ( Whenever ( ( a magnet ) ( ( moves ( past ( ( ( ( a coil ) ( of wire ) ) or ) ( ( a coil ) ( of ( wire moves ) ) ) ) ) ) ( past ( a magnet ) ) ) ) ) ( , ( ( a current ) ( ( is ( induced ( in ( ( that coil ) ( of wire ) ) ) ) ) . ) ) ) )
(ROOT (S (SBAR (WHADVP (WRB Whenever)) (S (NP (DT a) (NN magnet)) (VP (VBZ moves) (PP (IN past) (NP (NP (NP (DT a) (NN coil)) (PP (IN of) (NP (NN wire)))) (CC or) (NP (NP (DT a) (NN coil)) (PP (IN of) (NP (NN wire) (NNS moves)))))) (PP (IN past) (NP (DT a) (NN magnet)))))) (, ,) (NP (DT a) (NN current)) (VP (VBZ is) (VP (VBN induced) (PP (IN in) (NP (NP (DT that) (NN coil)) (PP (IN of) (NP (NN wire))))))) (. .)))
Whenever a magnet moves past a coil of wire or a coil of wire moves past a magnet, a current is induced in that coil of wire.
(ROOT (S (NP (NNP Alternative) (JJ current)) (VP (VBZ is) (VP (VBN produced) (SBAR (WHADVP (WRB when)) (S (NP (DT a) (NN magnet) (CC or) (NN coil)) (VP (VBZ moves) (ADVP (RB back) (CC and) (RB forth)) (ADVP (RB repeatedly))))))) (. .)))