When a literate Chinese had to write about this new kingdom a problem arose as there was no charactter for the Viet.
( ( When ( ( a ( literate Chinese ) ) ( had ( to ( write ( about ( this ( new kingdom ) ) ) ) ) ) ) ) ( ( a problem ) ( ( arose ( as ( there ( was ( ( no charactter ) ( for ( the Viet ) ) ) ) ) ) ) . ) ) )
(ROOT (S (SBAR (WHADVP (WRB When)) (S (NP (DT a) (JJ literate) (NNPS Chinese)) (VP (VBD had) (S (VP (TO to) (VP (VB write) (PP (IN about) (NP (DT this) (JJ new) (NN kingdom))))))))) (NP (DT a) (NN problem)) (VP (VBD arose) (SBAR (IN as) (S (NP (EX there)) (VP (VBD was) (NP (NP (DT no) (NN charactter)) (PP (IN for) (NP (DT the) (NNP Viet)))))))) (. .)))
This new kingdom was to be established following the victorious war effort.
( ( This ( new kingdom ) ) ( ( was ( to ( be ( established ( following ( the ( victorious ( war effort ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT This) (JJ new) (NN kingdom)) (VP (VBD was) (S (VP (TO to) (VP (VB be) (VP (VBN established) (PP (VBG following) (NP (DT the) (JJ victorious) (NN war) (NN effort)))))))) (. .)))