Labeled tree and dictionary