Re: Does natural language skill translate to programming skill?



LEE Sau Dan wrote:
"Helmut" == Helmut Wollmersdorfer <helmut@xxxxxxxxxxxxxxxxx> writes:

Helmut> I switched from Prolog to Perl, because Perl is powerful
Helmut> and fast.

But Perl doesn't have a solver that automatically evaluates a predicate
given a set of rules and facts.

Prolog can be used for general purpose (like any programming language), and I did this for many years.

Different tools, for different purposes. That fact that Perl suits
your specific needs better, doesn't mean that this tool is a better
tool for every purpose.

Agreed. But don't forget the advantage of the large libraries, which are available for popular programmimg languages like Perl, PHP, Python, Java, C++ etc. Prolog never was very popular.

Helmut> But for parsing a complete sentence and do some reasoning
Helmut> with it, I would use Prolog.

Choosing the right tool is the most important decision, as the wrong
tool would make you fail, however hard you work.

ACK. And solving very complex problems often needs a mix of programming languages. NLP is such a complex problem.

Aidan was over-generalizing based on his ignorance. While Prolog is
not popular and generally unheard to the laymen, it does find its
application in many professional areas. Sometimes, the Prolog engine
is hidden so well behind the user interfaces (which can be text or
graphical) that the users aren't aware of it.

Of course. Most of my applications written in Prolog are graphical, CAD like, and solve problems based on a huge amount of constraints and rules.

Helmut Wollmersdorfer
.



Relevant Pages

  • Re: Is Prolog good for AI? (was: Minsky still posting)
    ... >> widely viewed as a failure. ... programming language was "a version of Prolog". ...
    (comp.lang.prolog)
  • Algorithm transformation
    ... (sorry if the syntax is prolog like, but it is the programming language ... And the target is to obtain the set of rules for the addition of one ...
    (comp.theory)
  • Re: C# 3.0 with pseudorelational extensions
    ... >> convinced that unifying the capabilities of the dbms and the ... >> general purpose programming language will lead to some great ... > prolog appeared within months of RM, and was based on just that premise. ... >> mostly about throwing out relational functionality and putting ...
    (comp.databases.theory)
  • Re: After Clocksin & Mellish?
    ... When you say "the Prolog programming language" or "the programming language Prolog" ... Is there any real need to speak of "the Prolog programming language" in the singular? ... If as procurement officer I am writing the final specifications ...
    (comp.lang.prolog)
  • Re: compare element in a list prolog
    ... >>for most Prolog newcomers, namely, how, starting with a blank slate, do ... >>of Prolog programming and, as such, only comes from continued practice. ... to designing programs in any programming language, I agree, but AFAIK ... > processing lists. ...
    (comp.lang.prolog)

Quantcast