I have been trying to implement a J version of "caverphone2"
caversham.otago.ac.nz/files/working/ctp150804.pdf .

A group of rules in this algorithm are of the form  'replace groups of the
letter "x" with a "X"'' Where "x" can be any letter.

So for example, the input 'sessi43sss' should result in the output of
'seSi43S'.  I have tried cut (;.) and rxmatch to no avail.  It seems like
there should be simple J way to do this but I have not found it.  Any
suggestions would be appreciated.

Thanks,

Ken
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to