Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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