Talk:Scheme

From OpenCog
Jump to: navigation, search

Error loading (opencog persist)

scheme@(guile-user) [22]> (use-modules (opencog persist))
;;; compiling /usr/local/share/opencog/scm/opencog/persist.scm
;;; opencog/persist.scm:13:0: warning: possibly unbound variable `fetch-atom'
;;; opencog/persist.scm:19:0: warning: possibly unbound variable `fetch-incoming-set'
;;; opencog/persist.scm:26:0: warning: possibly unbound variable `store-atom'
;;; opencog/persist.scm:32:0: warning: possibly unbound variable `load-atoms-of-type'
;;; opencog/persist.scm:38:0: warning: possibly unbound variable `barrier'
;;; opencog/persist.scm:54:28: warning: possibly unbound variable `cog-incoming-set'
;;; opencog/persist.scm:56:32: warning: possibly unbound variable `store-atom'
;;; opencog/persist.scm:78:24: warning: possibly unbound variable `fetch-incoming-set'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/persist.scm.go

Error loading (opencog rule-engine)

scheme@(guile-user) [22]> (use-modules (opencog rule-engine))
;;; compiling /usr/local/share/opencog/scm/opencog/rule-engine.scm
;;; opencog/rule-engine.scm:12:0: warning: possibly unbound variable `export-rule-engine-utils'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/rule-engine.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/rule-engine/rule-engine-utils.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/rule-engine/rule-engine-utils.scm.go

Error loading (opencog cogserver)

scheme@(guile-user) [22]> (use-modules (opencog cogserver))
;;; compiling /usr/local/share/opencog/scm/opencog/cogserver.scm
;;; opencog/cogserver.scm:29:8: warning: possibly unbound variable `c-start-cogserver'
;;; opencog/cogserver.scm:45:8: warning: possibly unbound variable `c-stop-cogserver'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/cogserver.scm.go

Error loading (opencog nlp chatbot)

scheme@(guile-user) [22]> (use-modules (opencog nlp chatbot))
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/chatbot.scm
;;; opencog/nlp/chatbot.scm:10:0: warning: possibly unbound variable `init-trace'
;;; opencog/nlp/chatbot.scm:11:0: warning: possibly unbound variable `trace-msg'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/chatbot.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/chatbot/chat-utils.scm
;;; compiling /usr/local/share/opencog/scm/opencog/nlp.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/nlp-utils.scm
;;; opencog/nlp/nlp-utils.scm:925:17: warning: possibly unbound variable `exact-integer?'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/nlp-utils.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/processing-utils.scm
;;; opencog/nlp/processing-utils.scm:171:32: warning: possibly unbound variable `nlp-parse'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/processing-utils.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/fuzzy.scm
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/sureal.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/sureal.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/sureal/surface-realization.scm
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/lg-dict.scm
;;; opencog/nlp/lg-dict.scm:24:8: warning: possibly unbound variable `lg-get-dict-entry'
;;; opencog/nlp/lg-dict.scm:25:8: warning: possibly unbound variable `lg-get-dict-entry'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/lg-dict.scm.go
link-grammar: Info: Dictionary found at /usr/local/share/link-grammar/en/4.0.dict
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic.scm
;;; opencog/nlp/relex2logic.scm:55:30: warning: possibly unbound variable `cog-fc'
;;; opencog/nlp/relex2logic.scm:55:30: warning: possibly unbound variable `r2l-rules'
;;; opencog/nlp/relex2logic.scm:57:8: warning: possibly unbound variable `append-map'
;;; opencog/nlp/relex2logic.scm:75:28: warning: possibly unbound variable `remove'
;;; opencog/nlp/relex2logic.scm:77:20: warning: possibly unbound variable `delete-duplicates'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/rule-utils.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rule-utils.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/r2l-utilities.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/r2l-utilities.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/tv-utilities.scm
;;; opencog/nlp/relex2logic/tv-utilities.scm:80:26: warning: possibly unbound variable `etv'
;;; opencog/nlp/relex2logic/tv-utilities.scm:80:36: warning: possibly unbound variable `tv-positive-count'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/tv-utilities.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/post-processing.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/post-processing.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/rule-helpers.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rule-helpers.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/load-rules.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/load-rules.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/comp.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/comp.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/advmod.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/advmod.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/adverbialpp.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/adverbialpp.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/amod.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/amod.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/atTime.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/atTime.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/because.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/because.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/be-inheritance.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/be-inheritance.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/compmod.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/compmod.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/conj.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/conj.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/copula-ynq.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/copula-ynq.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/declarative.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/declarative.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/definite.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/definite.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/det.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/det.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/gender.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/gender.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/howdeg-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/howdeg-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/howpredadj1-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/howpredadj1-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/how-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/how-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/howquant-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/howquant-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/imperative.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/imperative.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/interrogative.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/interrogative.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/neg.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/neg.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/nn.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/nn.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/passive.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/passive.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/poss.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/poss.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/pp.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/pp.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/pred-ynq.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/pred-ynq.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/PREP.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/PREP.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/quantity.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/quantity.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/rel.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/rel.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/rep.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/rep.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/SP.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/SP.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/SVIO1.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/SVIO1.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/SVIO2.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/SVIO2.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/svo.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/svo.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/SV.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/SV.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/tense.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/tense.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/TOBE.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/TOBE.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/todo1.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/todo1.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/todo2.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/todo2.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/todo3.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/todo3.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/todo5.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/todo5.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/truthquery.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/truthquery.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/when-cop-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/when-cop-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/when-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/when-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/where-cop-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/where-cop-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/where-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/where-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/whichiobjQ.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/whichiobjQ.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/whichobjQ.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/whichobjQ.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/whichpredadjQ.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/whichpredadjQ.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/whichsubjSVOQ.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/whichsubjSVOQ.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/why-cop-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/why-cop-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/../rules/why-q.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/rules/why-q.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/gen-r2l-en-rulebase.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/relex2logic/loader/gen-r2l-en-rulebase.scm.go
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/sureal/surface-realization.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/main.scm
;;; opencog/nlp/microplanning/main.scm:47:8: warning: possibly unbound variable `make'
;;; opencog/nlp/microplanning/main.scm:47:8: warning: possibly unbound variable `<chunks-option>'
;;; opencog/nlp/microplanning/main.scm:87:38: warning: possibly unbound variable `insert-anaphora'
;;; opencog/nlp/microplanning/main.scm:89:34: warning: possibly unbound variable `get-chunks'
;;; opencog/nlp/microplanning/main.scm:89:55: warning: possibly unbound variable `get-utterance-types'
;;; opencog/nlp/microplanning/main.scm:93:8: warning: possibly unbound variable `microplanning-init'
;;; opencog/nlp/microplanning/main.scm:135:38: warning: possibly unbound variable `make'
;;; opencog/nlp/microplanning/main.scm:135:38: warning: possibly unbound variable `<atomW>'
;;; opencog/nlp/microplanning/main.scm:157:54: warning: possibly unbound variable `get-atom'
;;; opencog/nlp/microplanning/main.scm:166:56: warning: possibly unbound variable `make'
;;; opencog/nlp/microplanning/main.scm:166:56: warning: possibly unbound variable `<chunks-set>'
;;; opencog/nlp/microplanning/main.scm:194:46: warning: possibly unbound variable `make'
;;; opencog/nlp/microplanning/main.scm:194:46: warning: possibly unbound variable `<chunks-set>'
;;; opencog/nlp/microplanning/main.scm:209:59: warning: possibly unbound variable `get-leftover-count'
;;; opencog/nlp/microplanning/main.scm:215:56: warning: possibly unbound variable `is-subset?'
;;; opencog/nlp/microplanning/main.scm:220:32: warning: possibly unbound variable `less-leftover?'
;;; opencog/nlp/microplanning/main.scm:224:32: warning: possibly unbound variable `less-chunks?'
;;; opencog/nlp/microplanning/main.scm:235:93: warning: possibly unbound variable `get-length'
;;; opencog/nlp/microplanning/main.scm:236:96: warning: possibly unbound variable `get-length'
;;; opencog/nlp/microplanning/main.scm:238:80: warning: possibly unbound variable `less-variation?'
;;; opencog/nlp/microplanning/main.scm:275:45: warning: possibly unbound variable `get-atom'
;;; opencog/nlp/microplanning/main.scm:301:64: warning: possibly unbound variable `get-main-weight-proc'
;;; opencog/nlp/microplanning/main.scm:326:75: warning: possibly unbound variable `get-atom'
;;; opencog/nlp/microplanning/main.scm:329:64: warning: possibly unbound variable `get-atom'
;;; opencog/nlp/microplanning/main.scm:344:98: warning: possibly unbound variable `cog-has-node?'
;;; opencog/nlp/microplanning/main.scm:345:88: warning: possibly unbound variable `get-atom'
;;; opencog/nlp/microplanning/main.scm:372:64: warning: possibly unbound variable `get-supp-weight-proc'
;;; opencog/nlp/microplanning/main.scm:389:24: warning: possibly unbound variable `get-main-weight-proc'
;;; opencog/nlp/microplanning/main.scm:432:29: warning: possibly unbound variable `match-sentence-forms'
;;; opencog/nlp/microplanning/main.scm:432:71: warning: possibly unbound variable `cog-has-atom-type?'
;;; opencog/nlp/microplanning/main.scm:481:42: warning: possibly unbound variable `get-atom'
;;; opencog/nlp/microplanning/main.scm:482:40: warning: possibly unbound variable `get-atom'
;;; opencog/nlp/microplanning/main.scm:492:37: warning: possibly unbound variable `get-time-weight'
;;; opencog/nlp/microplanning/main.scm:494:61: warning: possibly unbound variable `match-sentence-forms'
;;; opencog/nlp/microplanning/main.scm:517:51: warning: possibly unbound variable `match-sentence-forms'
;;; opencog/nlp/microplanning/main.scm:517:99: warning: possibly unbound variable `get-form-limit'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/main.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/sentence-forms.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/sentence-forms.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/helpers.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/helpers.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/anaphora-noun-item.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/anaphora-noun-item.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/anaphora-nouns-list.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/anaphora-nouns-list.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/anaphora.scm
;;; opencog/nlp/microplanning/anaphora.scm:26:28: warning: possibly unbound variable `clone-set'
;;; opencog/nlp/microplanning/anaphora.scm:30:35: warning: possibly unbound variable `get-chunks'
;;; opencog/nlp/microplanning/anaphora.scm:35:58: warning: possibly unbound variable `get-utterance-type'
;;; opencog/nlp/microplanning/anaphora.scm:63:56: warning: possibly unbound variable `mod-link'
;;; opencog/nlp/microplanning/anaphora.scm:66:73: warning: possibly unbound variable `get-link'
;;; opencog/nlp/microplanning/anaphora.scm:74:64: warning: possibly unbound variable `mod-link'
;;; opencog/nlp/microplanning/anaphora.scm:87:46: warning: possibly unbound variable `get-chunk'
;;; opencog/nlp/microplanning/anaphora.scm:88:43: warning: possibly unbound variable `get-utterance-type'
;;; opencog/nlp/microplanning/anaphora.scm:92:48: warning: possibly unbound variable `mod-chunk'
;;; opencog/nlp/microplanning/anaphora.scm:92:77: warning: possibly unbound variable `get-chunk'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/anaphora.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/chunks-option.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/chunks-option.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/chunks-set.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/chunks-set.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/microplanning/atomW.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/microplanning/atomW.scm.go
;;; opencog/nlp/fuzzy.scm:129:4: warning: possibly unbound variable `nlp-fuzzy-match'
;;; opencog/nlp/fuzzy.scm:189:19: warning: possibly unbound variable `nlp-fuzzy-match'
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/fuzzy.scm.go
ImportError: /usr/local/share/opencog/python/opencog/atomspace.so: undefined symbol: _ZN7opencog4Atom13getTruthValueEv
Segmentation fault (core dumped)

