#!/usr/bin/perl
#
# BNCweb: A user-friendly interface to the British National Corpus - Version 4.3
# Copyright (C) 2005-10 Hoffmann/Evert/Lehmann
#
# Updates and information available at http://www.bncweb.info
#
# This file is part of BNCweb.
# 
# BNCweb 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 3 of the License, or
# (at your option) any later version.
# 
# BNCweb 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, see <http://www.gnu.org/licenses/>.

#
# based on BNCweb Version 2.0:
# © 1996/2004 Lehmann/Hoffmann/Schneider
#

$link = '<A HREF="'. $ENV{'HTTP_REFERER'} . '">back to the download options page</A>';

use lib "../lib_files";
use bncLibCQPXML;


print "Content-type: text/html\n\n";
print <<ENDOFHTML;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
	<META NAME="GENERATOR" Content="Symantec Visual Page Mac 1.1">
	<TITLE>Codes</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<P>
<TABLE BORDER="0" WIDTH="100%">
	<TR>
		<TD WIDTH="100%" HEIGHT="23" BGCOLOR="#CCCCFF"><FONT SIZE="4"><B>Text and speaker category codes</B></FONT></TD>
	</TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="3" CELLPADDING="3" WIDTH="100%">
	<TR>
		<TD VALIGN="TOP" COLSPAN="3" BGCOLOR="#BBBBBB"><B>GENERAL</B></TD>
	</TR>
	<TR>
		<TD VALIGN="TOP" COLSPAN="1" BGCOLOR="#EEEEEE"><B>Spoken or written:<BR>
			</B>1 Written<BR>
			2 Spoken<BR>
		</TD>
		<TD VALIGN="TOP" COLSPAN="2" BGCOLOR="#EEEEEE"><B>Text Type:<BR>
			</B>1 Written<BR>
			2 Spoken demographic<BR>
			3 Spoken context-governed<BR>
			4 n/a
		</TD>
		
	</TR>
	<TR>
		<TD VALIGN="TOP" COLSPAN="3" BGCOLOR="#BBBBBB"><B>WRITTEN TEXTS</B></TD>
	</TR>
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Text Domain: <BR>
			</B>1 Imaginative<BR>
			2 Natural and pure sciences<BR>
			3 Applied science<BR>
			4 Social science<BR>
			5 World affairs<BR>
			6 Commerce and finance<BR>
			7 Arts<BR>
			8 Belief and thought<BR>
			9 Leisure<BR>
			10 n/a
		</TD>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Publication Date:<BR>
			</B>1 1960-1974<BR>
			2 1975-1984<BR>
			3 1985-1993<BR>
			3 n/a
		</TD>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Medium of Text:<BR>
			</B>1 Book<BR>
			2 Periodical<BR>
			3 Miscellaneous published<BR>
			4 Miscellaneous unpublished<BR>
			5 To-be-spoken<BR>
			6 n/a
		</TD>
	</TR>
	<TR>
		<TD WIDTH="34%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Text Sample:<BR>
			</B>1 Whole text<BR>
			2 Beginning sample<BR>
			3 Middle sample<BR>
			4 End sample<BR>
			5 Composite<BR>
			6 n/a
		</TD>
		<TD VALIGN="TOP" COLSPAN="2" BGCOLOR="#EEEEEE"><B>Perceived Level of Difficulty:<BR>
			</B>1 Low<BR>
			2 Medium<BR>
			3 High<BR>
			4 n/a
		</TD>
	</TR>
	<TR>
		<TD WIDTH="34%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Age of Author:<BR>
			</B>1 0-14<BR>
			2 15-24<BR>
			3 25-34<BR>
			4 35-44<BR>
			5 45-59<BR>
			6 60+<BR>
			7 n/a
		</TD>
		<TD WIDTH="33%" VALIGN="TOP" COLSPAN="1" BGCOLOR="#EEEEEE"><B>Domicile of Author: </B><BR>
			1 UK and Ireland<BR>
			2 Commonwealth<BR>
			3 Continental Europe<BR>
			4 USA<BR>
			5 Elsewhere<BR>
			6 Unknown
		</TD>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Sex of Author:<BR>
			</B>1 Male<BR>
			2 Female<BR>
			3 Mixed<BR>
			4 n/a
		</TD>
	</TR>
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Type of Author: <BR>
			</B>1 Corporate<BR>
			2 Multiple<BR>
			3 Sole<BR>
			4 n/a
		</TD>
		<TD WIDTH="34%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Age of Audience:<BR>
			</B>1 Child<BR>
			2 Teenager<BR>
			3 Adult<BR>
			4 Any<BR>
			5 n/a
		</TD>
		<TD VALIGN="TOP"BGCOLOR="#EEEEEE"><B>Sex of Audience: <BR>
			</B>1 Male<BR>
			2 Female<BR>
			3 Mixed<BR>
			4 n/a
		</TD>
	</TR>
	<TR>
		<TD VALIGN="TOP" COLSPAN="3" BGCOLOR="#BBBBBB"><B>SPOKEN TEXTS</B></TD>
	</TR>
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Interaction type: <BR>
			</B>1 Monologue<BR>
			2 Dialogue<BR>
			3 n/a
		</TD>
		<TD VALIGN="TOP" COLSPAN="2" BGCOLOR="#EEEEEE"><B>Region where spoken text was captured:<BR>
			</B>1 South<BR>
			2 Midlands<BR>
			3 North<BR>
			4 n/a
		</TD>
	</TR>
	<TR>
		<TD VALIGN="TOP" COLSPAN="3" BGCOLOR="#DDDDDD"><B>Restrictions for spoken demographic texts:</B></TD>
	</TR>
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Age of Respondent:<BR>
			</B>1 0-14<BR>
			2 15-24<BR>
			3 25-34<BR>
			4 35-44<BR>
			5 45-59<BR>
			6 60+<BR>
			7 n/a
		</TD>
		<TD WIDTH="34%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Sex of Respondent: <BR>
			</B>1 Male<BR>
			2 Female<BR>
			3 n/a
		</TD>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Social Class of Respondent:<BR>
			</B>1 AB<BR>
			2 C1<BR>
			3 C2<BR>
			4 DE<BR>
			5 n/a
		</TD>
	</TR>
	<TR>
		<TD VALIGN="TOP" COLSPAN="3" BGCOLOR="#DDDDDD"><B>Restrictions for spoken context-governed texts:</B></TD>
	</TR>
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Domain: <BR>
			</B>1 Educational/Informative<BR>
			2 Business<BR>
			3 Public/Institutional<BR>
			4 Leisure<BR>
			5 n/a</TD>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE">&nbsp;</TD>
		<TD WIDTH="34%" VALIGN="TOP" BGCOLOR="#EEEEEE">&nbsp;</TD>
	</TR>
	<TR>
		<TD VALIGN="TOP" COLSPAN="3" BGCOLOR="#BBBBBB"><B>Speaker Restrictions:</B></TD>
	</TR>
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Age: <BR>
			</B>1 0-14<BR>
			2 15-24<BR>
			3 25-34<BR>
			4 35-44<BR>
			5 45-59<BR>
			6 60+<BR>
			7 n/a</TD>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Sex: <BR>
			</B>1 Male<BR>
			2 Female<BR>
			3 n/a</TD>
		<TD WIDTH="34%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Social Class: <BR>
			</B>1 AB<BR>
			2 C1<BR>
			3 C2<BR>
			4 DE<BR>
			5 n/a</TD>
	</TR>
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>First Language: <BR>
			</B>1 en-can<BR>
			2 en-gbr<BR>
			3 en-usa<BR>
			4 ga-irl<BR>
			5 other<BR>
			6 n/a</TD>
		<TD WIDTH="33%" VALIGN="TOP" COLSPAN="2" BGCOLOR="#EEEEEE"><B>Education: <BR>
			</B>1 still in education<BR>
			2 left school 14 or under<BR>
			3 left school 15/16<BR>
			4 left school 17/18<BR>
			5 educ. until 19 or over<BR>
			6 n/a</TD>
	</TR>
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE"><B>Dialect/Accent: </B><BR>
			1 Canada<BR>
			2 United States<BR>
			3 German<BR>
			4 East Anglia<BR>
			5 French<BR>
			6 Home Counties<BR>
			7 Humberside<BR>
			8 Irish<BR>
			9 Indian subcontinent<BR>
			10 Lancashire
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE">
			11 London<BR>
			12 central Midlands<BR>
			13 Merseyside<BR>
			14 north-east Midlands<BR>
			15 Midlands<BR>
			16 south Midlands<BR>
			17 north-west Midlands<BR>
			18 central northern England<BR>
			19 north-east England<BR>
			20 northern England
		</TD>
		<TD WIDTH="34%" VALIGN="TOP" BGCOLOR="#EEEEEE">
			21 other or unidentifiable<BR>
			22 Scottish<BR>
			23 lower south-west England<BR>
			24 central south-west England<BR>
			25 upper south-west England<BR>
			26 European<BR>
			27 U.S.A.<BR>
			28 Welsh<BR>
			29 West Indian<BR>
			30 n/a
		</TD>
	</TR>
	<TR>
		<TD VALIGN="TOP" COLSPAN="3" BGCOLOR="#BBBBBB"><B>DAVID LEE'S GENRE CLASSIFICATION:</B></TD>
	</TR>
	
	<TR>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE">
			1 W_ac_humanities_arts<BR>
			2 W_ac_medicine<BR>
			3 W_ac_nat_science<BR>
			4 W_ac_polit_law_edu<BR>
			5 W_ac_soc_science<BR>
			6 W_ac_tech_engin<BR>
			7 W_admin<BR>
			8 W_advert<BR>
			9 W_biography<BR>
			10 W_commerce<BR>
			11 W_email<BR>
			12 W_essay_school<BR>
			13 W_essay_univ<BR>
			14 W_fict_drama<BR>
			15 W_fict_poetry<BR>
			16 W_fict_prose<BR>
			17 W_hansard<BR>
			18 W_institut_doc<BR>
			19 W_instructional<BR>
			20 W_letters_personal<BR>
			21 W_letters_prof<BR>
			22 W_misc<BR>
			23 W_news_script
		</TD>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE">
			24 W_newsp_brdsht_nat_arts<BR>
			25 W_newsp_brdsht_nat_commerce<BR>
			26 W_newsp_brdsht_nat_editorial<BR>
			27 W_newsp_brdsht_nat_misc<BR>
			28 W_newsp_brdsht_nat_report<BR>
			29 W_newsp_brdsht_nat_science<BR>
			30 W_newsp_brdsht_nat_social<BR>
			31 W_newsp_brdsht_nat_sports<BR>
			32 W_newsp_other_arts<BR>
			33 W_newsp_other_commerce<BR>
			34 W_newsp_other_report<BR>
			35 W_newsp_other_science<BR>
			36 W_newsp_other_social<BR>
			37 W_newsp_other_sports<BR>
			38 W_newsp_tabloid<BR>
			39 W_non_ac_humanities_arts<BR>
			40 W_non_ac_medicine<BR>
			41 W_non_ac_nat_science<BR>
			42 W_non_ac_polit_law_edu<BR>
			43 W_non_ac_soc_science<BR>
			44 W_non_ac_tech_engin<BR>
			45 W_pop_lore<BR>
			46 W_religion
		</TD>
		<TD WIDTH="33%" VALIGN="TOP" BGCOLOR="#EEEEEE">
			47 S_brdcast_discussn<BR>
			48 S_brdcast_documentary<BR>
			49 S_brdcast_news<BR>
			50 S_classroom<BR>
			51 S_consult<BR>
			52 S_conv<BR>
			53 S_courtroom<BR>
			54 S_demonstratn<BR>
			55 S_interview<BR>
			56 S_interview_oral_history<BR>
			57 S_lect_commerce<BR>
			58 S_lect_humanities_arts<BR>
			59 S_lect_nat_science<BR>
			60 S_lect_polit_law_edu<BR>
			61 S_lect_soc_science<BR>
			62 S_meeting<BR>
			63 S_parliament<BR>
			64 S_pub_debate<BR>
			65 S_sermon<BR>
			66 S_speech_scripted<BR>
			67 S_speech_unscripted<BR>
			68 S_sportslive<BR>
			69 S_tutorial<BR>
			70 S_unclassified		
		</TD>
	</TR>	
	
	<TR><TD COLSPAN="3">
		$link
	</TD></TR>
</TABLE>


ENDOFHTML

&printFooter();
exit(0);
