Re: Counting Symbols
- To: mathgroup at smc.vnet.net
- Subject: [mg70905] Re: Counting Symbols
- From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
- Date: Wed, 1 Nov 2006 03:55:41 -0500 (EST)
- References: <ei4lrs$djv$1@smc.vnet.net>
StringCount does what you want. FrontEndExecute[{HelpBrowserLookup["RefGuideLink", "StringCount"]}] Steve Luttrell West Malvern, UK "R M" <ihcuwum at yahoo.com> wrote in message news:ei4lrs$djv$1 at smc.vnet.net... > > I have a whole bunch of documents from which I would like to figure out > what keystrokes/symbols are used the most. What commands should I use to > figure this out? I have (unsuccessfully) tried to use Flatten and Short. > My approach is to pull the document into Mathematica as a notebook object, > then use Mathematica's list manipulation commands to figure out what > symbols are used most frequently. > > This whole problem involves my recent purchase of a Logic Controls > programmable keyboard. So far I have programmed keys to perform > [esc]sumt[esc], [downarrow]alt+5, cntrl+space, cntrl+9, etc. I am trying > to figure out which symbols are used the most so that I can program the > keyboard most efficiently. > > >