On that occasion, Lisa had seen a ferocious dog barking behind the chain-linked fence.
( ( On ( that occasion ) ) ( , ( Lisa ( ( had ( seen ( ( a ( ferocious dog ) ) ( barking ( behind ( the ( chain-linked fence ) ) ) ) ) ) ) . ) ) ) )
(ROOT (S (PP (IN On) (NP (DT that) (NN occasion))) (, ,) (NP (NNP Lisa)) (VP (VBD had) (VP (VBN seen) (NP (NP (DT a) (JJ ferocious) (NN dog)) (VP (VBG barking) (PP (IN behind) (NP (DT the) (JJ chain-linked) (NN fence))))))) (. .)))
Lisa had seen a large black dog with pointy ears barking behind the chain-linked fence. 
( Lisa ( ( had ( ( seen ( a ( large ( black dog ) ) ) ) ( with ( ( pointy ears ) ( barking ( behind ( the ( chain-linked fence ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Lisa)) (VP (VBD had) (VP (VBN seen) (NP (DT a) (JJ large) (JJ black) (NN dog)) (PP (IN with) (NP (NP (JJ pointy) (NNS ears)) (VP (VBG barking) (PP (IN behind) (NP (DT the) (JJ chain-linked) (NN fence)))))))) (. .)))