[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Counting Word Frequency in XyW
- Subject: Re: Counting Word Frequency in XyW
- From: auerbach@xxxxxxxx (David Auerbach)
- Date: Thu, 27 Apr 95 15:46:24 EDT
On 27 Apr 95 14:39:29 EDT you wrote:
>My first computer, a Kaypro that ran CP/M, came bundled with a sweet little
>program called Word Freq, which would build an alphabetical list of all the
>words in a file and count them. Does anyone know of an XPL program that takes
>advantage of XyWrite's (DOS and Win) SORT function to build such a list that
>counts the occurance of each word in a file?
>
>While I'm not sure of any effective way to identify frequency of all words, the
>change invisible command is a lightening fast way of searching for the frequency
>of any particular word. Using change invisible to change a word to itself will
>return the amount of changes made (the frequency of that word).
>
>Thanks,
>Christopher Litsinger
>XyWrite Technical Support
This is an excellent technique and I've used it a lot. Beware of
this: ci /aardvark/aardvark/ will change Aardvark to aardvark.
Better is cia/w .
_________________________________________________________
David Auerbach
auerbach@xxxxxxxx
Department of Philosophy & Religion
NCSU Box 8103
Raleigh, NC 27695-8103