Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15680 > unrolled thread

Re: Using Mathematica for text mining

Started byBill Rowe <readnews@sbcglobal.net>
First post2011-02-11 09:18 +0000
Last post2011-02-11 09:18 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Using Mathematica for text mining Bill Rowe <readnews@sbcglobal.net> - 2011-02-11 09:18 +0000

#15680 — Re: Using Mathematica for text mining

FromBill Rowe <readnews@sbcglobal.net>
Date2011-02-11 09:18 +0000
SubjectRe: Using Mathematica for text mining
Message-ID<ij2utr$7sk$1@smc.vnet.net>
On 2/10/11 at 5:20 AM, cam@byu.edu (Cameron Christiansen) wrote:

>Thank you for the response. It looks like that works well to cluster
>words in a single document together, however I'd like to cluster
>entire documents together based on the words they contain. Is that
>possible?

Yes, it is possible. To do this you need to define a distance
function that provides a measure of how different one file is
from another. For example,

FindClusters[filenameList,
  DistanceFunction -> (Abs[
      Length@FindList[#1, "keyword"] -
       Length@FindList[#2, "keyword"]] &)]

would group file names according to the number of occurrences of
"keyword" in each file.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web