<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="1600"/><title>Exploiting Parse Structures for Native Language Identification</title><pubinfo>Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing,pages 1600-1610, Edinburgh, Scotland, UK, July 27-31, 2011. ©2011 Association for Computational Linguistics</pubinfo><author surname="Wong" givenname="Sze-Meng Jojo"><org  name="Mie University" country="Japan" city="Mie"/></author><author surname="Dras" givenname="Mark"><org  name="Macquarie University" country="Australia" city="Sydney"/></author></firstpageheader><frontmatter><p><b>Exploiting Parse Structures for Native Language Identification</b></p><p><b>Sze-Meng Jojo Wong</b></p><p>Centre for Language Technology Macquarie University Sydney, Australia sze.wong@mq.edu.au</p><p><b>Mark Dras</b></p><p>Centre for Language Technology Macquarie University Sydney, Australia mark.dras@mq.edu.au</p></frontmatter><abstract>Attempts to profile authors according to their characteristics extracted from textual data, in­cluding native language, have drawn attention in recent years, via various machine learn­ing approaches utilising mostly lexical fea­tures. Drawing on the idea of contrastive analysis, which postulates that syntactic er­rors in a text are to some extent influenced by the native language of an author, this paper explores the usefulness of syntactic features for native language identification. We take two types of parse substructure as features— horizontal slices of trees, and the more gen­eral feature schemas from discriminative parse reranking—and show that using this kind of syntactic feature results in an accuracy score in classification of seven native languages of around 80%, an error reduction of more than 30%. </abstract></header><body><section number="1" title="Introduction"><p>Inferring characteristics of authors from their tex­tual data, often termed <i>authorship profiling, </i>has seen a number of computational approaches proposed in recent years. The problem is typically treated as a classification task, where an author is classified with respect to characteristics such as gender, age, native language, and so on. This profile information is of­ten of interest to marketing organisations for prod­uct promotional reasons as well as governments or law enforcements for crime investigation purposes. The particular application that motivates the present study is detection of phishing (Myers, 2007), the at­tempt to defraud through texts that are designed to deceive Internet users into giving away confidential details. One class of countermeasures to phishing consists of technical methods such as email authen­tication; another looks at profiling of the text's au­thors) (Fette et al., 2007; Zheng et al., 2003), to find any indications of the source of the text.</p><p>In this paper we investigate classification of a text with respect to an author's native language, where this is not the language that that text is written in (which is often the case in phishing); we refer to this as <i>native language identification. </i>Initial work by Koppel et al. (2005) was followed by Tsur and Rappoport (2007), Estival et al. (2007), van Halteren (2008), and Wong and Dras (2009). By and large, the problem was tackled using various supervised machine learning approaches, with mostly lexical features over characters, words, and parts of speech, as well as some document structure.</p><p>Syntactic features, in contrast, in particular those that capture grammatical errors, which might po­tentially be useful for this task, have received lit­tle attention. Koppel et al. (2005) did suggest using syntactic errors in their work but did not investigate them in any detail. Wong and Dras (2009) noted the relevance of the concept of <i>contrastive analy­sis </i>(Lado, 1957), which postulates that native lan­guage constructions lead to characteristic errors in a second language. In their experimental work, how­ever, they used only three manual syntactic construc­tions drawn from the literature; an ANOVA analysis showed a detectable effect, but they did not improve classification accuracy over purely lexical features.</p><p>In this paper, we investigate syntactic features for native language identification that are more general than, and that do not require the manual construction of, the above approach.<page local="2" global="1601"/> Taking the trees produced by statistical parsers, we use tree cross-sections as features in a machine learning approach to deter­mine which ones characterise non-native speaker er­rors. Specifically, we look at two types of parse tree substructure to use as features: horizontal slices of the trees—that is, characterising parse trees as sets of context-free grammar production rules—and the features schemas used in discriminative parse reranking. The goal of the present study is therefore to investigate the influence to which syntactic fea­tures represented by parse structures would have on the classification task of identifying an author's na­tive language relative to, and in combination with, lexical features.</p><p>The remainder of this paper is structured as fol­lows. In Section 2, we discuss some related work on the two key topics of this paper: primarily on com­parable work in native language identification, and then on how the notion of contrastive analysis can be applicable here. We then describe the models exam­ined in Section 3, followed by experimental setup in Section 4. Section 5 presents results, and Section 6 discussion of those results.</p></section><section number="2" title="Related Work"><subsection number="2.1" title="Native Language Identification"><p>The earliest work on native language identification in this classification paradigm is that of Koppel et al. (2005), in which they deployed a machine learn­ing approach to the task, using as features func­tion words, character n-grams, and part-of-speech (PoS) bi-grams, as well as some spelling mistakes. With five different groups of English authors (of na­tive languages Bulgarian, Czech, French, Russian, and Spanish) selected from the first version of <i>In­ternational Corpus of Learner English </i>(ICLE), they gained a relatively high classification accuracy of 80%. Koppel et al. (2005) also suggested that syn­tactic features (syntactic errors) might be useful fea­tures, but only investigated this idea at a shallow level by treating rare PoS bigrams as ungrammati-cal structures.</p><p>Tsur and Rappoport (2007) replicated the work of Koppel et al. (2005) to investigate the hypothe­sis that the choice of words in second language writing is highly influenced by the frequency of native language syllables — the <i>phonology </i>of the native language. Approximating this by character bi-grams alone, they managed to achieve a classification accu­racy of 66%.</p><p>Native language is also amongst the characteris­tics investigated in the task of authorship profiling by Estival et al. (2007), as well as other demographic and personality characteristics. This study used a va­riety of lexical and document structure features. For the native language identification classification task, their model yielded a reasonably high accuracy of 84%, but this was over a set of only three languages (Arabic, English and Spanish) and against a most frequent baseline of 62.9%.</p><p>Another related work is that of van Halteren (2008), who used the Europarl corpus of parliamen­tary speeches. In Europarl, one original language is transcribed, and the others translated from it; the task was to identify the original language. On the basis of frequency counts of word-based n-grams, surprisingly high classification accuracies within the range of 87-97% were achieved across six languages (English, German, French, Dutch, Spanish, and Ital­ian). This turns out, however, to be significantly influenced by the use of particular phrases used by speakers of different languages in the parliamentary context (e.g. the way Germans typically address the chamber).</p><p>To our knowledge, Wong and Dras (2009) is the only work that has investigated the usefulness of syntactic features for the task of native language identification. They first replicated the work of Koppel et al. (2005) with the three types of lex­ical feature, namely function words, character n-grams, and PoS bi-grams. They then examined the literature on contrastive analysis (see Section 2.2), from the field of second language acquisition, and selected three syntactic errors commonly observed in non-native English users—subject-verb disagree­ment, noun-number disagreement and misuse of determiners—that had been identified as being in­fluenced by the native language. An ANOVA anal­ysis showed that the native language identification constructions were identifiable; however, the over­all classification was not improved over the lexi­cal features by using just the three manually de­tected syntactic errors. The best overall accuracy reported was 73.<page local="3" global="1602"/>71%; this was on the second version of ICLE, across seven languages (those of Koppel et al. (2005), plus the two Asian languages Chinese and Japanese).</p><p>As a possible approach that would improve the classification accuracy over just the three manually detected syntactic errors, Wong and Dras (2009) suggested deploying (but did not carry out) an idea put forward by Gamon (2004) (citing Baayen et al. (1996)) for the related task of identifying the author of a text: to use CFG production rules to characterise syntactic structures used by authors.<footnote anchor="1"/> We note that similar ideas have been used in the task of sentence grammaticality judgement, which utilise parser out­puts (both trees and by-products) as classification features (Mutton et al., 2007; Sun et al., 2007; Fos­ter et al., 2008; Wagner et al., 2009; Tetreault et al., 2010; Wong and Dras, 2010). We combine this idea with one we introduce in this paper, of using dis­criminative reranking features as a broader charac­terisation of the parse tree.</p></subsection><subsection number="2.2" title="Contrastive analysis"><p><i>Contrastive analysis </i>(Lado, 1957) was an early at­tempt in the field of second language acquisition to explain the kinds and source of errors that non-native speakers make. It arose out of behaviourist psychology, and saw language learning as an issue of habit formation that could be inhibited by previ­ous habits inculcated in learning the native language. The theory was also tied to structural linguistics: it compared the syntactic structures of the native and second languages to find differences that might cause learning difficulties. The Lado work postu­lated the Contrastive Analysis Hypothesis (CAH), claiming that "those elements which are similar to [the learner's] native language will be simple for him, and those elements that are different will be difficult"; the consequence is that there will be more errors made in those difficult elements.</p><p>While contrastive analysis was influential at first, it was increasingly noticed that many errors were common across all language learners regardless of native language, which could not be explained un­der contrastive analysis. Corder (1967) then de­scribed an alternative, <i>error analysis, </i>where con-trastive analysis-style errors were seen as only one type of error, 'interlanguage' or 'interference' er­rors; other types were 'intralingual' and 'develop­mental' errors, which are not specific to the native language (Richards, 1971).</p><footnote label="1">It is not entirely clear how this might work for author­ship identification: would the Bronte sisters, the corpus Gamon worked with, have used a significant number of different syntac­tic constructions from each other? In the context of native lan­guage identification, however, constrastive analysis postulates that this is exactly the case for the different classes.</footnote><p>In an overview of contrastive analysis after the emergence of error analysis, Wardhaugh (1970) noted that there were two interpretations of the CAH, termed the strong and weak forms. Under the strong form, all errors were attributed to the native language, and clearly that was not tenable in light of error analysis evidence. In the weak form, these dif­ferences have an influence but are not the sole deter­minant of language learning difficulty. Wardhaugh noted claims at the time that the hypothesis was no longer useful in either the strong or the weak ver­sion: "Such a claim is perhaps unwarranted, but a period of quiescence is probable for CA itself". This appears to be the case, with the then-dominant error analysis giving way to newer, more specialised theo­ries of second language acquisition, such as the <i>com­petition model </i>of MacWhinney and Bates (1989) or the <i>processability theory </i>of Pienemann (1998). Nevertheless, smaller studies specifically of inter-language errors have continued to be carried out, generally restricted in their scope to a specific gram­matical aspect of English in which the native lan­guage of the learners might have an influence. To give some examples, Granger and Tyson (1996) ex­amined the usage of connectors in English by a num­ber of different native speakers - French, German, Dutch, and Chinese; Vassileva (1998) investigated the employment of first person singular and plural by another different set of native speakers - Ger­man, French, Russian, and Bulgarian; Slabakova (2000) explored the acquisition of telicity marking in English by Spanish and Bulgarian learners; Yang and Huang (2004) studied the impact of the ab­sence of grammatical tense in Chinese on the acqui­sition of English tense-aspect system (i.e. telicity marking); Franck et al. (2002) and Vigliocco et al. (1996) specifically examined the usage of subject-verb agreement in English by French and Spanish, respectively. There are also a few teaching resources for English language teachers that collate such phe­nomena, such as that of Swan and Smith (2001).<page local="4" global="1603"/></p><p>NLP techniques and a probabilistic view of na­tive language identification now let us revisit and make use of the weak form of the CAH. Interlan-guage errors, as represented by differences in parse trees, may be characteristic of the native language of a learner; we can use the occurrence of these to come up with a revised likelihood of the native lan­guage. In this paper, we use machine learning in a prediction task as our approach to this.</p></subsection></section><section number="3" title="Models"><p>This section describes the three basic models inves­tigated: the lexical model, based on Koppel et al. (2005), as the baseline; and then the two models that exploit syntactic information. In Section 5 we look at the performance of each model independently and also in combination: to combine, we just concate­nate feature vectors.</p><p><b>Lexical </b>As Wong and Dras (2009), we replicate the features of Koppel et al. (2005) to produce our lexical model. These are of three types: function words,<footnote anchor="2"/> character n-grams, and PoS n-grams. We follow Wong and Dras (2009) in resolving some un­clear issues from Koppel et al. (2005). Specifically, we use the same list of function words, left unspec­ified in Koppel et al. (2005), that were empirically determined by Wong and Dras (2009) to be the best of three candidates; we used character bi-grams, as the best performing n-grams, although this also had been left unspecified by Koppel et al. (2005); and we used the most frequently occurring PoS bi-grams and tri-grams, obtained by using the Brill tagger pro­vided in NLTK (Bird et al., 2009) being trained on the Brown corpus. In total, there are 798 features of this class with 398 function words, 200 most fre­quently occurring character bi-grams, and 200 most frequently occurring PoS bi-grams. Both function words and PoS bi-grams have feature values of bi­nary type; while for character bi-grams, the feature value is the relative frequency. (These types of fea­ture value are the best performing one for each lexical feature.)</p><footnote label="2">As with most work in authorship profiling, only function words are used, so that the result is not tied to a particular do­main, and no clues are obtained from different topics that dif­ferent authors might write about.</footnote><p>We omitted the 250 rare bi-grams used by Koppel et al. (2005), as an ablative analysis showed that they contributed nothing to classification accuracy.</p><p><b>Production Rules </b>Under this model (prod-rule), we take as features horizontal slices of parse trees, in effect treating them as sets of CFG produc­tion rules. Feature values are binary. We look at all possible rules as features, but also present results for subsets of features chosen using feature selec­tion. For each language in our dataset, we identify the n rules most characteristic of the language using Information Gain (IG). For m classes, we use the formulation of Yang and Pedersen (1997):</p><doubt alpha="55.6" length="27" tooSmall="False" monospace="0.0">IG(r)= -£™i Pr(ci)logPr(ci)</doubt><doubt alpha="47.1" length="34" tooSmall="False" monospace="0.0">+ Pr(r)J27=\Pr (ci|r) log Pr (q|r)</doubt><doubt alpha="57.6" length="33" tooSmall="False" monospace="0.0">+ Pr(f)YZiPr(ci|f)logPr(ci|f) (1)</doubt><p>We also investigated simple frequencies, fre­quency ratios, and pointwise mutual information; as in much other work, IG performed best, so we do not present results for the others. Bi-normal separation (Forman, 2003), often competitive with IG, is only suitable for binary classification.</p><p>It is worth noting that the production rules being used here are all non-lexicalised ones, except those lexicalised with function words and punctuation, to avoid topic-related clues.</p><p><b>Reranking Features </b>As opposed to the horizontal parse production rules, features used for discrimina­tive reranking are cross-sections of parse trees that might capture other aspects of ungrammatical struc­tures. For these we use the 13 feature schemas de­scribed in Charniak and Johnson (2005), which were inspired by earlier work in discriminative estimation techniques, such as Johnson et al. (1999) and Collins (2000). Examples of these feature schemas include tuples covering head-to-head dependencies, preter-minals together with their closest maximal projec­tion ancestors, and subtrees rooted in the least com­mon ancestor.</p><p>These feature schemas are not the only possible ones—they were empirically selected for the spe­cific purpose of augmenting the Charniak parser. However, much subsequent work has tended to use these same features, albeit sometimes with exten­sions for specific purposes (e.g. Johnson and Ural (2010) for the Berkeley parser (Petrov et al., 2006), Ng et al. (2010) for the C&amp;C parser (Clark and Cur-ran, 2007)).<page local="5" global="1604"/> We also use this standard set, specif­ically the set of instantiated feature schemas from the parser from Charniak and Johnson (2005) as trained on the Wall Street Journal (WSJ), which gives 1,333,837 potential features.</p></section><section number="4" title="Experimental Setup 4.1 Data"><p>We use the <i>International Corpus of Learner English </i>(ICLE) compiled by Granger et al. (2009) for the precise purpose of studying the English writings of non-native English learners from diverse countries. All the contributors to the corpus are claimed to possess similar English proficiency levels (ranging from intermediate to advanced learners) and are in the same age group (all in their twenties at the time of corpus collection.) This was also the data used by Koppel et al. (2005) and Tsur and Rappoport (2007), although where they used the first version of the cor­pus, we use version 2.</p><p>Briefly, the first version contains 11 sub-corpora of English essays contributed by second-year and third-year university students of different native lan­guage backgrounds (mostly European and Slavic languages) — Bulgarian, Czech, Dutch, Finnish, French, German, Italian, Polish, Russian, Spanish, and Swedish; the second version has been extended to additional 5 other native languages (including Asian languages) — Chinese, Japanese, Norwegian, Turkish, and Tswana.</p><p>As per Wong and Dras (2009), we examine seven languages, namely Bulgarian, Czech, French, Rus­sian, Spanish, Chinese, and Japanese. For each na­tive language, we randomly select from amongst es­says with length of 500-1000 words. For the purpose of the present study, we have 95 essays per native language. For the same reason as highlighted by Wong and Dras (2009), we intentionally use fewer essays as compared to Koppel et al. (2005)<footnote anchor="3"/> with a view to reserving more data for future work. We divide these into training sets of 70 essays per language, with a held-out test set of 25 essays per language. There are 17,718 training sentences and 6,791 testing sentences.</p><footnote label="3">Koppel et al. (2005) took all 258 texts per language from ICLE Version 1 and evaluated using 10-fold cross valiadation.</footnote><subsection number="4.2" title="Parsers"><p>We use two parsers: the Stanford parser (Klein and Manning, 2003) and the Charniak and John­son (henceforth C&amp;J) parser (Charniak and Johnson, 2005). Both are widely used, and produce relatively accurate parses: the Stanford parser gets a labelled f-score of 85.61 on the WSJ, and the C&amp;J 91.09.</p><p>With the Stanford parser, there are 26,284 unique parse production rules extractable from our ICLE training set of 490 texts, while the C&amp;J parser pro­duces 27,705. For reranking, we use only the C&amp;J parser—since the parser stores these features during parsing, we can use them directly as classification features. On the ICLE training data, there are 6,230 features with frequency &gt;10, and 19,659 with fre­quency &gt;5.</p></subsection><subsection number="4.3" title="Classifiers"><p>For our experiments we used a maximum entropy (MaxEnt) machine learner, MegaM<footnote anchor="4"/> (fifth release) by Hal Daume III. (We also used an SVM for com­parison, but the results were uniformly worse, and degraded more quickly as number of features in­creased, so we only report the MaxEnt results here). The classifier is tuned to obtain an optimal classifi­cation model.</p></subsection><subsection number="4.4" title="Evaluation Methodology"><p>Given our relatively small amount of data, we use k-fold cross-validation, choosing k = 5. While testing for statistical significance of classification results is often not carried out in NLP, we do so here because the quantity of data could raise questions about the certainty of any effect. In an encyclopedic survey of cross-validation in machine learning contexts, Re-faeilzadeh et al. (2009) note that there is as yet no universal standard for testing of statistical signifi­cance; and that while more sophisticated techniques have been proposed, none is more widely accepted than a paired t-test over folds. We therefore use this paired t-test over folds, as formulated of Alpaydin</p><footnote label="4">MegaM is available on http://www.cs.utah.edu/</footnote><p>~hal/megam/.</p><page local="6" global="1605"/><p>(2004). Under this cross-validation, 5 separate train­ing feature sets are constructed, excluding the test fold; 3 folds are used for training, 1 fold for tuning and 1 fold for testing.</p><p>We also use a held-out test set for comparison, as it is well-known that cross-validation can over­estimate prediction error (Hastie et al., 2009). We do not carry out significance testing here—with this held-out test set size (n = 125), two models would have to differ by a great deal to be significant. We only use it as a check on the effect of applying to completely new data.</p></subsection></section><section number="5" title="Results"><p>Table 1 presents the results for the three models in­dividually under cross-validation. The first point to note is that prod-rule, under both parsers, is a substantial improvement over lexical when (non-lexicalised) parse rules together with rules lex-icalised with function words are used (rows marked with * in Table 1), with the largest difference as much as 77.75% for prod-rule[both]* (n = all) versus 64.29% for lexical; these differences with respect to lexical are statistically significant. (To give an idea, the paired t-test standard error for this largest difference is 2.52%.) In terms of error reduc­tion, this is over 30%.</p><p>There appears to be no difference according to the parser used, regardless of their differing accuracy on the WSJ. Using the selection metric for prod-rule without rules lexicalised with function words pro­duces results all around those for lexical; using fewer reranking features is worse as the quality of reranking declines as feature cut-offs are raised.</p><p>Another, somewhat surprising point is that the reranking results are also generally around those of lexical even though like prod-rule they are also using cross-sections of the parse tree. We con­sider there might be two possible reasons for this. The first is that the feature schemas used were orig­inally chosen for the specific purpose of augment­ing the performance of the Charniak parser; perhaps others might be more appropriate here. The second is that we selected only those instantiated feature schemas that occurred in the WSJ, and then applied them to ICLE. As the WSJ is filled with predomi­nantly grammatical text, perhaps those that were not</p><p>Table 2: Classification results based on hold-out valida­tion with parse rules as syntactic features (accuracy %)</p><p>seen on the WSJ are precisely those that might indi­cate ungrammaticality. In contrast, the production rules of prod-rule were selected only from the ICLE training data.</p><p>Table 2 presents the results for the individual models on the held-out test set. The results are gen­erally higher than for cross-validation—this is not surprising, as the texts are of the same type, but all the training data is used (rather than the 1 — 1/k pro­portion for cross-validation). Overall, the pattern is still the same, with prod-rule best, then rerank-ing and lexical broadly similar; as expected, no differences are significant with this smaller dataset. The gap has narrowed, but without significance testing it is difficult to say whether this is a genuine phenomenon.<page local="7" global="1606"/> The accuracy rate for lexical here is in line with Wong and Dras (2009); and given the smaller dataset and larger set of languages, also broadly in line with Koppel et al. (2005).</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Features</b></p></td><td class="cell"><p><b>MaxEnt</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>lexical (n = 798)</p></td><td class="cell"><p>64.29</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[Stanford] (n = 1000)</p></td><td class="cell"><p>65.72</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[Stanford]* (n = 1000)</p></td><td class="cell"><p>74.08</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[Stanford]* (n = all)</p></td><td class="cell"><p>74.49</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[C&amp;J] (n = 1000)</p></td><td class="cell"><p>62.25</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[C&amp;J]* (n = 1000)</p></td><td class="cell"><p>71.84</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[C&amp;J]* (n = all)</p></td><td class="cell"><p>71.63</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[both] (n = 2000)</p></td><td class="cell"><p>67.96</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod - rule [both]* (n = 2000)</p></td><td class="cell"><p>74.69</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[both]* (n = all)</p></td><td class="cell"><p>77.75</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>reranking (all features)</p></td><td class="cell"><p>67.96</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>reranking (&gt;5 counts)</p></td><td class="cell"><p>66.33</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>reranking (&gt;10 counts)</p></td><td class="cell"><p>64.90</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Features</b></p></td><td class="cell"><p><b>MaxEnt</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Lexical features (n = 798)</p></td><td class="cell"><p>75.43</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>prod-rule[Stanford] (n = 1000) prod-rule[Stanford]* (n = 1000) prod-rule[Stanford]* (n = all)</p><p>prod-rule[C&amp;J] (n = 1000) prod-rule[C&amp;J] (n = 1000)*</p><p>prod-rule[C&amp;J] (n = all)*</p><p>prod-rule[both] (n = 2000) prod - rule [both] (n = 2000)*</p><p>prod-rule[both] (n = all)*</p></td><td class="cell"><p>74.29 79.43 78.86 73.71 79.43 80.00 77.71 78.85 80.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>reranking (all features)</p><p>reranking (&gt;5 counts) reranking (&gt;10 counts)</p></td><td class="cell"><p>77.14 76.57 75.43</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 3: Classification results based on 5-fold cross vali­dation for combined models (accuracy %)"></table><table caption="Table 4: Classification results based on hold-out valida­tion for combined models (accuracy %)"></table><p>Tables 3 and 4 present results for model combina­tions. It can be seen that the model combinations do not produce results better than prod-rule alone. Combining all features (results not presented here) seems to degrade the overall performance even of the MegaM: perhaps we need to derive feature vec­tors more compactly than by feature concatenation.</p></section><section number="6" title="Discussion"><p>As illustrated in the confusion matrices (Table 5 for the prod-rule model, and Table 6 for the lexical model), misclassifications occur largely in Spanish and Slavic languages, Bulgarian and Rus­sian in particular. Unsurprisingly, Chinese is al­most completely identified since it comes from a entirely different language family, Sino-Tibetan, as compared to the rest of the languages which are from the branches of the Indo-European family (with Japanese as the exception). Japanese and French also appear to be easily distinguished, which could probably be attributed to their word order or sen­tence structure which are, to some extent, quite dif­ferent from English. Japanese is a 'subject-object-verb' language; and French, although having the same word order as English, heads of phrases in</p><p>Table 5: Confusion matrix based on all non-lexicalised parse rules from both parsers on the held-out set (BL:Bulgarian, CZ:Czech, FR:French, RU:Russian, SP:Spanish, CN:Chinese, JP:Japanese)</p><p>Table 6: Confusion matrix based on lexical features on the held-out set (BL:Bulgarian, CZ:Czech, FR:French, RU:Russian, SP:Spanish, CN:Chinese, JP:Japanese)</p><p>French typically come before modifiers as opposed to English. Overall, the prod-rule model results in fewer misclassifications compared to the lexi­cal model; there are mostly only incremental im­provements for each language, with perhaps the ex­ception of the reduction in confusion in the Slavic languages.</p><p>We looked at some of the data, to see what kind of syntactic substructure is useful in classifying na­tive language. Although using feature selection with only 1000 features did not improve performance, the information gain ranking does identify particu­lar constructions as characteristic of one of the lan­guages, and so are useful for inspection.</p><p>A phenomenon that the literature has noted as oc­curring with Chinese speakers is that of the missing determiner.<footnote anchor="5"/> This corresponds to a higher frequency of NP rules without determiners. These rules may be valid in other contexts, but are also used to de­scribe ungrammatical constituents. One example is<page local="8" global="1607"/></p><footnote label="5">This does happen with native speakers of some other lan­guages, such as Slavic ones, but not generally (from ourknowl­edge of the literature) with native speakers of others, such as Romance ones.</footnote><table caption="Table 3: Classification results based on 5-fold cross validation for combined models (accuracy %)" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Features</b></p></td><td class="cell"><p><b>MaxEnt</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LEXICAL (n = 798)</p></td><td class="cell"><p>64.29</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LEXICAL + PROD-RULE[both] (n = 2000) LEXICAL + PROD-RULE[both]* (n = 2000) LEXICAL + PROD-RULE [both]* (n = all) LEXICAL + RERANKING (n = all)</p></td><td class="cell"><p>63.06 72.45 70.82 68.17</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>BL</b></p></td><td class="cell"><p><b>CZ</b></p></td><td class="cell"><p><b>FR</b></p></td><td class="cell"><p><b>RU</b></p></td><td class="cell"><p><b>SP</b></p></td><td class="cell"><p><b>CN</b></p></td><td class="cell"><p><b>JP</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>BL</b></p></td><td class="cell"><p>[14]</p></td><td class="cell"><p>6</p></td><td class="cell"><p>2</p></td><td class="cell"><p>3</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CZ</b></p></td><td class="cell"><p>1</p></td><td class="cell"><p>[20]</p></td><td class="cell"><p>-</p></td><td class="cell"><p>3</p></td><td class="cell"><p>1</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>FR</b></p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>[25]</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>RU</b></p></td><td class="cell"><p>1</p></td><td class="cell"><p>4</p></td><td class="cell"><p>3</p></td><td class="cell"><p>[17]</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>SP</b></p></td><td class="cell"><p>2</p></td><td class="cell"><p>1</p></td><td class="cell"><p>3</p></td><td class="cell"><p>1</p></td><td class="cell"><p>[18]</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CN</b></p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>[24]</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>JP</b></p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>1</p></td><td class="cell"><p>2</p></td><td class="cell"><p>[22]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 4: Classification results based on hold-out validation for combined models (accuracy %)" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Features</b></p></td><td class="cell"><p><b>MaxEnt</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LEXICAL (n = 798)</p></td><td class="cell"><p>75.43</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LEXICAL + PROD-RULE[both] (n = 2000) LEXICAL + PROD-RULE[both]* (n = 2000) LEXICAL + PROD-RULE [both]* (n = all) LEXICAL + RERANKING (n = all)</p></td><td class="cell"><p>80.57 81.14 81.71 76.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>BL</b></p></td><td class="cell"><p><b>CZ</b></p></td><td class="cell"><p><b>FR</b></p></td><td class="cell"><p><b>RU</b></p></td><td class="cell"><p><b>SP</b></p></td><td class="cell"><p><b>CN</b></p></td><td class="cell"><p><b>JP</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>BL</b></p></td><td class="cell"><p>[14]</p></td><td class="cell"><p>3</p></td><td class="cell"><p>2</p></td><td class="cell"><p>4</p></td><td class="cell"><p>2</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CZ</b></p></td><td class="cell"><p>6</p></td><td class="cell"><p>[16]</p></td><td class="cell"><p>-</p></td><td class="cell"><p>2</p></td><td class="cell"><p>1</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>FR</b></p></td><td class="cell"><p>1</p></td><td class="cell"><p>-</p></td><td class="cell"><p>[24]</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>RU</b></p></td><td class="cell"><p>3</p></td><td class="cell"><p>2</p></td><td class="cell"><p>3</p></td><td class="cell"><p>[16]</p></td><td class="cell"><p>1</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>SP</b></p></td><td class="cell"><p>1</p></td><td class="cell"><p>2</p></td><td class="cell"><p>3</p></td><td class="cell"><p>1</p></td><td class="cell"><p>[17]</p></td><td class="cell"><p>-</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CN</b></p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>[24]</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>JP</b></p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>-</p></td><td class="cell"><p>1</p></td><td class="cell"><p>3</p></td><td class="cell"><p>[21]</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">(ROOT (S</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">(NP</doubt><doubt alpha="54.2" length="48" tooSmall="False" monospace="0.0">(NP   (DT The)   (NN development)) (PP   (IN of)</doubt><doubt alpha="55.8" length="43" tooSmall="False" monospace="0.0">(NP   (NNcountry)(NNpark)))) (VP   (MD can)</doubt><doubt alpha="61.8" length="34" tooSmall="False" monospace="0.0">(ADVP   (RB directly)) (VP(VB elp)</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">(S</doubt><doubt alpha="54.5" length="11" tooSmall="False" monospace="0.0">(VP (TO to)</doubt><p>(VP (VB alleviate)</p><p>(NP   (NNS overcrowdedness) (CC and) (NN overpopulation)) <b>(PP   (VBG </b>According) (NNS by-products)))</p><doubt alpha="54.5" length="11" tooSmall="False" monospace="0.0">(PP (IN in)</doubt><doubt alpha="56.2" length="16" tooSmall="False" monospace="0.0">(NP   (JJ urban)</doubt><doubt alpha="37.5" length="16" tooSmall="False" monospace="0.0">(NN area))))))))</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">(. .)))</doubt><figure caption="Figure 1: Parse from Chinese-speaking authors, illustrat­ing missing determiner"></figure><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">(ROOT</doubt><doubt alpha="60.0" length="10" tooSmall="False" monospace="0.0">(PP(TO to)</doubt><doubt alpha="37.5" length="16" tooSmall="False" monospace="0.0">(NP (NNP &lt;R&gt;))))</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">(, ,)</doubt><doubt alpha="58.6" length="29" tooSmall="False" monospace="0.0">(NP (NN burning)) (PP (IN of)</doubt><doubt alpha="62.1" length="66" tooSmall="False" monospace="0.0">(NP (JJ plastic) (NN waste)))) (VP  (VBZ generates) (NP (JJ toxic)</doubt><figure caption="Figure 2: Parse from Chinese-speaking authors, illustrat­ingaccording to"></figure><p>NP — NN NN. In Figure 1 we give the parse (from the Stanford parser) of the sentence <i>The develop­ment of <b>country park </b>can directly elp to alleviate overcrowdedness and overpopulation in urban area. </i>The phrase <i>country park </i>should either have a deter­miner or be plural (in which case the appropriate rule would be NP — NN NNS ). There is a similar phe­nomenon with <i>in urban area, </i>although this is an in­stance of the rule NP — JJ NN.</p><p>Another production rule that occurs typically— in fact, almost exclusively—in the texts of native Chinese speakers is PP — VBG PP (by the Stan­ford parser), which almost always corresponds to the phrase <i>according to. </i>In Figure 2 we give the parse of a short sentence <i>(According to &lt;R&gt;, burning of</i><page local="9" global="1608"/></p><table caption="Table 7: Top 10 rules for the Stanford parser according to Information Gain on the held-out set" class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Rules</b></p></td><td class="cell"><p><b>BL</b></p></td><td class="cell"><p><b>CZ</b></p></td><td class="cell"><p><b>FR</b></p></td><td class="cell"><p><b>Counts RU</b></p></td><td class="cell"><p><b>SP</b></p></td><td class="cell"><p><b>CN</b></p></td><td class="cell"><p><b>JP</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NNP  — &lt;R&gt;</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>3</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>67</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>:     - -</p></td><td class="cell"><p>55</p></td><td class="cell"><p>51</p></td><td class="cell"><p>23</p></td><td class="cell"><p>39</p></td><td class="cell"><p>10</p></td><td class="cell"><p>9</p></td><td class="cell"><p>4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PRN — -LRB- X -RRB-</p></td><td class="cell"><p>0</p></td><td class="cell"><p>1</p></td><td class="cell"><p>7</p></td><td class="cell"><p>2</p></td><td class="cell"><p>0</p></td><td class="cell"><p>42</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SYM — *</p></td><td class="cell"><p>0</p></td><td class="cell"><p>1</p></td><td class="cell"><p>7</p></td><td class="cell"><p>3</p></td><td class="cell"><p>1</p></td><td class="cell"><p>42</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>:     — :</p></td><td class="cell"><p>30</p></td><td class="cell"><p>39</p></td><td class="cell"><p>58</p></td><td class="cell"><p>46</p></td><td class="cell"><p>47</p></td><td class="cell"><p>11</p></td><td class="cell"><p>6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>X — SYM</p></td><td class="cell"><p>0</p></td><td class="cell"><p>2</p></td><td class="cell"><p>7</p></td><td class="cell"><p>4</p></td><td class="cell"><p>4</p></td><td class="cell"><p>42</p></td><td class="cell"><p>6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NP  — NNP NNP NNS</p></td><td class="cell"><p>0</p></td><td class="cell"><p>3</p></td><td class="cell"><p>1</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>31</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>S — S   :   S .</p></td><td class="cell"><p>36</p></td><td class="cell"><p>34</p></td><td class="cell"><p>53</p></td><td class="cell"><p>39</p></td><td class="cell"><p>41</p></td><td class="cell"><p>5</p></td><td class="cell"><p>9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PP — VBG PP</p></td><td class="cell"><p>9</p></td><td class="cell"><p>15</p></td><td class="cell"><p>16</p></td><td class="cell"><p>12</p></td><td class="cell"><p>13</p></td><td class="cell"><p>54</p></td><td class="cell"><p>13</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>:     — ...</p></td><td class="cell"><p>16</p></td><td class="cell"><p>13</p></td><td class="cell"><p>39</p></td><td class="cell"><p>11</p></td><td class="cell"><p>24</p></td><td class="cell"><p>1</p></td><td class="cell"><p>3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">(. .)))</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">(SI (S</doubt><doubt alpha="48.1" length="27" tooSmall="False" monospace="0.0">(ADVP   (RB Overall)) (, ,)</doubt><doubt alpha="65.6" length="32" tooSmall="False" monospace="0.0">(NP (NNP cyber)) (VP(VBD cafeis)</doubt><doubt alpha="46.2" length="52" tooSmall="False" monospace="0.0">(NP   (DT a)   (JJ good)   (NN place)) (PP   (IN as)</doubt><p>(NP   (JJ recreational) (NP  <b>(JJ up-to-dated)</b></p><doubt alpha="56.7" length="30" tooSmall="False" monospace="0.0">(NNP centre))) (PP   (IN with)</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">(NP (NP</doubt><doubt alpha="51.5" length="33" tooSmall="False" monospace="0.0">(DT a)   (NN bundle)) (PP (IN of)</doubt><doubt alpha="61.9" length="21" tooSmall="False" monospace="0.0">(NN information))))))</doubt><figure caption="Figure 3: Parse illustrating parser correction"></figure><p><i>plastic waste generates toxic by-products</i>—&lt;R&gt;is an in-text citation that was removed in the prepa­ration of ICLE) that illustrates this particular con­struction. It appears that speakers of Chinese fre­quently use this phrase as a translation of <i>gen jU</i>. So in this case, what is identified is not the sort of error that is of interest to contrastive analysis, but just a particular construction that is characteristic of a certain native speaker's language, one that is per­fectly grammatical but which is used relatively infre­quently by others and has a slightly unusual analysis by the parser.</p><p>We had expected to see more rules that displayed obvious ungrammaticality, such as VP — DT IN. However, both parsers appear to be good at 'ig­noring' errors, and producing relatively grammati­cal structures (albeit ones with different frequencies for different native languages). Figure 3 gives the C&amp;J parse for <i>Overall, cyber <b>cafeis </b>a good place as recreational centre with a bundle of <b>up-to-dated </b>in­formation. </i>The correction of <i>up-to-dated </i>rather than <i>up-to-date </i>is straightforward, but the simple typo­graphical error of running together <i>cafe </i>and <i>is </i>leads to more complex problems for the parser. Neverthe­less, the parser produces a solid grammatical tree, specifically assigning the category VBD to the com­pound <i>cafeis. </i>This appears to be because both the Stanford and C&amp;J parsers have implicit linguistic constraints such as assumptions about heads; these are imposed even when the text does not provide ev­idence for them.</p><p>We also present in Table 7 the top 10 rules chosen under the IG feature selection for the Stanford parser on the held-out set. A number of these, and those ranked lower, are concerned with punctuation: these seem unlikely to be related to native language, but perhaps rather to how students of a particular lan­guage background are taught. Others are more typi­cal of the sorts of example we illustrated above: PP — VBG PP, for example, is typically connected to the <i>according to </i>construction discussed in connec­tion with Figure 2, and it can be seen that the dom­inant frequency count there is for native Chinese speakers (column 6 of the counts).</p></section><section number="7" title="Conclusion"><p>In this paper we have shown that, using cross-sections of parse trees, we can improve above an al­ready good baseline in the task of native language identification. While we do not make any strong claims for the Contrastive Analysis Hypothesis, the usefulness of syntax in the context of this problem does provide some support.</p><p>The best features arising from the classification have been horizontal cross-sections of trees, rather than the more general discriminative parse reranking features that might have been expected to perform at least as well. This relatively poorer performance by the reranking features may be due to a number of factors, all of which could be investigated in future work. One is the use of feature schema instances that did not appear in the largely grammatical WSJ; an­other is the extension of feature schemas; and a third is the use of a parser that does not enforce linguistic constraints such as the Berkeley parser (Petrov et al., 2006).</p><p>Examining some of the substructures showed some errors that were expected; other constructions that were grammatical, but were just characteris­tic translations of constructions that were common in the native language; and a large number where grammatical errors were glossed over by the parser's linguistic constraints, suggesting another purpose for further work with the Berkeley parser. Overall, the use of these led to an error reduction in over 30% in the cross-validation evaluation with significance testing.<page local="10" global="1609"/></p></section><section title="Acknowledgments"><p>The authors would like to acknowledge the support of ARC Linkage Grant LP0776267 and ARC Dis­covery Grant DP1095443, and thank the reviewers for useful feedback. Much gratitude is due to Mark Johnson for his guidance on the extraction of rerank-ing features.</p></section><references><p>Ethem Alpaydin. 2004. <i>Introduction to Machine Learn­ing. </i>MIT Press, Cambridge, MA, USA.</p><p>Harald Baayen, Hans van Halteren, and Fiona Tweedie. 1996. Outside the Cave of Shadows: Using Syntactic Annotation to Enhance Authorship Attribution. <i>Liter­ary and Linguistic Computing, </i>11(3):121-131.</p><p>Stephen Bird, Ewan Klein, and Edward Loper. 2009. <i>Natural Language Processing with Python: Analyzing Text with the Natural Language Toolkit. </i>O'Reilly Me­dia, Inc.</p><p>Eugene Charniak and Mark Johnson. 2005. Coarse-to-fine n-best parsing and MaxEnt discriminative rerank-ing. In <i>Proceedings of the 43rd Annual Meeting onAs-sociation for Computational Linguistics, </i>pages 173­180, Ann Arbor, Michigan.</p><p>Stephen Clark and James R. Curran. 2007. Wide-Coverage Efficient Statistical Parsing with CCG and Log-Linear Models. <i>Computational Linguistics, </i>33(4):493-552.</p><p>Michael Collins. 2000. Discriminative reranking fornat-ural language processing. In <i>Proceedings of the Seven­teenth International Conference on Machine Learning (ICML'00), </i>Stanford, CA.</p><p>Stephen P. Corder. 1967. The significance of learners' errors. <i>International Review of Applied Linguistics in Language Teaching (IRAL), </i>5(4):161-170.</p><p>Dominique Estival, Tanja Gaustad, Son-Bao Pham, Will Radford, and Ben Hutchinson. 2007. Author profiling for English emails. In <i>Proceedings of the 10th Con­ference of the Pacific Association for Computational Linguistics (PACLING), </i>pages 263-272.</p><p>Ian Fette, Norman Sadeh, and Anthony Tomasic. 2007. Learning to detect phishing emails. In <i>Proceedings of the 16th International World Wide Web Conference.</i></p><p>George Forman. 2003. An extensive empirical study of feature selection metrics for text classification. <i>Jour­nal of Machine Learning Research, </i>3:1289-1305.</p><p>Jennifer Foster, Joachim Wagner, and Josef van Genabith. 2008. Adapting a WSJ-trained parser to grammati­cally noisy text. In <i>Proceedings of ACL-08: HLT, Short Papers, </i>pages 221-224, Columbus, Ohio.</p><p>Julie Franck, Gabriella Vigliocco, and Janet Nicol. 2002. Subject-verb agreement errors in French and English: The role of syntactic hierarchy. <i>Language and Cogni­tive Processes, </i>17(4):371-404.</p><p>Michael Gamon. 2004. Linguistic correlates of style: Authorship classification with deep linguistic analy­sis features. In <i>Proceedings of the 20th International Conference on Computational Linguistics (COLING), </i>pages 611-617.</p><p>Sylviane Granger and Stephanie Tyson. 1996. Connec­tor usage in the English essay writing of native and non-native EFL speakers of English. <i>World Englishes,</i> 15(1):17-27.</p><p>Sylviane Granger, Estelle Dagneaux, Fanny Meunier, and Magali Paquot. 2009. <i>International Corpus of Learner English (Version 2). </i>Presses Universitaires de Louvain, Louvian-la-Neuve.</p><p>Trevor Hastie, Robert Tibshirani, and Jerome H. Fried­man. 2009. <i>The Elements ofStatistical Learning: Data Mining, Inference, and Prediction. </i>Springer.</p><p>Mark Johnson and Ahmet Engin Ural. 2010. Rerank-ing the Berkeley and Brown Parsers. In <i>Proceed­ings of Human Language Technologies: the 2010 Annual Conference of the North American Chap­ter ofthe Association for Computational Linguistics (HLT/NAACL-10), </i>pages 665-668, Los Angeles, CA,</p><p>USA, June.</p><p>Mark Johnson, Stuart Geman, Stephen Canon, Zhiyi Chi, and Stefan Riezler. 1999. Estimators for stochastic unification-based grammars. In <i>Proceedings of the 37th Annual Meeting of the Association for Compu­tational Linguistics (ACL'99), </i>College Park, MD.</p><p>Dan Klein and Christopher D. Manning. 2003. Accu­rate unlexicalized parsing. In <i>Proceedings ofthe 41st Annual Meeting ofthe Association for Computational Linguistics, </i>pages 423-430, Sapporo, Japan.</p><p>Moshe Koppel, Jonathan Schler, and Kfir Zigdon. 2005. Automatically determining an anonymous author's na­tive language. In <i>Intelligence and Security Informat­ics, </i>volume 3495 of <i>Lecture Notes in Computer Sci­ence, </i>pages 209-217. Springer-Verlag.</p><p>Robert Lado. 1957. <i>Linguistics Across Cultures: Ap­plied Linguistics for Language Teachers. </i>University of Michigan Press, Ann Arbor, MI, US.</p><p>Brian MacWhinney and Elizabeth Bates. 1989. <i>The Crosslinguistic Study ofSentence Processing. </i>Cam­bridge University Press, New York, NY, USA.</p><p>Andrew Mutton, Mark Dras, Stephen Wan, and Robert Dale.    2007.    GLEU: Automatic evaluation of sentence-level fluency.<page local="11" global="1610"/> In <i>Proceedings of the 45th An­nual Meeting ofthe Association ofComputational Lin­guistics, </i>pages 344-351, Prague, Czech Republic.</p><p>Steven Myers. 2007. Introduction to phishing. In Markus Jakobsson and Steven Myers, editors, <i>Phish-ing and Countermeasures: Understanding the In­creasing Problem ofElectronic Identity Theft. </i>John Wiley &amp; Sons, Inc., Hoboken, NJ, USA.</p><p>Dominick Ng, Matthew Honnibal, and James R. Cur-ran. 2010. Reranking a Wide-Coverage ccg Parser. In <i>Proceedings ofAustralasian Language Technology Association Workshop (ALTA 10), </i>pages 90-98, Mel­bourne, Australia.</p><p>Slav Petrov, Leon Barrett, Romain Thibaux, and Dan Klein. 2006. Learning Accurate, Compact, and Inter­pretable Tree Annotation. In <i>Proceedings ofthe 21st International Conference on Computational Linguis­tics and 44th Annual Meeting ofthe Association for Computational Linguistics (COLING/ACL'06), </i>pages 433-440, Sydney, Australia, July.</p><p>Manfred Pienemann. 1998. <i>Language Processing and Second Language Development: Processability The­</i>ory. John Benjamins, Amsterdam, The Netherlands.</p><p>Payam Refaeilzadeh, Lei Tang, and Huan Liu. 2009. Cross-validation. In Ling Liu and M. Tamer Ozsu, ed­itors, <i>Encyclopedia ofDatabase Systems, </i>pages 532­538. Springer, US.</p><p>Jack C. Richards. 1971. A non-contrastive approach to error analysis. <i>ELT Journal, </i>25(3):204-219.</p><p>Roumyana Slabakova. 2000. L1 transfer revisited: the L2 acquisition of telicity marking in English by Spanish and Bulgarian native speakers. <i>Linguistics,</i> 38(4):739-770.</p><p>Guihua Sun, Xiaohua Liu, Gao Cong, Ming Zhou, Zhongyang Xiong, John Lee, and Chin-Yew Lin. 2007. Detecting erroneous sentences using automat­ically mined sequential patterns. In <i>Proceedings ofthe 45th Annual Meeting ofthe Association ofComputa-tionalLinguistics, </i>pages 81-88, Prague, Czech Repub­lic.</p><p>Michael Swan and Bernard Smith, editors. 2001.</p><p><i>Learner English: A teacher s guide to interference and other problems. </i>Cambridge University Press, 2nd edi­tion.</p><p>Joel Tetreault, Jennifer Foster, and Martin Chodorow. 2010. Using parse features for preposition selection and error detection. In <i>Proceedings ofthe ACL 2010 Conference Short Papers, </i>ACLShort '10, pages 353­358. Association for Computational Linguistics.</p><p>Oren Tsur and Ari Rappoport. 2007. Using classifier fea­tures for studying the effect of native language on the choice of written second language words. In <i>Proceed­ings ofthe Workshop on Cognitive Aspects ofCompu-tational Language Acquisition, </i>pages 9-16.</p><p>Hans van Halteren. 2008. Source language markers in EUROPARL translations. In <i>Proceedings ofthe 22nd International Conference on Computational Linguis­tics (COLING), </i>pages 937-944.</p><p>Irena Vassileva. 1998. Who am I/how are we in aca­demic writing? A contrastive analysis of authorial presence in English, German, French, Russian and Bulgarian. <i>International Journal ofApplied Linguis­tics, </i>8(2):163-185.</p><p>Garbriella Vigliocco, Brian Butterworth, and Merrill F. Garrett. 1996. Subject-verb agreement in Spanish and English: Differences in the role of conceptual con­straints. <i>Cognition, </i>61(3):261-298.</p><p>Joachim Wagner, Jennifer Foster, and Josef van Genabith. 2009. Judging grammaticality: Experiments in sen­tence classification. <i>CALICO Journal, </i>26(3):474-490.</p><p>Richard Wardhaugh. 1970. The Contrastive Analysis Hypothesis. <i>TESOL Quarterly, </i>4(2):123-130.</p><p>Sze-Meng Jojo Wong and Mark Dras. 2009. Contrastive analysis and native language identification. In <i>Pro­ceedings ofthe Australasian Language TechnologyAs-sociation Workshop 2009, </i>pages 53-61, Sydney, Aus­tralia, December.</p><p>Sze-Meng Jojo Wong and Mark Dras. 2010. Parser features for sentence grammaticality classification. In <i>Proceedings ofthe Australasian Language Technology Association Workshop 2010, </i>pages 67-75, Melbourne, Australia, December.</p><p>Suying Yang and Yue-Yuan Huang. 2004. The impact of the absence of grammatical tense in L1 on the acqui­sition of the tense-aspect system in L2. <i>International Review ofApplied Linguistics in Language Teaching (IRAL), </i>42(1):49-70.</p><p>Yiming Yang and Jan O. Pedersen. 1997. A compara­tive study on feature selection in text categorization. In <i>Proceedings of the Fourteenth International Con­ference on Machine Learning (ICML 97), </i>pages 412­420.</p><p>Rong Zheng, Yi Qin, Zan Huang, and Hsinchun Chen. 2003. Authorship analysis in cybercrime investiga­tion. In <i>Intelligence and Security Informatics, </i>volume 2665 of <i>Lecture Notes in Computer Science, </i>pages 59­73. Springer-Verlag.</p></references></body></article>