Does this help? 1 2 1 3 2 4 (,&#) 'abcdef’ NB. sizes of set-ids and text match 6 6 1 2 1 3 2 4 (</.) 'abcdef' NB. so we can group and classify letters +--+--+-+-+ |ac|be|d|f| +--+--+-+-+
1 2 1 3 2 4 (,&#) 'abcdefg' NB. sizes differ... Letter ‘g’ (perhaps) isn’t identified 6 7 1 2 1 3 2 4 (</.) 'abcdefg' NB. so we can’t classify them |length error | 1 2 1 3 2 4 (</.)'abcdefg' Mike Sent from my iPad > On 13 Oct 2019, at 23:58, 'Jim Russell' via Programming > <[email protected]> wrote: > > Rick: My ability to read tacit expressions is so poor that I overlooked the > fact that the your quoted output did not come directly from the Key > expression; silly me, I thought there was some form of the > modifiers/arguments to Key that yielded the results of two inputs. > > (In contrast to your skill, it took be about a half a day to come up with the > tacit dyad(?) mmjnn=:(; ,.) to glue together my trigram table and one result > vector.) > > So I wonder if I dare ask again: > why do the sizes of the x and y argument to Key need to match? > > (Thanks again for all the help!) > >> On Oct 12, 2019, at 5:16 AM, Ric Sherlock <[email protected]> wrote: >> >>>> Or to summarise by trigram: >>>> >>>> (~.@; trig);|: <: #/.~&> supertrig >>>> >>>> +---+---+ >>>> >>>> |ggt|1 2| >>>> >>>> |gta|2 0| >>>> >>>> |taa|1 1| >>>> >>>> |aaa|2 0| > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
