home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / prolog / 2276 next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.2 KB

  1. Path: sparky!uunet!think.com!rpi!batcomputer!munnari.oz.au!uniwa!jtauber
  2. From: jtauber@tartarus.uwa.edu.au (James Tauber)
  3. Newsgroups: comp.lang.prolog
  4. Subject: Natural Language Parsing in Prolog
  5. Date: 21 Dec 1992 08:25:17 GMT
  6. Organization: The University of Western Australia
  7. Lines: 44
  8. Message-ID: <1h3v1dINN6cs@uniwa.uwa.edu.au>
  9. NNTP-Posting-Host: tartarus.uwa.edu.au
  10. X-Newsreader: Tin 1.1 PL5
  11.  
  12. Forgive me if this is an obvious question but I've never done any Prolog
  13. programming before and, as I'm working at home, don't have access to any
  14. books (so references will be useless to me). 
  15. How do I implement a natural language parser in Prolog using a context-free
  16. grammar?
  17. I need my program simply to produce all possible sentence trees for a given
  18. sentence.
  19. I would imagine this would be simply a matter of declaring a relationship
  20. for each re-write rule and then giving the program a sentence as a goal.
  21. On a more complicated level, how would I implement a simple feature based
  22. grammar to account for subject-verb agreement, etc.?
  23.  
  24. Thanks in advance
  25.  
  26. James Tauber
  27.  
  28. P.S. e-mail would be perferred. If you know of any ftp sites with parsers in
  29. Prolog, that information would also be appreciated.
  30.  
  31. jtauber@tartarus.uwa.edu.au
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.