Opium-smoking continued openly in Hong Kong until 1946; in mainland China the Communist government abolished it when they came to power in 1949.
( ( ( ( Opium-smoking ( ( ( continued openly ) ( in ( Hong Kong ) ) ) ( until 1946 ) ) ) ; ) ( ( in ( mainland China ) ) ( ( the ( Communist government ) ) ( ( abolished it ) ( when ( they ( ( came ( to power ) ) ( in 1949 ) ) ) ) ) ) ) ) . )
(ROOT (S (S (NP (NN Opium-smoking)) (VP (VBD continued) (ADVP (RB openly)) (PP (IN in) (NP (NNP Hong) (NNP Kong))) (PP (IN until) (NP (CD 1946))))) (: ;) (S (PP (IN in) (NP (JJ mainland) (NNP China))) (NP (DT the) (JJ Communist) (NN government)) (VP (VBD abolished) (NP (PRP it)) (SBAR (WHADVP (WRB when)) (S (NP (PRP they)) (VP (VBD came) (PP (TO to) (NP (NN power))) (PP (IN in) (NP (CD 1949)))))))) (. .)))
Opium smoking is allowed in Hong Kong and mainland China.
( ( Opium smoking ) ( ( is ( allowed ( in ( ( ( Hong Kong ) and ) ( mainland China ) ) ) ) ) . ) )
(ROOT (S (NP (JJ Opium) (NN smoking)) (VP (VBZ is) (VP (VBN allowed) (PP (IN in) (NP (NP (NNP Hong) (NNP Kong)) (CC and) (NP (NNP mainland) (NNP China)))))) (. .)))