implement strcuture tree to analyse novel semantic structure