GitHub - DoubleBite/Sequence-to-General-tree
github.com › doublebite › Sequence-to-General-treeThis is the official repository for the ACL 2021 paper Sequence to General Tree: Knowledge-Guided Geometry Word Problem Solving. In this paper, we introduce a sequence-to-general-tree (S2G)architecture which aims to generalize the previous sequence-to-tree models. Instead of mapping the problem text into a binary expression tree, our S2G can learn to map the problem text into an operation tree where the nodes can be formulas with arbitrary number of children (from unary to N-ary).
graph theory - Degree sequence of trees - Mathematics ...
https://math.stackexchange.com/questions/1932853/degree-sequence-of-trees19.09.2016 · At this point we evidently have the tree *-----* If the lefthand vertex is the one corresponding to $4$ in the degree sequence $4,2,1,1,1,1$, it will receive $4-1=3$ leaves when we work back to get a tree for the sequence $4,2,1,1,1,1$. The other vertex will correspond to $2$ in that degree sequence, and it will get the fourth leaf:
A Knowledge-Aware Sequence-to-Tree Network for Math Word ...
aclanthology.org › 2020novel knowledge-aware sequence-to-tree (KA-S2T) network in which the entities in the problem sequences and their categories are modeled as an entity graph. Based on this entity graph, a graph attention network is used to capture knowledge-aware problem repre-sentations. Further, we use a tree-structured decoder with a state aggregation mechanism