Corpora: code for random selection of concordance lines

From: Tony Berber Sardinha (
Date: Thu Mar 21 2002 - 20:05:24 MET

  • Next message: Emmanuel CARTIER: "Re: Corpora: Call for Participation"

    Dear list members

    I wonder if anyone has a bit of perl or java code (or unix utilities) for
    drawing an x number of lines at random from a concordance? The number of random
    lines is variable and is specified by the user. The concordance file is saved as
    text, has a little header, with each line of text followed by a (DOS) line

    N Concordance
    1207 h situations and to carry on the Preliminary marketing Plan for the
    Dutchvet portfolio, I
    1208 vet and Brasvet can work out a plan for the marketing of an
    interesting number of our
    1209 It will be very important to do an institutional marketing of Dutchvet. We
    programm his v

    I would like to ignore the first line.

    thanks very much in anticipation

    Dr Tony Berber Sardinha
    (Catholic University of Sao Paulo, Brazil)
    [New website]

    This archive was generated by hypermail 2b29 : Thu Mar 21 2002 - 20:16:37 MET