Monday, November 6, 2017

The Expected-but-Missing in Context Retrieval

It is a bit of a puzzle how to look back over past word exchanges between a chatbot and its client (the context), to find the meaning of an indeterminate word in the current input, like "it" or "both". It turns out to be reasonably simple in the case of an incomplete input pattern with a missing but expected part that is referenced by "it" or "both". You simply go back over context and filter out anything except words of the expected but missing type. Then retrieve as many as are called for by the indeterminate word, if they are available in that filtered result.

Saturday, November 4, 2017

The Expected but Missing in a narrative pattern

I am particularly proud of these lines of code:

  if 0.25 _le_ node.GOF and node.GOF _le_ 0.75:
   # find the missing node (if there is just one)
   EBM = node.nar.getExpectedButMissing()
   if EBM==NULL_VAR :

   #convert the context into children of that node
   a = self.C.getAll() 
   a2  = EBM.filter(a)
   if len(a2)==0:

The routine then proceeds to grab as many entries from a2 as needed, if available, and inserts them into the incomplete narrative.

Wednesday, November 1, 2017

Bitcoin is a pyramid scheme

Early players got easy to get coins, later players got harder to get coins, and the value of the coins has grown. Sure it is geeky but it is a classic pyramid scheme. Is that legal?

Wednesday, October 18, 2017

Another Monday Dawn at work in Waltham

You can see the DentsplySirona flag in the background:

Barbara Waksman - 2017

Wednesday, October 11, 2017

Oct 9 Flowers

With colleagues Rohit Mohan and Farah Hashmi. Rohit is helping me build a chatbot, at work.

Thursday, October 5, 2017

Jet trail stuck in a cloud

An example, early in the morning going in the door at work: