Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Prolog and natural-language analysis

    Prolog and natural-language analysis

    Fernando C. N. Pereira, Stuart M. Shieber · 1987

    Logic programming, an important new method of compute programming resulting from recent research in artifucial intelligence and computer science, has proved to be especially appropriate for solving problems in natrual-language processing. Prolog and Natural Language Analysis provides a concise and practical introduction to logic programming and the logic-programming language Prolog both as vehicles for understanding elementary computational linguistics and as tools for implementing the basic components of natural-language-processing systems. Throughout, the specific concepts and techniques are given rigorous theoretical justification and are demonstrated with working programs that show how Prolog can be used to solve actual problems in syntax, parsing, and semantic intepretation.These examples culminate in a simple working natural-language question-answering system written in Prolog. Extensive bibliographic notes point the reader to related research and further reading.Fernando C.N. Pereira is a senior computer scientist at SRI International's Artificial Intelligence Center and a consulting professor at Stanford University. His research on Prolog and natural-language processing underlies much recent work in logic grammars.Stuart Shieber is a researcher at the Center for the Study of Language and Information and a computer scientist at SRI International's Artificial Intelligence Center.

    Programming
    Open LibraryAmazon
    Stats for nerds
    6recommend
    11mentions
    8people
    2010–2025years
    82% recommend18% neutral

    Mentions per year

    201020122014201620182020202220242025

    What Hacker News says

    1. YeGoblynQueenneJan 2022
      To be honest I don't know any short articles that do a good job of describing Prolog.

      For a practically-minded programmer, I'd recommend this longer tutorial that guides you through the creation of an old-skewl text-based adventure game:

      https://amzi.com/AdventureInProlog/apreface.php

      As far as I remember, the tutorial should run on most Prologs without (significant?) modification.

      For a more in-depth, high-level, more computer-sciency view try Marcus Triska's pages:

      https://www.metalevel.at/prolog

      Marcus Triska is also the author of several constraint logic programming libraries, for example:

      https://www.swi-prolog.org/man/clpfd.html

      Then, there's a number of textbooks. The classics are Clockin and Mellish and Bratko:

      Programming in Prolog (Fifth Edition):

      https://www2.cs.arizona.edu/classes/cs372/spring15/Programmi...

      Prolog programing for AI

      https://archive.org/details/prologprogrammin0000brat

      I personally really enjoyed this book by George Luger:

      AI Algorithms, Data Structures and Idioms in Prolog, Lisp and Java

      https://www.cs.fsu.edu/~cap5605/Luger_Supplementary_Text.pdf

      For the theory behind DCGs, there's Pereira and Shieber:

      Prolog and Natural Language Analysis

      http://www.mtome.com/Publications/PNLA/prolog-digital.pdf

      And for logic programming theory in general, the seminal source is J. W. Lloyd:

      Foundations of logic progamming

      https://link.springer.com/book/10.1007/978-3-642-83189-8

      Unfortunately, I can't recommend any newer texbooks.

      thread
    2. daviddaviddavidOct 2018
      Clocksin & Mellish has the benefit of being a slim volume, which makes it approachable.

      Sterling & Shapiro (Art of Prolog) has much more depth. Not sure I'd recommend to a beginner. (It has a beautiful cover, though and is almost worth getting just for that.)

      My favorite Prolog book is Pereira & Sheiber's "Prolog and Natural-Language Analysis". It's slanted toward NLP but the coverage of Prolog itself is top notch.

      https://www.amazon.com/Natural-Language-Analysis-Information...

      thread
    3. stassNov 2016
      Prolog and Natural-Language Analysis[1] is great from both theoretical and practical standpoints.

      [1] http://www.mtome.com/Publications/PNLA/prolog-digital.pdf

      thread
    4. qohenJul 2016
      Also, if you want to dive deeper, the book, "Prolog and Natural Language Analysis" by Fernando C. N. Pereira and Stuart M. Shieber, is available as a free PDF from the publisher:

      http://www.mtome.com/Publications/PNLA/prolog-digital.pdf

      And there's a set of course materials in HTML for "Natural Language Processing in Prolog", a course at Union College in Schenectady, NY by Patrick Blackburn and Kristina Striegnitz that seems worthwhile:

      http://cs.union.edu/~striegnk/courses/nlp-with-prolog/html/t...

      thread
    5. danieldkAug 2011
      Good follow-up literature:

      - Learn Prolog Now! by Patrick Blackburn, Johan Bos, and Kristina Striegnitz provides an introduction to Prolog:

      http://www.learnprolognow.org/

      - Prolog and Natural-Language Analysis by Fernando C. N. Pereira and Stuart M. Shieber provides an introduction to Prolog, and applies it to natural language processing. The book is more difficult than Learn Prolog Now!, but if you enjoy SICP, you will enjoy this book.

      http://www.mtome.com/Publications/PNLA/pnla-digital.html

      - The Craft of Prolog by Richard O'Keefe is a must to learn writing correct efficient Prolog code. Many eye-openers.

      http://www.amazon.com/Craft-Prolog-Logic-Programming/dp/0262...

      - Warren's Abstract Machine: A Tutorial Reconstruction by Hassan Ait-Kaci is a thorough overview of David Warren's abstract machine for executing of Prolog code. Since modern Prolog implementations are often based on WAM, it helps in understanding how to design efficient Prolog programs.

      http://wambook.sourceforge.net/

      thread
    6. mark_l_watsonAug 2011
      Looks like a good beginning text.

      I have over a half a dozen Prolog books, my favorite being "The Art of Prolog." Bratko's books, "Prolog and Natural Language Analysis," and "Natural Language Processing in Prolog" are also favorites. I started decades ago with C&M - also a great start.

      It has been over 5 years since anyone has hired me to do any Prolog development. I am not sure how widely used it is now.

      thread

    Related

    Cover of The craft of Prolog
    2009–2026

    The craft of Prolog

    Richard A. O'Keefe
    18 recommend · 57
    Cover of Programming in Prolog
    2009–2026

    Programming in Prolog

    William F. Clocksin
    8 recommend · 22
    Cover of AI algorithms, data structures, and idioms in Prolog, Lisp, and Java
    2013–2022

    AI algorithms, data structures, and idioms in Prolog, Lisp, and Java

    George F. Luger
    1 recommend · 8
    Cover of Foundations of Logic Programming
    2010–2026

    Foundations of Logic Programming

    John W. Lloyd
    1 recommend · 7
    Cover of The art of Prolog
    2009–2026

    The art of Prolog

    Leon Sterling
    36 recommend · 114
    Cover of Logical and Relational Learning
    2016–2018

    Logical and Relational Learning

    Luc De Raedt
    1 recommend · 3
    Cover of Inductive Logic Programming
    2016–2026

    Inductive Logic Programming

    Stephen H. Muggleton
    1 recommend · 5
    Prolog Programming in DepthMichael A. Covington
    2009–2025

    Prolog Programming in Depth

    Michael A. Covington
    4 recommend · 5