Deleted too much: "One'd have to reshapre items appropriate, adding a dimension, to deal with lists." is what I meant to write.
Sep 12, 2022, 07:50 by programm...@jsoftware.com: > Hey, > > Whilst getting back to a Markov text generator in J, I quickly came to the > issue of all top-result verbs for histograms, found querying the wiki and the > mailing lists, to be dealing with numeric types only. One'd have to reshape > the items appropriately to a new dimension. But if one has n-tuples of words, > what then? The verbs give domain errors on symbols and boxes. > > Obviously, I. can't be used, and something long would just be ill-performant, > like +/|:= and tying that to the nub somehow. What would work with symbols, > boxed strings, or rank 2 array? What would work well? A typical novel is 8e4 > +- 2e4, that's a lot of tuples, and my idea is to employ 3-, 4-, and 5-length > groupings, just to compare results with different settings. I've dealt > little-to-not-at-all with symbols, and boxed strings, > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm