It was worth the trip for that.
( It ( ( was ( worth ( ( the trip ) ( for that ) ) ) ) . ) )
(ROOT (S (NP (PRP It)) (VP (VBD was) (ADJP (IN worth) (NP (NP (DT the) (NN trip)) (PP (IN for) (NP (DT that)))))) (. .)))
It wasn't worth anything.
( It ( ( ( was n't ) ( worth anything ) ) . ) )
(ROOT (S (NP (PRP It)) (VP (VBD was) (RB n't) (ADJP (JJ worth) (NN anything))) (. .)))