Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2451 > unrolled thread
| Started by | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| First post | 2011-05-18 11:16 +0000 |
| Last post | 2011-05-18 11:16 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Count Ouccrence of words in a long text Bill Rowe <readnews@sbcglobal.net> - 2011-05-18 11:16 +0000
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Date | 2011-05-18 11:16 +0000 |
| Subject | Re: Count Ouccrence of words in a long text |
| Message-ID | <ir09r4$22e$1@smc.vnet.net> |
On 5/17/11 at 7:47 AM, yako@11y11.com (Yako) wrote: >What I need is to be able to count the occurrence of each word of a >text and count the times each word appears on it. I know how to do >this on other languages but I am trying to achieve it with >mathematica. >Can someone hint me the way to go? Tally[ReadList[filename,Word]] will do the trick where filename is the name and extension of the file containing the text and is assumed to be in the current working directory.
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web