Error loading (opencog nlp chatbot-eva)

scheme@(guile-user)> (use-modules (opencog nlp chatbot-eva))
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/chatbot-eva.scm
;;; compiled /home/adam/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/opencog/scm/opencog/nlp/chatbot-eva.scm.go
;;; compiling /usr/local/share/opencog/scm/opencog/nlp/chatbot/chat-utils.scm
link-grammar: Info: Dictionary found at /usr/local/share/link-grammar/en/4.0.dict
ImportError: /usr/local/share/opencog/python/opencog/atomspace.so: undefined symbol: _ZN7opencog4Atom13getTruthValueEv
Segmentation fault (core dumped)



New-Cog-Node not working

Cog-New-Node doesn't seem to work: (cog-new-node 'ConceptNode "some node name") This is equivalent to (ConceptNode "some node name") right? Is Cog-New-Node deprecated or dropped?

Adam (talk) 10:50, 24 January 2017 (UTC)

Description - possible error

; Change the truth value of an existing node: 
guile> (cog-link 'Link x y (cog-new-stv 0.7 0.8)) 
(Link (stv 0.7 0.8)
   (ConceptNode "abc")
   (ConceptNode "def")
)

Shouldn't this say 'Change the truth value of an existing link'? Adam (talk) 10:50, 24 January 2017 (UTC)


cog-delete-recursive atom not doing what is in tute

Doesn't seem to work as explained in tute:

; Verify that the link l is gone: 
guile> l 
#<Invalid handle>

I tried it and l still exists:

scheme@(opencog) [11]> (define x (ConceptNode "abc"))
scheme@(opencog) [11]> (define y (ConceptNode "def"))
scheme@(opencog) [11]> (define l (Link x y))
scheme@(opencog) [11]> (cog-delete-recursive x)
$79 = #t
scheme@(opencog) [11]> x
$80 = #<Invalid handle>

scheme@(opencog) [11]> l
$81 = (Link
   (ConceptNode "abc")
   (ConceptNode "def")
)

cog-handle-atom

my output is different from that in 'scheme' doco (much higher numbers) http://wiki.opencog.org/w/Scheme#cog-handle_atom

scheme@(guile-user)> (define x (ConceptNode "abc"))
scheme@(guile-user)> (define y (ConceptNode "def"))
scheme@(guile-user)> (cog-handle x)
$1 = 999204378473985858
scheme@(guile-user)> (cog-handle y)
$2 = 7855703227929239017

cog-undefined-handle

my output is different from that in 'scheme' doco (a zero instead of a high number) http://wiki.opencog.org/w/Scheme#cog-undefined-handle

 (cog-undefined-handle)
$4 = 0

cog-atom handle

cog-atom not working! http://wiki.opencog.org/w/Scheme#cog-atom_handle

scheme@(guile-user)> (define x (ConceptNode "abc"))
scheme@(guile-user)> (cog-handle x)
$5 = 999204378473985858
scheme@(guile-user) [1]> (cog-atom 999204378473985858)
ERROR: In procedure cog-atom:
ERROR: In procedure cog-atom: Error while printing exception.

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.

cog-set-tv! atom tv

Slightly differs from output in documentation: http://wiki.opencog.org/w/Scheme#cog-set-tv!_atom_tv

scheme@(guile-user)> (define x (cog-new-node 'ConceptNode "def"))
scheme@(guile-user)> (cog-tv x)
$1 = (stv 1 0)

cog-av->alist av

Output differs: http://wiki.opencog.org/w/Scheme#cog-av->alist_av

scheme@(guile-user)> (define x (cog-new-av 99 88 #f))
ERROR: In procedure cog-new-av:
ERROR: In procedure cog-new-av: Wrong type argument in position 3 (expecting unsigned short): #f

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> (cog-av->alist x)
ERROR: In procedure cog-av->alist:
ERROR: In procedure cog-av->alist: Wrong type argument in position 1 (expecting opencog attention value): (ConceptNode "abc" (av 11 21 0))


Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.

cog-af-boundary

output differs from doc

scheme@(guile-user) [1]> (cog-af-boundary)
$2 = 1



Adam (talk) 10:50, 24 January 2017 (UTC)