( ( A triangle ) ( ( is ( ( a ( geometric shape ) ) ( with ( three sides ) ) ) ) . ) )
(ROOT (S (NP (DT A) (NN triangle)) (VP (VBZ is) (NP (NP (DT a) (JJ geometric) (NN shape)) (PP (IN with) (NP (CD three) (NNS sides))))) (. .)))
A triangle is a geometric shape with three sides.
(ROOT (S (NP (NP (DT The) (CD eight) (NNS sides)) (PP (IN of) (NP (DT an) (NN octahedra)))) (VP (VBP are) (PP (IN in) (NP (NP (DT the) (NN shape)) (PP (IN of) (NP (DT a) (NNS triangles)))))) (. .)))