[Corpora-List] grep or perl concordancer?

Jose Joao Dias de Almeida jj at di.uminho.pt
Thu Aug 1 11:58:44 UTC 2002


Em Quinta, 25 de Julho de 2002 13:33, Tony Berber Sardinha escreveu:
> Dear colleagues
>
> I wonder if anyone has a bit of perl or unix (grep, etc) script that can
> generate KWIC concordances from plain text? I found some awk script for
> this in Ken Church's Unix for Poets.

You might try the ptx comand (available at lest in linux and cygwin
distributions)
        ptx - produce a permuted index of file contents
  see man ptx for details (many options)

Um abraço
J.Joao



More information about the Corpora mailing list