Hi Linas, ``` (use-modules (opencog) (opencog persist) (opencog persist-sql)) (use-modules (opencog nlp) (opencog nlp learn)) (sql-open "postgres:///en_pairs?user=ubuntu&password=asdf") (batch-all-pairs) ``` I assume line 408 of the README file <https://github.com/opencog/opencog/blob/master/opencog/nlp/learn/README> is supposed to be (batch-any-pairs)? Got the following error while using (batch-all-pairs):
ERROR: In procedure apply-smob/1: ERROR: Unbound variable: batch-all-pairs ABORT: unbound-variable FYI, the wiki-ss-en.sh didn't finish processing all the articles (from the 300MB simple english wikipedia corpus) to atom tables before my computer crashed. It submitted around 20,000 articles (about 22MB in size, according to the "submitted-articles" folder it generated) to the database. It has 16611283 atoms so far. learn-pairs=# SELECT count(uuid) FROM Atoms; count ---------- 16611283 (1 row) The above process has already taken around 28 hours, so I decided to move on with the small corpus first. -- Ruiting Lian On Sat, May 13, 2017 at 2:53 AM, Linas Vepstas <[email protected]> wrote: > > > On Fri, May 12, 2017 at 5:58 AM, Ruiting Lian <[email protected]> > wrote: > >> Hi Linas, >> * >> >> 8) Chose the corresponding `learn-pairs-??.scm` file, copy it from >> the `run` directory to your working directory. >> >> by "learn-pairs-??.scm", I guess you meant "pair-count-??.scm", >> > > Yes. > > >> because I didn't find any file in the 'run' directory whose name starts >> with "learn-pairs" >> >> So when I run "guile -l pair-count-en.scm", I got the following errors: >> >> ;;; ERROR: Syntax error: >> ;;; opencog/nlp/learn/pseudo-csets.scm:309:8: definition in expression >> context, where definitions are not allowed, in form (define n-tot >> (get-stashed-count)) >> > > I think you need to do a git-pull. For me, line 309 is something > compleltely different. > https://github.com/opencog/opencog/blob/master/opencog/ > nlp/learn/pseudo-csets.scm#L309 > > >> Any idea how to fix it? Thanks a lot. >> > > I also created an LXC container with everything in it, ready to go. This > morning, the container doesn't boot. This is due to a brand-new systemd > bug. I cannot even begin to express how much I absolutely hate systemd. It > goes way out of the way to stab you in the back, repeatedly, every few > months, on purpose. It is the worst piece of software devised by humankind. > It is actually worse than Windows. I have lost vast amounts of time and > productivity trying to work around systemd bugs. Like right now.I just > lost about 12 hours work due to systemd, again, and I will loose another > 12+ hours trying to debug it, and work around it. Stoopid POS. > > I want an operating system that is stable, that works, the boots when I > boot it. I do not want an operating system where I have to be a rocket > surgeon to make it work. systemd sucks. > > --linas > > -- > 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 post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/opencog. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/opencog/CAHrUA35WzAE8Y4-xB8aiH8oBW-c7ApZf%3DP80id- > 8pUbdm53PLg%40mail.gmail.com > <https://groups.google.com/d/msgid/opencog/CAHrUA35WzAE8Y4-xB8aiH8oBW-c7ApZf%3DP80id-8pUbdm53PLg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CANXBDVtBpNX55ZuVzJjDCu_%3DeDNUY3guGqMSoCXyDhJZgZwiEg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
