Thread View: comp.lang.prolog
1 messages
1 total messages
Started by James Tauber
Mon, 21 Dec 1992 08:25
Natural Language Parsing in Prolog
Author: James Tauber
Date: Mon, 21 Dec 1992 08:25
Date: Mon, 21 Dec 1992 08:25
20 lines
1256 bytes
1256 bytes
Forgive me if this is an obvious question but I've never done any Prolog programming before and, as I'm working at home, don't have access to any books (so references will be useless to me). How do I implement a natural language parser in Prolog using a context-free grammar? I need my program simply to produce all possible sentence trees for a given sentence. I would imagine this would be simply a matter of declaring a relationship for each re-write rule and then giving the program a sentence as a goal. On a more complicated level, how would I implement a simple feature based grammar to account for subject-verb agreement, etc.? Thanks in advance James Tauber P.S. e-mail would be perferred. If you know of any ftp sites with parsers in Prolog, that information would also be appreciated. jtauber@tartarus.uwa.edu.au
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads