Re: word counting

2006-09-05 Thread Mumia W.
On 09/05/2006 03:47 AM, Andrew Kennard wrote: Hi all I'm looking for a good word counting module/sub routine I've found this so far http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=562&lngWId=6 but it counts things like the "Item1,Item2,Item3"

Re: word counting

2006-09-05 Thread Dr.Ruud
"Andrew Kennard" schreef: > I need a word counter to count the number of words in a scientific > paper. I know it wont be 100% accurate due to formulas etc echo 'I,Item1,Item2,Item3,a' | sed 's/[^A-Za-z0-9]/ /g' | wc If you want to count only strings with a specific minimum length, use `st

word counting

2006-09-05 Thread Andrew Kennard
Hi all I'm looking for a good word counting module/sub routine I've found this so far http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=562&lngWId=6 but it counts things like the "Item1,Item2,Item3" as one word I've had a search on CPAN but that