View source: R/derivationTrees.R
decodeDTsym | R Documentation |
Decodes a derivation tree into a list of the leaf symbols of the derivation tree.
decodeDTsym(tree, ST)
tree |
Derivation tree. |
ST |
Symbol table. |
List of the leaf symbols of the derivation tree.
Other Decoder:
decodeAndFixDT()
,
decodeCDT()
,
decodeDT()
,
decodeTree()
,
leavesIncompleteDT()
g<-compileBNF(booleanGrammar())
t1<-generateDerivationTree(sym=g$Start,sample(100, 10, replace=TRUE), G=g)
decodeDTsym(t1$tree, g$ST)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.