Tis is one of learner.pl example. my problem is how to call out kb.pl in my command line dictionary that i created.
start :-
consult('kb.pl'),nl,
write('Note! Type names entirely in'),nl,
write('lower case, followed by a period.'),nl,
write('Type "stop." to quit.'),nl,
nl...
i using LPA prolog, for example, i key in a word in the prolog version command line dictionary, then read the word whether in the knowledge base or not, if not then will save it to another .pl. then next time if i key the same word, then it will appear the meaning of the word, bcoz last time i...
How to call the thing i save in another .pl, coz i doing dictionary, when the word in not in database, then i set it will automatic save to a database with extension .pl. But, now i facing the problem is how to call out the word that i saved when i use the dictionary again. wat is the coding...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.