Finish it, someone yelled.
( ( Finish it ) ( , ( someone ( yelled . ) ) ) )
(ROOT (S (S (VP (VB Finish) (NP (PRP it)))) (, ,) (NP (NN someone)) (VP (VBD yelled)) (. .)))
Someone yelled to finish the battle.
( Someone ( ( yelled ( to ( finish ( the battle ) ) ) ) . ) )
(ROOT (S (NP (NN Someone)) (VP (VBD yelled) (S (VP (TO to) (VP (VB finish) (NP (DT the) (NN battle)))))) (. .)))