Re: [opencog-dev] Re: Algebraic view of word grammar...

2017-04-06 Thread Ben Goertzel
The mapping into description logic looks to make sense... On Thu, Apr 6, 2017 at 6:14 PM, 'Adam Gwizdala' via opencog wrote: > this looks to me exactly like a definition for a description logic? except > with some constraints on how you define the classes, properties and > individuals so that the

[opencog-dev] Re: Algebraic view of word grammar...

2017-04-06 Thread 'Adam Gwizdala' via opencog
this looks to me exactly like a definition for a description logic? except with some constraints on how you define the classes, properties and individuals so that they meet only the conditions of Word Grammar? eg. --subordinate trans. looks like: 'x hasParent y' paired with respective inversio

Re: [opencog-dev] Re: How to write results from guile shell to a file?

2017-04-06 Thread Linas Vepstas
That's exactly it! --linas On Thu, Apr 6, 2017 at 1:19 PM, Vishnu Priya wrote: > > I tried like this and it worked !! :-) > > echo -e "(define out (open-output-file \"/opt/opencog/file.txt\"))\n(write >> (nlp-parse \"hello world.\") out)\n(close-output-port out)\n" | nc >> localhost 17004 >>

[opencog-dev] Re: How to write results from guile shell to a file?

2017-04-06 Thread Vishnu Priya
I tried like this and it worked !! :-) echo -e "(define out (open-output-file \"/opt/opencog/file.txt\"))\n(write > (nlp-parse \"hello world.\") out)\n(close-output-port out)\n" | nc > localhost 17004 > Cheers, Vishnu -- You received this message because you are subscribed to the Google G