Calculating
Last page | Imprint | Next page

AI Does Simple Reading Comprehension

Consider this text:

First, I wake up. Then, I get dressed.
I walk to school. I do not ride a bike.
[...]

Question 1: What happens first?

  1 Get dressed   2 Wake up
  3 Eat lunch     4 Walk to school
  
[+4 more questions]

Program that solves this. (One screen of code as always.)

The engine is pretty generic. It works by correlating words in the text, the question and the answer. The only additional information we put in is a list of "important words"—this time in the form of regular expressions:

"(?<!not )like", "not like", "dinner", "school", "bed"

The first expression matches on "like", but not on "not like" which avoids some confusion.

(Why do we have to put in these regular expressions? Well, the AI is young, so we help it out a little bit. The semantic knowledge the AI gathers in these exercises will eventually allow it to function without human help.)

Now on to more challenges!

agi.blueAn AGI is a web server

agi.blue. Ask anything.

Yeah it's pretty empty. Let's fill it! Just talk. No limits.

We can now build bots for Gitter

Integrating with the world. A friend's room with some bots.

My JavaX Gitter implementation which is about a million times shorter than anyone else's—only one screen of code.

When bots work together

Hello Monkey & Gazelle.

My Fiverr Intro

Yeah it's unscripted. Geniuses work like that.

Android assistant is coming back

...now with multi-user support. Download here.

No it's not in the play store. Blame Google.

Proof that StackOverflow is broken

Original post. Oh my! It is on the wrong subsite. What do they do? Do they move it? No—they lock it. Classic StackOverflow admin malfunction.

So we move it ourselves. What will happen next?

The 3 mental spaces

Human, computer, objective.

I want to build a team now

No more working alone!

Our brains have 2 parts

...and they're (probably) not the ones you think.

Phrase Corrector

Approaching AI, chapter 915423

One User Second

...should be enough time for a bot to respond.

The two fundamental ways to make a chat bot

Recognizing things on a screen

More edutainment for your pleasure!

First easter without a death wish

Now if that isn't a change. Videos about AI coming.

Whenever my language bores me

...I shorten it. Let's say I want to make a big input field with full persistence and switchable font size (like you see on the right). Then I write this:

cmodule BigInput {
  S text; // auto-persisted string field
  switchable int fontSize = 40;
  visual setFontSize(fontSize, dm_textArea('text));
}

(I just created the 2 new JavaX syntax constructs 'switchable' and 'visual' in like 10 minutes. Hover over the source code for more info.) —Automatic popup menu.

New stuff to test

If this runs, you're read-d-dy for making a bot. (Actual software coming up.)

From dialog to chat bot 101

(In a few steps, that is.)

What time is it?
It's 5:30
Why did you say that?
Because you asked me what time it is.

Bots now available 'standalone'

One huge jar file. Includes a GUI and a database. And learns from the cloud while running.

Gazelle

...will explain itself (as a general principle).

Last page | Imprint | Next page