Maybe I answered myself.
Lg-atomese doesn't even do the "2logic" functionality so I'll never find a
ConceptNode.
Instead, for relex2logic there is no longer backward compatibility, right?
I concluded by doing a revert commit where relex2logic still works as, for
my simple requests, it was enough and it works.
Michele
Il giorno lunedì 30 agosto 2021 alle 12:56:17 UTC+2 Michele Thiella ha
scritto:
> By the way, using lg-atomese as in your example:
>
> (cog-execute!
> (LgParse
> (PhraseNode "The book is on the table.")
> (LgDictNode "en")
> (NumberNode 1)))
>
> how would the Query be to get the following?
>
> (EvaluationLink
> (PredicateNode "on")
> (ListLink
> (ConceptNode "book")
> (ConceptNode "table"))
>
>
> Il giorno lunedì 30 agosto 2021 alle 11:45:15 UTC+2 Michele Thiella ha
> scritto:
>
>> Hi Linas,
>>
>> I built lg-atomese and then rebuilt atomspace and opencog.
>> Is it normal that (nlp-parse ".....") doesn't work anymore?
>>
>> guile> (nlp-parse "The book is on the table")
>> Error: Cannot connect to RelEx server: unbound-variable
>> (#f Unbound variable: ~S (LemmaLink) #f)
>> Backtrace:
>> 7 (apply-smob/1 #<catch-closure 561c08863de0>)
>> 6 (apply-smob/1 #<catch-closure 561c08863be0>)
>> In ice-9/boot-9.scm:
>> 2312:4 5 (save-module-excursion #<procedure 561c08859040 at ice-…>)
>> In ice-9/eval-string.scm:
>> 38:6 4 (read-and-eval #<input: string 561c08c728c0> #:lang _)
>> In opencog/nlp/chatbot/chat-utils.scm:
>> 197:16 3 (nlp-parse _)
>> In unknown file:
>> 2 (scm-error misc-error #f "~A" ("The RelEx server seem…") …)
>> In ice-9/boot-9.scm:
>> 751:25 1 (dispatch-exception 0 misc-error (#f "~A" ("The Rel…") …))
>> In unknown file:
>> 0 (apply-smob/1 #<catch-closure 561c08863ba0> misc-error # …)
>>
>> ERROR: In procedure apply-smob/1:
>> The RelEx server seems to have crashed!
>> ABORT: misc-error
>>
>>
>> But no errors or crashes appear in the Relex server shell:
>>
>> Info: Waiting for socket connection
>> Loop count=1 Restart count=0
>> Info: Waiting for socket connection
>> Info: Enter thread with handler 1
>> Info: hndlr=1 recv input: "The book is on the table"
>> Info: hndlr=1 sentence: "The book is on the table"
>> Link-parsing: 8 milliseconds (avg=8 millisecs, cnt=1)
>> RelEx processing: 75 milliseconds (avg=75 millisecs, cnt=1)
>> Info: hndlr=1 sent parse 1 of 1
>> Info: hndlr=1 Closed input socket
>>
>
--
You received this message because you are subscribed to the Google Groups
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/opencog/7758aee7-6903-4f8f-8893-f944e7dec6c2n%40googlegroups.com.