insert =. '/'

isadverb insert

or

isadverb '/'

considering that 5!:0 can be used to produce the adverb from string,

   + (<'/') 5!: 0 ] 1 2 3
6

that would seem to be a promissing path

The only idea I have is to generate a trappable error that could distinguish 
between adverb/modifier and non-adverb, but I need ideas for one.

Part of the problem I have is that I cannot seem to get either:

ar =: 1 : '5!:1 <''u'''
ar2 =: 3 : '5!:1 <''y'''

to be able to return '4  Bonded conjunction or train of adverbs' from this page:

http://www.jsoftware.com/help/dictionary/dx005.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to