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


Groups > comp.programming > #9331

Re: Collection of strings available?

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.programming
Subject Re: Collection of strings available?
Date 2018-10-21 21:54 +0100
Organization A noiseless patient Spider
Message-ID <871s8jaul9.fsf@bsb.me.uk> (permalink)
References <6ae449fc-a10c-44c0-8fd0-7243c4308687@googlegroups.com>

Show all headers | View raw


Paul <pepstein5@gmail.com> writes:

> As a coding exercise, I am writing a collection of string-matching
> algorithms -- for example Boyer Moore, Rabin-Karp etc.
>
> Does anyone know a handy collection of string patterns and texts to facilitate
> testing or do I need to generate the test data myself?

A handy source of large(ish) texts is Project Gutenberg.  If you need
larger (which you might for speed tests on a modern machine) you can
concatenate several books or collected works together.

You'll still have to generate test cases yourself.

-- 
Ben.

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Collection of strings available? Paul <pepstein5@gmail.com> - 2018-10-21 13:05 -0700
  Re: Collection of strings available? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-10-21 21:54 +0100
    Re: Collection of strings available? Paul <pepstein5@gmail.com> - 2018-10-21 14:17 -0700
      Re: Collection of strings available? Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2018-10-21 23:23 +0200
      Re: Collection of strings available? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-10-21 23:16 +0100

csiph-web