A first step can be:

<@(<;._1@:(' '&,));._2 T

with T being:

T=: 0 :0
The cat's collar is laying outside Bill's porch.
)

or
T =: fread 'some text file'



Op 28-12-17 om 07:41 schreef 'Skip Cave' via Programming:
I have a lot of text that i want to work with, doing word counts, phrase
counts, etc.

Here's a typical sentence:

The cat's collar is laying outside Bill's porch.

I want to box the words in this sentence using ;: .

    ;: 'The cat's collar is laying outside Bill's porch.'

|value error: Bill

| ;: 'The cat's collar is laying outside Bill's porch.'


How do I box words with apostrophes in them?


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

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

Reply via email to