( ( Like charges ) ( ( ( repel one ) ( another ( while ( ( opposite charges ) ( attract ( one another ) ) ) ) ) ) . ) )
(ROOT (SINV (PP (IN Like) (NP (NNS charges))) (VP (VBP repel) (NP (CD one))) (NP (NP (DT another)) (SBAR (IN while) (S (NP (JJ opposite) (NNS charges)) (VP (VBP attract) (NP (CD one) (DT another)))))) (. .)))
Like charges repel one another while opposite charges attract one another.
(ROOT (S (NP (JJ Opposite) (NNS charges)) (VP (VBP attract) (NP (CD one) (DT another))) (. .)))