( ( ( ( Swing ( leg medially ) ) ( for ( external ( ( rotation and ) laterally ) ) ) ) ( for ( internal rotation ) ) ) . )
(ROOT (NP (NP (JJ Swing) (NN leg) (NN medially)) (PP (IN for) (NP (JJ external) (NN rotation) (CC and) (NN laterally))) (PP (IN for) (NP (JJ internal) (NN rotation))) (. .)))
Swing leg medially for external rotation and laterally for internal rotation.
(ROOT (S (NP (JJ Medial) (NN rotation)) (VP (VBZ is) (NP (NP (DT the) (NN term)) (PP (IN for) (NP (NP (NN rotation)) (PP (IN of) (NP (NP (DT a) (NN bone)) (PP (IN toward) (NP (NP (DT the) (NN midline)) (PP (IN of) (NP (DT the) (NN body))))))))))) (. .)))