Search found 12 matches

by Li
11 Apr 2015 11:05
Forum: Visual Prolog
Topic: What does this ERROR mean?
Replies: 2
Views: 2449

Re:

Vitaly Markov wrote:'A$*' is list of polymorphic domain 'A'

Thank you so much. :D
by Li
9 Apr 2015 2:36
Forum: Visual Prolog
Topic: What does this ERROR mean?
Replies: 2
Views: 2449

What does this ERROR mean?

by Li
28 Mar 2015 13:50
Forum: Visual Prolog
Topic: Labview and Prolog
Replies: 1
Views: 2230

Labview and Prolog

Dear Thomas.
Now I want to make Labview call Prolog,but I can't find any material.Did you ever have experience with this? :D
by Li
5 Jan 2015 3:57
Forum: Visual Prolog
Topic: two queries about swi-prolog and visual-prolog
Replies: 3
Views: 1981

Wow,Thomas,you are a genius.Thank you :D :D The "DCG" is perfectly solved beyond my expectation. And I have tested the ";" again.There is a problem here.When I define such a predicate: class predicates fact:(integer N, integer Res) procedure (i,o). clauses fact(N, F) :- (N<=1,F=1); (N>1,fact(N-1, F1...
by Li
4 Jan 2015 8:32
Forum: Visual Prolog
Topic: two queries about swi-prolog and visual-prolog
Replies: 3
Views: 1981

two queries about swi-prolog and visual-prolog

Dear friends:

In swi-prolog I can do such thing "sentence --> nounphrase, verbphrase."

The "-->" which is called DCG(Definite Clasue Grammer).

and in swi-prolog I can take ";" as "if else" to use.

Whether can visual prolog do things like above? :D :D :D
by Li
26 Dec 2014 1:17
Forum: Visual Prolog
Topic: whether Visual Prolog can do natural language processing?
Replies: 10
Views: 2871

Re:

For a real domain you will have to include "digits" in the definition like this: domains limited = [0..50] digits 16. (16 is actually the only sensible choice). You cannot define a sub-set of string like you propose, but you can define a functor domain with a fixed set of functors/enumerators: doma...
by Li
24 Dec 2014 13:01
Forum: Visual Prolog
Topic: whether Visual Prolog can do natural language processing?
Replies: 10
Views: 2871

Re:

Visual Prolog does not have facilities for making calls in that way, you will have to create an interpreting predicate yourself: class predicates interpret : (string List). clauses interpret(["forward", LenStr, Unit]) :- Len = tryToTerm(integer, LenStr), !, forward(Len Unit). ... interpret([F|Args]...
by Li
23 Dec 2014 3:15
Forum: Visual Prolog
Topic: whether Visual Prolog can do natural language processing?
Replies: 10
Views: 2871

Re:

Well, I see that what you mean by "natural language processing" is at a starting level. I think then you should deal with the problem with some method : 1) you can get answers to such questions in the book Visual Prolog for Tyros which will gradualy show you how VIP works. 1) you should later run a...
by Li
23 Dec 2014 3:12
Forum: Visual Prolog
Topic: whether Visual Prolog can do natural language processing?
Replies: 10
Views: 2871

Re:

Visual Prolog does not have facilities for making calls in that way, you will have to create an interpreting predicate yourself: class predicates interpret : (string List). clauses interpret(["forward", LenStr, Unit]) :- Len = tryToTerm(integer, LenStr), !, forward(Len Unit). ... interpret([F|Args]...
by Li
22 Dec 2014 2:42
Forum: Visual Prolog
Topic: whether Visual Prolog can do natural language processing?
Replies: 10
Views: 2871

:D :D :D
by Li
21 Dec 2014 11:36
Forum: Visual Prolog
Topic: whether Visual Prolog can do natural language processing?
Replies: 10
Views: 2871

Re:

Hi, Natural language processing is a world of its own. There is a priori no reason to think that a computer language is better than another to do such a thing. But a main feature of that world is that it requires many original modelling tools. The advantadge of VIP is that it's very well adapted to...
by Li
21 Dec 2014 4:35
Forum: Visual Prolog
Topic: whether Visual Prolog can do natural language processing?
Replies: 10
Views: 2871

whether Visual Prolog can do natural language processing?

If it is able to do such things,can you recommend some books,articles,tutorial,whatever,etc.Thank you very much. :D :D :D