Article View: comp.lang.prolog
Article #3983Well-formed substring tables in Prolog
From: John Dowding
Date: Sat, 01 Apr 1989 18:54
Date: Sat, 01 Apr 1989 18:54
19 lines
1203 bytes
1203 bytes
I would like to add a well-formed substring table mechanism to
my NL parser. The parser is of the standard top-down left-to-right
backtracking sort. The obvious implementation is to assert the
substrings. Because the parse tree fragments that I will be saving
will be rather extremely large, I would like to do better than this
if at all possible. I have a few ideas, but I do not know how to
implement them.
1. Does it make sense to store the substrings for every nonterminal,
or perhaps only for certain nonterminals (noun phrase and clause)?
2. Is it possible to have one saved substring point to another
to use structure sharing?
3. Should I save only successful substrings, or failed substrings also?
Thanks in advance,
John Dowding
dowding@prc.unisys.com
Technical Details
Message-ID:
<9740@burdvax.PRC.Unisys.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!njin!princeton!udel!burdvax!macbeth!dowdingShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!njin!princeton!udel!burdvax!macbeth!dowding From: dowding@macbeth.PRC.Unisys.COM (John Dowding) Newsgroups: comp.lang.prolog Subject: Well-formed substring tables in Prolog Keywords: better than assert? Message-ID: <9740@burdvax.PRC.Unisys.COM> Date: 1 Apr 89 18:54:04 GMT Sender: news@PRC.Unisys.COM Lines: 19