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)))))))) (. .)))
There was a problem in that there was no Viet. character available.
( There ( ( was ( ( a problem ) ( ( in that ) ( there ( was ( ( no ( ( Viet . ) character ) ) available ) ) ) ) ) ) . ) )
(ROOT (S (NP (EX There)) (VP (VBD was) (NP (NP (DT a) (NN problem)) (SBAR (WHPP (IN in) (WHNP (WDT that))) (S (NP (EX there)) (VP (VBD was) (NP (NP (DT no) (NAC (NNP Viet) (. .)) (NN character)) (ADJP (JJ available)))))))) (. .)))