kowey / GenI

Surface realiser (part of a Natural Language Generation system) using Tree Adjoining Grammar
GNU General Public License v2.0
21 stars 2 forks source link

simple indexing mechanism #21

Open kowey opened 11 years ago

kowey commented 11 years ago

This should reduce generation time somewhat. It occurred to me that there's actually a very simple way to index the generation chart: just use the semantic index or the category or even a tuple of the root node. For atomic disjunction and variables, just dump into a variable slot that we always have to look up.

Note that substitution would have to be changed so that items with open substitution sites go back at the end of the agenda instead of on the chart.

Also note that substitution sites with disjunctive or variable indices would just have to look at all chart items.

kowey commented 11 years ago

Imported from trac issue 21. Created by kowey on 1970-01-01T01:20:48, last modified: 1970-01-01T01:20:48