After the purge of foreigners, only a few stayed on, strictly confined to Dejima Island in Nagasaki Bay.
( ( After ( ( the purge ) ( of foreigners ) ) ) ( , ( ( only ( a few ) ) ( ( ( ( stayed on ) , ) ( strictly ( confined ( to ( ( Dejima Island ) ( in ( Nagasaki Bay ) ) ) ) ) ) ) . ) ) ) )
(ROOT (S (PP (IN After) (NP (NP (DT the) (NN purge)) (PP (IN of) (NP (NNS foreigners))))) (, ,) (NP (QP (RB only) (DT a) (JJ few))) (VP (VBD stayed) (PRT (RP on)) (, ,) (S (ADVP (RB strictly)) (VP (VBN confined) (PP (TO to) (NP (NP (NNP Dejima) (NNP Island)) (PP (IN in) (NP (NNP Nagasaki) (NNP Bay)))))))) (. .)))
A few foreigners were confined to Dejima Island because they were dangerous.
( ( A ( few foreigners ) ) ( ( were ( ( confined ( to ( Dejima Island ) ) ) ( because ( they ( were dangerous ) ) ) ) ) . ) )
(ROOT (S (NP (DT A) (JJ few) (NNS foreigners)) (VP (VBD were) (VP (VBN confined) (PP (TO to) (NP (NNP Dejima) (NNP Island))) (SBAR (IN because) (S (NP (PRP they)) (VP (VBD were) (ADJP (JJ dangerous))))))) (. .)))