MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

List Partition

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53895] List Partition
  • From: zak <chocolatez at gmail.com>
  • Date: Wed, 2 Feb 2005 06:25:59 -0500 (EST)
  • Reply-to: zak <chocolatez at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

what could i do to partition the list:
a={cat,E,in,the,hat,E,okay,fine,E}
into
a={{cat},{{in},{the},{hat}},{{okay},{fine}}}

ie:  every word in a sublist , and E determine the end of a sentence
(a bigger list).
zak


  • Prev by Date: Re: matrices in matrices
  • Next by Date: Area Under Curve (Min Length Interval)
  • Previous by thread: Re: Re: small puzzle programming
  • Next by thread: Re: List Partition