Re: [opencog-dev] Performance improvement suggestion for the LALR parser generator used by GHOST

2019-07-01 Thread Leung Man Hin
Hi Xabush, Performance-wise, I think it would be really nice to replace the LALR parser in Ghost with the nyacc parser for the 5-6X performance gain + better debugging and logging capabilities, if it's not too much work :) On Sun, Jun 30, 2019 at 6:21 AM Linas Vepstas wrote: > Well, you are

Re: [opencog-dev] Re: Is ghost multi-threaded?

2019-02-26 Thread Leung Man Hin
Should be one thread, there are no BindLinks/GetLinks that run in parallel. On Wed, Feb 27, 2019 at 12:27 PM Linas Vepstas wrote: > > > On Tue, Feb 26, 2019 at 9:18 PM amebel@hr wrote: > >> Ghost uses openpsi loops. These are atomspace recursive calls running in >> a scheme thread. >> > > But

Re: [opencog-dev] Ghost questions/issue

2018-02-04 Thread Leung Man Hin
OK will see if it still crashes once that's fixed: https://github.com/opencog/opencog/issues/2991 On Mon, Feb 5, 2018 at 3:27 PM, Linas Vepstas <linasveps...@gmail.com> wrote: > > > On Sun, Feb 4, 2018 at 10:41 PM, Leung Man Hin <manhinle...@gmail.com> > wrote: > >

Re: [opencog-dev] Ghost questions/issue

2018-02-04 Thread Leung Man Hin
> Why would that cause a seg-fault? I'm guessing there needs to be some > cleanup, > some kind of RAII (resource acquisition is initalization) issue here? > ​It seems so, I'll look into this​ -- You received this message because you are subscribed to the Google Groups "opencog" group. To

Re: [opencog-dev] Ghost questions/issue

2018-01-30 Thread Leung Man Hin
Hi, For question 1, that's a feature borrowed from ChatScript that the same rule won't be triggered again unless you do "keep". This may not be a feature we want in Ghost but we'll see in the coming months. For question 2, the segfault is caused by interrupting the process, it can be avoided by

[opencog-dev] Re: Matching parameters of GlobNode.

2017-03-28 Thread Leung Man Hin
Yes it is, TypeSetLink is not required for the DSL but as a full general solution that may be nice to have as well. On the other hand, is it also possible to not specify the upper boundary of the interval? Thanks! On Wed, Mar 29, 2017 at 10:31 AM, Linas Vepstas wrote: >

Re: [opencog-dev] Loading data for chatbot by primitive-load

2016-11-22 Thread Leung Man Hin
The file doesn't contain everything generate by nlp-parse, particularly the R2L outputs seem to be missing. Probably if you export them as well in a file you will get the results On Wed, Nov 23, 2016 at 4:43 AM, Vishnu Priya wrote: > > Hi Man, > > Thanks for the

Re: [opencog-dev] Loading data for chatbot by primitive-load

2016-11-21 Thread Leung Man Hin
Hi Vishnu, I couldn't reproduce this problem... can you share the scm file you were using? On Mon, Nov 21, 2016 at 6:16 PM, Vishnu Priya wrote: > Hello, > > I know that i could give input to the chatbot by (nlp-parse "the sky is > beautiful"). > But i also tried

Re: [opencog-dev] Re: Is the open source AtomSpace?

2016-11-01 Thread Leung Man Hin
On Wed, Nov 2, 2016 at 1:49 AM, André Senna wrote: > Man Hin, do you think SuReal will work with this simplification? > > ​I am not sure​... I'll find out what is minimally required for sureal to generate sentences > 2016-10-31 18:57 GMT-02:00 Linas Vepstas

Re: [opencog-dev] Chatbot and the Error: wrong type argument in Position

2016-09-02 Thread Leung Man Hin
it is recommended to use the newer chatbot (chatbot-psi) via the `chat` commend, e.g. (chat "who is generous?"), or call it via the webui with HEAD running, thanks On Wed, Aug 31, 2016 at 9:11 PM, wrote: > > I tried chatbot demonstration also by installing