NAME

correct_susanne.pl - corrects ``anomalies'' in Susanne (R5) annotation.


SYNOPSIS

correct_susanne.pl [-h|--help --man] DATA

Input

DATA is a tab-delimited file with text, token, lemma, and part-of-speech (otput from susanne2data.pl). Could be redirected from STDIN.

Optional options

-h|--help
prints a help message to STDOUT.

--man
prints full documentation in man page format.

Output

A corrected tab-delimited file with text, token, lemma, and part-of-speech.


DESCRIPTION

This Perl script corrects ``anomalies'' in Susanne (R5)* annotation. It mainly reduces part-of-speech annotation to a less detailed level (only uses the capital letter part*). Expects input from susanne2data.pl, i.e. a tabulated file of text ID, token, lemma, and part-of-speech. Output is in the same format as the input, but with corrected annotation. Prints to STDOUT.

*Geoffrey Sampson. 1995. English for the Computer: The SUSANNE Corpus and analytic scheme. Clarendon Press, Oxford. ISBN 0-19-824023-6. http://www.grsampson.net/RSue.html.


LICENSE

Copyright (C) 2005-2006 Eva Forsbom (evafo@stp.lingfil.uu.se)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


AVAILABILITY

http://stp.lingfil.uu.se/~evafo/resources/basevocpool/


VERSION HISTORY

Created: 2005-09-09: Eva Forsbom

$Log: correct_susanne.html,v $

Revision 1.1 2006/08/11 12:31:59 eva

HTML documentation for Perl scripts

Revision 1.3 2006/08/11 12:10:04 eva Added pod usage to Perl files

Revision 1.2 2006/08/08 09:23:16 eva Added pod documentation.