<?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="1002"/><title>Domain Adaptation of Rule-Based Annotators for Named-Entity Recognition Tasks</title><author surname="Chiticariu" givenname="Laura"><org  name="IBM Research UK" country="United Kingdom" city="Winchester"/></author><author surname="Krishnamurthy" givenname="Rajasekar"><org  name="IBM Research UK" country="United Kingdom" city="Winchester"/></author><author surname="Li" givenname="Yunyao"><org  name="IBM Research UK" country="United Kingdom" city="Winchester"/></author><author surname="Reiss" givenname="Frederick"><org  name="IBM Research UK" country="United Kingdom" city="Winchester"/></author><author surname="Vaithyanathan" givenname="Shivakumar"><org  name="IBM Research UK" country="United Kingdom" city="Winchester"/></author></firstpageheader><frontmatter><p><b>Domain Adaptation of Rule-Based Annotators for Named-Entity Recognition Tasks</b></p><p><b>Laura Chiticariu Rajasekar Krishnamurthy Yunyao Li Frederick Reiss  Shivakumar Vaithyanathan</b></p><p>IBM Research - Almaden 650 Harry Road, San Jose, CA 95120, USA</p><p>{chiti,   rajase,  yunyaoli,   frreiss}@us.ibm.com, shiv@almaden.ibm.com</p></frontmatter><abstract>Named-entity recognition (NER) is an impor­tant task required in a wide variety of ap­plications. While rule-based systems are ap­pealing due to their well-known "explainabil-ity," most, if not all, state-of-the-art results for NER tasks are based on machine learning techniques. Motivated by these results, we ex­plore the following natural question in this pa­per: <i>Are rule-based systems still a viable ap­proach to named-entity recognition? </i>Specif­ically, we have designed and implemented a high-level language <i>NERL </i>on top of Sys-temT, a general-purpose algebraic informa­tion extraction system. <i>NERL </i>is tuned to the needs of NER tasks and simplifies the pro­cess of building, understanding, and customiz­ing complex rule-based named-entity annota-tors. We show that these customized annota-tors match or outperform the best published results achieved with machine learning tech­niques. These results confirm that we can reap the benefits of rule-based extractors' ex-plainability without sacrificing accuracy. We conclude by discussing lessons learned while building and customizing complex rule-based annotators and outlining several research di­rections towards facilitating rule development. </abstract></header><body><section number="1" title="Introduction"><p>Named-entity recognition (NER) is the task of iden­tifying mentions of rigid designators from text be­longing to named-entity types such as persons, orga­nizations and locations (Nadeau and Sekine, 2007).</p><p>While NER over formal text such as news articles and webpages is a well-studied problem (Bikel et al., 1999; McCallum and Li, 2003; Etzioni et al., 2005), there has been recent work on NER over in­formal text such as emails and blogs (Huang et al., 2001; Poibeau and Kosseim, 2001; Jansche and Ab-ney, 2002; Minkov et al., 2005; Gruhl et al., 2009). The techniques proposed in the literature fall under three categories: rule-based (Krupka and Hausman, 2001; Sekine and Nobata, 2004), machine learning-based (O. Bender and Ney, 2003; Florian et al., 2003; McCallum and Li, 2003; Finkel and Manning, 2009; Singh et al., 2010) and hybrid solutions (Sri-hari et al., 2001; Jansche and Abney, 2002).</p><subsection number="1.1" title="Motivation"><p>Although there are well-established rule-based sys­tems to perform NER tasks, most, if not all, state-of-the-art results for NER tasks are based on machine learning techniques. However, the rule-based ap­proach is still extremely appealing due to the associ­ated transparency of the internal system state, which leads to better explainability of errors (Siniakov, 2010). Ideally, one would like to benefit from the transparency and explainability of rule-based tech­niques, while achieving state-of-the-art accuracy.</p><p>A particularly challenging aspect of rule-based NER in practice is domain customization — cus­tomizing existing annotators to produce accurate re­sults in new domains. In machine learning-based systems, adapting to a new domain has tradition­ally involved acquiring additional labeled data and learning a new model from scratch. However, recent work has proposed more sophisticated approaches that learn a domain-independent base model, which can later be adapted to specific domains (Florian et</p><p><i>Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, </i>pages 1002-1012, MIT, Massachusetts, USA, 9-11 October 2010. ©2010 Association for Computational Linguistics<page local="2" global="1003"/></p><doubt alpha="75.0" length="12" tooSmall="True" monospace="0.0">Document d-.</doubt><doubt alpha="81.8" length="11" tooSmall="True" monospace="0.0">Document d2</doubt><doubt alpha="70.5" length="78" tooSmall="True" monospace="0.0">BASEBALL - MAJOR LEAGUE STANDINGS AFTER TUESDAY 'S GAMES NNEWYORKI996-08-28...</doubt><doubt alpha="56.9" length="102" tooSmall="True" monospace="0.0">AMERICAN LEAGUE EASTERN DIVISION W L PCT GBNEW YORK74 57 .565 -BALTIMORE70 61 .534 4BOSTON68 65 .511 7</doubt><doubt alpha="92.1" length="38" tooSmall="True" monospace="0.0">TEXASAT KANSAS CITYBOSTONAT CALIFORNIA</doubt><doubt alpha="88.9" length="18" tooSmall="True" monospace="0.0">NEW YORKAT SEATTLE</doubt><doubt alpha="82.9" length="35" tooSmall="True" monospace="0.0">BASEBALL -ORIOLESWIN ,YANKEESLOSE .</doubt><doubt alpha="45.0" length="20" tooSmall="True" monospace="0.0">BALTIMORE 1996-08-27</doubt><p>IrC<u>Seätti</u>e? Jay Buhner's eighth-inning single snapped a tie as the <u>Seattle Mariners</u> edged the <u>New York Yankees</u> 2-1 in the opener of a three-game series .</p><doubt alpha="83.1" length="130" tooSmall="True" monospace="0.0">New Yorkstarter Jimmy Key left the game in the first inning afterSeattleshortstop Alex Rodriguez lined a shot off his left elbow .</doubt><doubt alpha="100.0" length="21" tooSmall="True" monospace="0.0">OrganizationCLocation</doubt><doubt alpha="82.4" length="131" tooSmall="True" monospace="0.0">Customization Requirement: City, County or State names within sports articles may refer to a sports team or to the location itself.</doubt><doubt alpha="79.3" length="29" tooSmall="True" monospace="0.0">Customization Solution (CS) :</doubt><doubt alpha="87.0" length="23" tooSmall="True" monospace="0.0">Within sports articles,</doubt><doubt alpha="84.4" length="141" tooSmall="True" monospace="0.0">Identify all occurrences of city/county/state as Organizations, Except when a contextual clue indicates that the reference is to the location</doubt><figure caption="Figure 1: Example Customization Requirement"></figure><doubt alpha="82.9" length="82" tooSmall="True" monospace="0.0">// Core rules identify Organization and Location candidates // Begin customization</doubt><doubt alpha="79.8" length="114" tooSmall="True" monospace="0.0">// Identify articles covering sports event from article title &lt;SportsArticle&gt;    Evaluate Regular Expressions &lt;R1&gt;</doubt><doubt alpha="82.5" length="40" tooSmall="True" monospace="0.0">// Identify locations in sports articles</doubt><doubt alpha="83.1" length="77" tooSmall="True" monospace="0.0">CR2Retain &lt;Location&gt; As &lt;LocationMaybeOrg&gt; If ContainedWithin &lt;SportsArticle&gt;</doubt><doubt alpha="76.6" length="188" tooSmall="True" monospace="0.0">// City/County/State references (e.g., New York) may refer to the sports team in that cityCR3Retain &lt;LocationMaybeOrg&gt; If Matches Dictionaries &lt;'cities.dict','counties.dict','states.dict'&gt;</doubt><doubt alpha="78.4" length="236" tooSmall="True" monospace="0.0">// Some city references in sports articles may refer to the city (e.g., In Seattle ) // These references should not be reclassified as OrganizationCR4Discard &lt;LocationMaybeOrg&gt; If Matches Regular Expression &lt;R2&gt; on Left Context 2 Tokens</doubt><doubt alpha="82.1" length="156" tooSmall="True" monospace="0.0">// City references to sports teams are added to Organization and removed from LocationCR5Augment &lt;Organization&gt; With &lt;LocationMaybeOrg&gt; // End customization</doubt><doubt alpha="79.3" length="29" tooSmall="True" monospace="0.0">// Continuation of core rules</doubt><doubt alpha="84.3" length="51" tooSmall="True" monospace="0.0">// Remove Locations that overlap with Organizations</doubt><doubt alpha="83.3" length="54" tooSmall="True" monospace="0.0">Discard &lt;Location&gt; If Overlaps Concepts &lt;Organization&gt;</doubt><figure caption="Figure 2: Example Customization Rules inNERL"></figure><p>al., 2004; Blitzer et al., 2006; Jiang and Zhai, 2006; Arnold et al., 2008; Wu et al., 2009). Implement­ing a similar approach for rule-based NER typically requires a significant amount of manual effort to (a) identify the explicit semantic changes required for the new domain (e.g., differences in entity type def­inition), (b) identify the portions of the (complex) core annotator that should be modified for each dif­ference and (c) implement the required customiza­tion rules without compromising the extraction qual­ity of the core annotator. Domain customization of rule-based NER has not received much attention in the recent literature with a few exceptions (Petasis et al., 2001; Maynard et al., 2003; Zhu et al., 2005).</p></subsection><subsection number="1.2" title="Problem Statement"><p>In this paper, we explore the following natural ques­tion: Are rule-based systems still a viable approach to named-entity recognition? Specifically, (a) <i>Is it possible to build, maintain and customize rule-based NER annotators that match the state-of-the-art re­sults obtained using machine-learning techniques? </i>and (b) <i>Can this be achieved with a reasonable amount ofmanual effort?</i></p></subsection><subsection number="1.3" title="Contributions"><p>In this paper, we address the challenges mentioned above by (i) defining a taxonomy of the different types of customizations that a rule developer may perform when adapting to a new domain (Sec. 2), (ii) identifying a set of high-level operations required for building and customizing NER annotators, and (iii) exposing these operations in a domain-specific NER rule language, <i>NERL, </i>developed on top ofSystemT (Chiticariu et al., 2010), a general-purpose algebraic information extraction system (Sec. 3). <i>NERL </i>is specifically geared towards building and customizing complex NER annotators and makes it easy to understand a complex annotator that may comprise hundreds of rules. It simplifies the iden­tification of what portions need to be modified for a given customization requirement. It also makes individual customizations easier to implement, as il­lustrated by the following example.</p><p>Suppose we have to customize a domain-independent rule-based NER annotator for the CoNLL corpus (Tjong et al., 2003). Consider the two sports-related news articles in Fig. 1 from the corpus, where city names such as 'New <i>York </i>or <i>'Seattle' </i>can refer to either a <i>Location </i>or an <i>Orga­nization </i>(the sports team based in that city). In the domain-independent annotator, city names were al­ways identified as <i>Location, </i>as this subtle require­ment was not considered during rule development. A customization to address this issue is shown in Fig. 1, which can be implemented in <i>NERL </i>with five rules (Fig. 2). This customization (explained in de­tail in Sec. 3) improved the F^=i score for <i>Organi­zation </i>and <i>Location </i>by approximately 9% and 3%, respectively (Sec. 4).</p><p>We used <i>NERL </i>to customize a domain-independent rule-based NER annotator for three different domains - CoNLL03 (Tjong et al., 2003), Enron (Minkov et al., 2005) and ACE05 (NIST, 2005). Our experimental results (Sec. 4.3) demon­strate that the customized annotators have extraction quality better than the best-known results for individual domains, which were achieved with machine learning techniques.<page local="3" global="1004"/> The fact that we are able to achieve such results across multiple domains answers our earlier question and confirms that we can reap the benefits of rule-based extractors' explainability without sacrificing accuracy.</p><p>However, we found that even using <i>NERL, </i>the amount of manual effort and expertise required in rule-based NER may still be significant. In Sec. 5, we report on the lessons learned and outline several interesting research directions towards simplifying rule development and facilitating the adoption of the rule-based approach towards NER.</p></subsection></section><section number="2" title="Domain Customization for NER"><p>We consider NER tasks following the broad defini­tion put forth by (Nadeau and Sekine, 2007), for­mally defined as follows:</p><p><b>Definition 1 </b><i>Named entity recognition is the task of identifying and classifying mentions of entities with one or more rigid designators, as defined by (Kripke, 1982).</i></p><p>For instance, the identification of proper nouns representing persons, organizations, locations, prod­uct names, proteins, drugs and chemicals are consid­ered as NER tasks.</p><p>Based on our experience of customizing NER an-notators for multiple domains, we categorize the customizations involved into two main categories as listed below. This categorization motivates the de­sign of <i>NERL </i>(Sec. 3).</p><p><b>Data-driven </b>(O<b>dd): </b>The most common NER cus­tomization is data-driven, where the customizations mostly involve the addition of new patterns and dictionary entries, driven by observations from the training data in the new domain. An example is the addition of a new rule to identify locations from the beginning of news articles (e.g., "BALTIMORE 1995-08-27" and "MURCIA , Spain 1996-09-10"). <b>Application-driven: </b>What is considered a valid named entity and its corresponding type can vary across application domains. The most common di­mensions on which the definition of a named entity can vary are:</p><p><i>Entity Boundary </i><i>(0EB</i>): Different application do­mains may have different definitions of where the same entity starts or ends. For example, a <i>Person </i>may (CoNLL03) or may not (Enron) include gener­ational markers (e.g. "Jr." in "Bush Jr." or "IV" in "Henry IV").</p><p><i>Ambiguous Type Assignment (</i><i>Oata</i><i>): </i>The exact type of a given named entity can be ambiguous. Different applications may assign different types for the same named entity. For instance, all in­stances of "White House" may be considered as <i>Lo­cation </i>(CoNLL03), or be assigned as <i>Facility </i>or <i>Or­ganization </i>based on their context (ACE05). In fact, even within the same application domain, entities typically considered as of the same type may be as­signed differently. For example, given "New York beat Seattle" and "Ethiopia beat Uganda", both 'New <i>York' </i>and <i>'Ethiopia' </i>are teams referred by their locations. However, (Tjong et al., 2003) considers the former, which corresponds to a city, as an <i>Orga­nization, </i>and the latter, which corresponds to a coun­try, as a <i>Location.</i></p><p><i>Domain-Specific Definition (</i><i>Odsd</i>): Whether a given term is even considered a named entity may depend on the specific domain. As an example, con­sider the text "Commercialization Meeting - SBeck, BHall, BSuperty, TBusby, SGandhi-Gupta". Infor­mal names such as ' <i>SBeck' </i>and ' <i>BHall' </i>may be con­sidered as valid person names (Enron). <i>Scope</i><i>(OS</i>): Each type of named entity usually con­tains several subtypes. For the same named en­tity task, different applications may choose to in­clude different sets of subtypes. For instance, roads and buildings are considered part of <i>Location </i>in CoNLL03, while they are not included in ACE05. <i>Granularity</i><i>(O</i><i>c): </i>Name entity types are hierarchi­cal. Different applications may define NER tasks at different granularities. For instance, in ACE05, <i>Organization </i>and <i>Location </i>entity types were split into four entity types <i>(Organization, Location, Geo­Political Entity </i>and <i>Facility).</i></p><p>The different customizations are summarized as shown in Tab. 1, based on the following criteria: (i) whether the customization identifies new instances or modifies existing instances; and (ii) whether the customization affects single or multiple entities.<page local="4" global="1005"/> For instance, <i>Os </i>identifies new instances for a single en­tity type, as it adds instances of a new subtype for an existing entity type. Note that <i>BR </i>in the table de­notes the rules used to build the core annotator.</p><table caption="Table 1: Categorizing NER Customizations" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Affects Single Entity Type</p></td><td class="cell"><p>Affects Multiple Entity Types</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Identify New Instances</p></td><td class="cell"><p><i>cs</i>. <i>cdd</i>. <i>cdsd</i></p></td><td class="cell"><p><i>Br</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Modify Existing instances</p></td><td class="cell"><p></p></td><td class="cell"><p><i>cata, cg</i></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></tr></table></section><section number="3" title="Named Entity Rule Language"><subsection number="3.1" title="Grammar vs. Algebraic NER"><p>Traditionally, rule-based NER systems were based on the popular CPSL cascading grammar specifi­cation (Appelt and Onyshkevych, 1998). CPSL is designed so that rules that adhere to the standard can be executed efficiently with finite state transduc­ers. Accordingly, the standard defines a rigid left-to-right execution model where a region of text can be matched by at most one rule according to a fixed rule priority, and where overlapping annotations are dis­allowed in the output of each grammar phase.</p><p>While it simplifies the design of CPSL engines, the rigidity of the rule matching semantics makes it difficult to express operations frequently used in rule-based information extraction. These limitations have been recognized in the literature, and several extensions have been proposed to allow more flex­ible matching semantics, and to allow overlapping annotations (Cunningham et al., 2000; Boguraev, 2003; Drozdzynski et al., 2004). However, even with these extensions, common operations such as filtering annotations (e.g. <i>OR4 </i>in Fig. 2), are dif­ficult to express in grammars and often require an escape to custom procedural code.</p><p>Recently, several declarative algebraic languages have been proposed for rule-based IE systems, no­tably AQL (Chiticariu et al., 2010) and Xlog (Shen et al., 2007). These languages are not constrained by the requirement that all rules map onto finite state transducers, and therefore can express a significantly richer semantics than grammar-based languages. In particular, the AQL rule language as implemented in SystemT (Chiticariu et al., 2010) can express many common operations used in rule-based information extraction without requiring custom code. In addi­tion, the separation of extraction semantics from ex­ecution enables SystemT's rule optimizer and effi­cient runtime engine. Indeed, as shown in (Chiti-cariu et al., 2010), SystemT can deliver an order of magitude higher annotation throughput compared to a state-of-the-art CPSL-based IE system.</p><p>Since AQL is a general purpose information ex­traction rule language, similar to CPSL and JAPE, it exposes an expressive set of capabilities that go beyond what is required for NER tasks. These ad­ditional capabilities can make AQL rules more ver­bose than is necessary for implementing rules in the NER domain. For example, Fig. 3 shows how the same customization rule <i>OR4 </i>from Fig. 2 can be implemented in JAPE or in AQL. Notice how im­plementing even a single customization may lead to defining complex rules (e.g. JAPE-R1, AQL-R1) and sometimes even using custom code (e.g. JAPE-R2). As illustrated by this example, the rules in AQL and JAPE tend to be complex since some operations — e.g., filtering the outputs of one rule based on the outputs of another rule — that are common in NER rule sets require multiple rules in AQL or multiple grammar phases in JAPE.</p><p>To make NER rules easier to develop and to understand, we designed and implemented Named Entity Rule Language <i>(NERL) </i>on top of SystemT. <i>NERL </i>is a declarative rule language designed specif­ically for named entity recognition. The design of <i>NERL </i>draws on our experience with building and customizing multiple complex NER annotators. In particular, we have identified the operations required in practice for such tasks, and expose these opera­tions as built-in constructs in <i>NERL. </i>In doing so, we ensure that frequently performed operations can be expressed succinctly, so as not to complicate the rule set unnecessarily. As a result, <i>NERL </i>rules for named entity recognition tasks are significantly more com­pact and easy to understand than the equivalent AQL rules. At the same time, <i>NERL </i>rules can easily be compiled to AQL, allowing our NER rule develop­ment framework to take advantage of the capabilities of the SystemT rule optimizer and efficient runtime execution engine.</p><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">3.2NERL</doubt><p>For the rest of this section, we focus on describ­ing the types of rules supported in <i>NERL. </i>In Sec. 4, we shall demonstrate empirically that <i>NERL </i>can be successfully employed in building and customizing complex NER annotators.</p><p>A <i>NERL </i>rule has the following form: <i>IntConcept ^- RuleBody(IntConcept1, IntConcept2,...)</i><page local="5" global="1006"/></p><p><b>Rule in NERL</b></p><p>// Some city references in sports articles may refer to the city (e.g., In Seattle ) // These references should not be reclassified as Organization</p><p><b><u>CR4</u> Discard &lt;LocationMaybeOrg&gt; If Matches Regular Expression &lt;R2&gt; on Left Context 2 Tokens</b></p><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">JAPE-R1</doubt><doubt alpha="75.0" length="12" tooSmall="True" monospace="0.0">JAPE Phase 1</doubt><doubt alpha="90.3" length="31" tooSmall="True" monospace="0.0">Rule : AmbiguousLocationContext</doubt><doubt alpha="68.5" length="89" tooSmall="True" monospace="0.0">({Token}[2]):context({AmbiguousLoc}): annot -&gt;:annot.AmbiguousLoc = {lc = context.string}</doubt><doubt alpha="75.0" length="12" tooSmall="True" monospace="0.0">JAPE Phase 2</doubt><doubt alpha="88.5" length="26" tooSmall="True" monospace="0.0">Rule : RetainValidLocation</doubt><doubt alpha="69.9" length="83" tooSmall="True" monospace="0.0">({AmbiguousLoc.lc =~ R2}):ambiguousloc --&gt; { // rule to discard ambiguous locations</doubt><doubt alpha="79.6" length="49" tooSmall="True" monospace="0.0">AnnotationSet loc = bindings.get("ambiguousloc");</doubt><doubt alpha="83.3" length="24" tooSmall="True" monospace="0.0">outputAS.removeAll(loc);</doubt><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">}</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">JAPE-R2</doubt><doubt alpha="69.5" length="151" tooSmall="True" monospace="0.0">Rule : RetainValidLocation ({Token}[2]):context({AmbiguousLoc}):loc   -- &gt; { // Action part in Java to test R2 on left context // and delete annotation</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">AQL-R1_</doubt><doubt alpha="91.5" length="106" tooSmall="True" monospace="0.0">create viewLocationMaybeOrglnvalidas selectLMO.valueasvaluefromLocationMaybeOrg LMOwhereMatchesRegex(/R2/,</doubt><doubt alpha="76.2" length="282" tooSmall="True" monospace="0.0">AnnotationSet loc = bindings.get("loc"); AnnotationSet context = bindings.get("context"); int begOffset = context.firstNode().getOffset().intValue(); int endOffset = context.lastNode().getOffset().intValue(); String mydocContent = doc.getContent().toString(); String contextString =</doubt><doubt alpha="78.1" length="114" tooSmall="True" monospace="0.0">mydocContent.substring(begOffset, endOffset); if (Pattern.matches("R2", contextString)) { outputAS.removeAll(loc);</doubt><doubt alpha="75.9" length="29" tooSmall="True" monospace="0.0">LeftContextTok(LMO.value,2));</doubt><doubt alpha="91.1" length="90" tooSmall="True" monospace="0.0">create viewLocationMaybeOrgValid as(selectLMO.valueasvalue from LocationMaybeOrg LMO)minus</doubt><doubt alpha="88.3" length="60" tooSmall="True" monospace="0.0">(selectLMOI.valueasvalue from LocationMaybeOrgInvalid LMOI);</doubt><p><b>Two Alternative Rule sets in JAPE Equivalent Rule set in AQL</b></p><figure caption="Figure 3: Single Customization Rule expressed inNERL,JAPE and AQL"></figure><p>Intuitively, a <i>NERL </i>rule creates an intermediate con­cept or named entity <i>(IntConcept </i>for short) by ap­plying a <i>NERL </i>rule on the input text and zero or more previously defined intermediate concepts. <b><i>NERL </i></b>Rule Types The types of rules supported in <i>NERL </i>are summarized in Tab. 2. In what follows, we illustrate these types by means of examples.</p><p><i>Feature definition (FD): </i>FD rules identify basic features from text (e.g., <i>FirstName, LastName </i>and <i>CapsWord </i>features for identifying person names). <i>Candidate definition (CD): </i>CD rules identify com­plete occurrences of the target entity. For instance, the Sequence rule <i>"LastName followed by ',' fol­lowed by FirstName" </i>identifies person annotations as a sequence of three tokens, where the first and third tokens occur in dictionaries containing last and first names.</p><p><i>Candidate Refinement (CR): </i>CR rules are used to refine candidates generated for different annotation types. E.g., the <i>Filter </i>rule CR3 in Fig. 2 retains <i>Loca-tionMaybeOrg </i>annotations that appear in one of sev­eral dictionaries.</p><p><i><u>Consolidation (CO)</u>: </i>CO rules are used to resolve overlapping candidates generated by multiple CD rules. For instance, consider the text "Please see the following request from Dr. Kenneth Lim of the BAAQMD.". A CD rule may identify 'Dr. <i>Kenneth Lim </i>as a person, while another CD rule may identify <i>'Kenneth Lim </i>as a candidate person. A consolidation rule is then used to merge these two annotations to produce a single annotation for 'Dr. <i>Kenneth Lim </i>. <b><i>NERL </i></b>Examples Within these categories, three types of rules deserve special attention, as they correspond to frequently used operations and are specif­ically designed to ensure compactness of the rule-set. In contrast, as discussed earlier (Fig. 3), each of these operations require several rules and possibly custom code in existing rule-based IE systems. <i>DynamicDict: </i>The <i>DynamicDict </i>rule is used to create customized gazetteers on the fly. The following ex­ample shows the need for such a rule: While <i>'Clin­ton </i>does not always refer to a person s last name (Clinton is the name of several cities in USA), in documents containing a full person name with ' <i>Clin­ton </i>as a last name (e.g., <i>'Hillary Clinton) </i>it is rea­sonable to annotate all references to the (possibly) ambiguous word <i>'Clinton </i>as a person. This goal can be accomplished using the rule <i>&lt;Create Dynamic Dictionary using Person with length 1 to 2 tokens&gt;, </i>which creates a gazetteer on a per-document basis. <i><u>Filter</u>: </i>The <i>Filter </i>rule is used to discard/retain cer­tain intermediate annotations based on predicates on the annotation text and its local context. Example filtering predicates include</p><p>• Discard <i>C </i>If Matches Regular Expression <i>R</i></p><p>• Retain <i>C </i>If Contains Dictionary <i>D </i>on Local Context <i>LC</i></p><p>• Discard <i>C </i>If Overlaps Concepts <i>C1,C2,... </i><i>ModifySpan: </i>The <i>ModifySpan </i>rule is used to expand or trim the span of a candidate annotation. For instance, an <i>Entity Boundary </i>customization to in­clude generational markers as part of a <i>Person </i>anno­tation can be implemented using a <i>ModifySpan </i>rule <i>&lt;Expand Person Using Dictionary 'generation.dict' on RightContext 2 Tokens&gt;.</i></p><p>Using <b><i>NERL </i></b>Tab. 2 shows how different types of rules are used during rule building and customiza-tions.   Since <i>BR </i>and <i>CS </i>involve identifying one<page local="6" global="1007"/></p><p>or more entity (sub)types from scratch, all types of rules are used. <i>CDD </i>and <i>CDSD </i>identify addi­tional instances for an existing type and therefore mainly rely on FD and CD rules. On the other hand, the customizations that modify existing instances <i>(</i><i>CebCatpaCq</i><i>) </i>require CR and CO rules.</p><p>Revisiting the example in Fig. 2, CR rules were used to implement a fairly sophisticated customiza­tion in a compact fashion, as follows. Rule CR<b>i </b>first identifies sports articles using a regular expres­sion based on the article title. Rule <i>CR2 </i>marks Locations within these articles as <i>LocationMaybeOrg </i>and Rule CR<b>3 </b>only retains those occurrences that match a city, county or state name (e.g., <i>'Seattle'). </i>Rule <i>C</i><i> </i><i>R4</i><i> </i>identifies occurrences that have a contex­tual clue confirming that the mention was to a lo­cation (e.g., 'In' or <i>'At'). </i>These occurrences are al­ready classified correctly as <i>Location </i>and do not need to be changed. Finally, <i>CR5 </i>adds the remaining am­biguous mentions to <i>Organization, </i>which would be deleted from <i>Location </i>by a subsequent core rule.</p></subsection></section><section number="4" title="Development and Customization of NER extractors with NERL"><p>Using <i>NERL, </i>we have developed CoreNER, a domain-independent generic library for multiple NER extraction tasks commonly encountered in practice, including <i>Person, Organization, Location, EmailAddress, PhoneNumber, URL, </i>and <i>DateTime, </i>but we shall focus the discussion on the first three tasks (see Tab. 3 for entity definitions), since they are the most challenging. In this section, we first overview the process of developing CoreNER (Sec. 4.1). We then describe how we have customized CoreNER for three different domains (Sec. 4.2), and present a quality comparison with best published results ob­tained with state-of-the-art machine learning tech­niques (Sec. 4.3). The tasks we consider are not re­stricted to documents in a particular language, but due to limited availability of non-English corpora and extractors for comparison, our evaluation uses English-language text. In Sec. 5 we shall elaborate on the difficulties encountered while building and customizing CoreNER using <i>NERL </i>and the lessons we learned in the process.</p><subsection number="4.1" title="Developing CoreNER"><p>We have built our domain independent CoreNER li­brary using a variety of formal and informal text (e.g. web pages, emails, blogs, etc.), and informa­tion from public data sources such as the US Census Bureau (Census, 2007) and Wikipedia.</p><p>The development process proceeded as follows. We first collected dictionaries for each entity type from different resources, followed by man­ual cleanup when needed to categorize entries col­lected into "strong" and "weak" dictionaries. For instance, we used US Census data to create several name dictionaries, placing ambiguous entries such as <i>'White' </i>and <i>'Price' </i>in a dictionary of <i>ambigu­ous last names, </i>while unambiguous entries such as <i>'Johnson' </i>and <i>'Williams' </i>went to the dictionary for <i>strict last names. </i>Second, we developed FD and CD rules to identify candidate entities based on the way named entities generally occur in text. E.g., <i>&lt;Salutation CapsWord CapsWord&gt; </i>and <i>&lt;FirstName</i> <i>LastName&gt; </i>for <i>Person, </i>and <i>&lt;CapsWord{1,3} OrgSuf­fix&gt; </i>and <i>&lt;CapsWord{1,2} Industry&gt; </i>for <i>Organization.</i><page local="7" global="1008"/><i> </i>We then added CR and CO rules to account for contextual clues and overlapping annotations (e.g., Delete <i>Person </i>annotations appearing within an <i>Orga­nization </i>annotation).</p><table caption="Table 2: Description of rules supported inNERL" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Rule</i></p></td><td class="cell"><p><i>Category</i></p></td><td class="cell"><p><i>Syntax</i></p></td><td class="cell"><p><i>Br</i></p></td><td class="cell"><p><i>Cdd</i></p></td><td class="cell"><p></p></td><td class="cell"><p><i>Cg</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><i>Cs</i></p></td><td class="cell"><p><i>Cdsd</i></p></td><td class="cell"><p><i>Ceb</i></p></td><td class="cell"><p><i>Cat a</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dictionary</p></td><td class="cell"><p>FD</p></td><td class="cell"><p><b>Evaluate Dictionaries </b><i>&lt; D1,D2,... &gt; </i>with flags?</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</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>Regex</p></td><td class="cell"><p>FD</p></td><td class="cell"><p><b>Evaluate Regular Expressions </b><i>&lt; R</i><i>i</i><i>,R2,... &gt; </i>with flags?</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</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>PoS</p></td><td class="cell"><p>FD</p></td><td class="cell"><p><b>Evaluate Part of Speech </b><i>&lt; P</i><i>i</i><i>,P2,... &gt; </i>with language <i>&lt; L &gt;</i><i>?</i></p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</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>DynamicDict</p></td><td class="cell"><p>FD</p></td><td class="cell"><p><b>Create Dynamic Dictionary </b>using <i>IntConcept </i>with flags?</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</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>Sequence</p></td><td class="cell"><p>CD</p></td><td class="cell"><p><i>IntConceptorString </i>multiplicity?</p><p><b>(followed by </b><i>IntConceptorString </i>multiplicity?)+</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</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>Filter</p></td><td class="cell"><p>CR</p></td><td class="cell"><p><b>Discard/Retain </b><i>IntConcept(As IntConcept)?</i></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></p></td><td class="cell"><p></p></td><td class="cell"><p><b>If SatisfiesPredicate </b>on LocalContext</p></td><td class="cell"><p>X</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ModifySpan</p></td><td class="cell"><p>CR</p></td><td class="cell"><p><b>Trim/Expand </b><i>IntConcept </i>Using Dictionary <i>&lt; D &gt; </i>on LocalContext</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Augment</p></td><td class="cell"><p>CO</p></td><td class="cell"><p><b>Augment </b><i>IntConcept </i>With <i>IntConcept</i></p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>X</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Consolidate</p></td><td class="cell"><p>CO</p></td><td class="cell"><p><b>Consolidate </b><i>IntConcept </i>using ConsolidationPolicy</p></td><td class="cell"><p>X</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>X</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></tr></table><p>The final CoreNER library consists of 104 FD (in­volving 68 dictionaries, 33 regexes and 3 dynamic dictionaries), 74 CD, 123 CR and 102 CO rules.</p></subsection><subsection number="4.2" title="Customizing CoreNER"><p>In this section we describe the process of customiz­ing our domain-independent CoreNER library for several different datasets. We start by discussing our choice of datasets to use for customization. <b>Datasets </b>For a rigorous evaluation of CoreNER's customizability, we require multiple datasets satis­fying the following criteria: First, the datasets must cover diverse sources and styles of text. Second, the set of the most challenging NER tasks <i>Person, Organization </i>and <i>Location </i>(see Tab. 3) considered in CoreNER should be applicable to them. Finally, they should be publicly available and preferably have associated published results, against which we can compare our experimental results. Towards this end, we chose the following public datasets.</p><p>• CoNLL03 (Tjong et al., 2003): a collection of Reuters news stories. Consists of formal text.</p><p>• Enron (Minkov et al., 2005): a collection of emails with meeting information from the Enron dataset. Contains predominantly informal text.</p><p>• ACE05 (NIST, 2005)<footnote anchor="1"/> a collection of broadcast news, broadcast conversations and newswire re­ports. Consists of both formal and informal text.</p><p><b>Customization Process </b>The goal of customization is to refine the original CoreNER (hence referred to as CoreNERorifl) in order to improve its extrac­tion quality on the training set (in terms of <i>Fß={) </i>for each dataset individually. In addition, a devel­opment set is available for CoNLL03 (referred to as CoNLL03dev), therefore we seek to improve <i>Fß=1 </i>on <i>CoNLL03dev </i>as well.</p><footnote label="1">The evaluation test set is not publicly available. Thus, fol­lowing the example of (Florian et al., 2006), the publicly avail­able set is split into a 80%/20% data split, with the last 20% of the data in chronological order selected as test data.</footnote><p>The customization process for each dataset pro­ceeded as follows. First, we studied the entity defini­tions and identified their differences when compared with the definitions used for CoreNERorifl (Tab. 3). We then added rules to account for the differences. For example, the definition of <i>Organization </i>in the CoNLL03 dataset contained a sports organization subtype, which was not considered when develop­ing CoreNER. Therefore, we have used public data sources (e.g., Wikipedia) to collect and curate dic­tionaries of major sports associations and sport clubs from around the world. The new dictionaries, along with regular expressions identifying sports teams in sports articles were used for defining FD and CD rules such as <i>CR</i><b>1 </b>(Fig. 2). Finally, CR and CO rules were added to filter invalid candidates and augment the <i>Organization </i>type with the new sports subtype (similar in spirit to rules <i>C R</i><b>4 </b>and <i>CR</i><b>5 </b>in Fig. 2).</p><p>In addition to the train and development sets, the customization process for CoNLL03 also involved unlabeled data from the corpus as follows. 1) Since data-driven rules <i>(CDD) </i>are often created based on a few instances from the training data, testing them on the unlabeled data helped fine tune the rules for pre­cision. 2) CoNLL03 is largely dominated by sports news, but only a subset of all sports were represented in the train dataset. Using the unlabeled data, we were able to add <i>CDD </i>rules for five additional types of sports, resulting in 0.31% improvement in <i>Fß=1</i>score on CoNLL03dev. 3) Unlabeled data was also useful in identifying domain-specific gazetteers by using simple extraction rules followed by a man­ual cleanup phase. For instance, for CoNLL03 we collected five gazetteers of organization and person names from the unlabeled data, resulting in 0.45% improvement in recall for CoNLL03dev.</p><p>The quality of the customization on the train col­lections is shown in Tab. 5. The total number of rules added during customization for each of the three domains is listed in Tab. 4. Notice how rules of all four types are used both in the development<page local="8" global="1009"/></p><table caption="Table 3: NER Task Types and Subtypes" 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>Type</b></p></td><td class="cell"><p><b>Subtypes</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PER</p></td><td class="cell"><p>individual</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LOC</p></td><td class="cell"><p>Address, Boundary, Land-Region-Natural, Region-General, Region-International, Airport, Buildings-Grounds, Path, Plant, Subarea-Facility, Continent, Country-or-District, Nation, Population-Center, State-or-Province</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ORG</p></td><td class="cell"><p>Commercial, Educational, Government, Media, Medical-Science Non-Governmental</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><p><b>Precision Recall </b><i>Fß=1</i></p><doubt alpha="39.3" length="28" tooSmall="False" monospace="0.0">CoreNERconH97.64 95.60 96.61</doubt><doubt alpha="41.4" length="29" tooSmall="False" monospace="0.0">CoreNERenron91.15 92.58 91.86</doubt><doubt alpha="37.0" length="27" tooSmall="False" monospace="0.0">CoreNERaCe92.32 91.22 91.77</doubt><table caption="Table 5: Quality of customization on train datasets (%)"></table><p>of the domain independent NER annotator, and dur­ing customizations for different domains. A total of 8 person weeks were spent on customizations, and we believe this effort is quite reasonable by rule-based extraction standards. For example, (Maynard et al., 2003) reports that customizing the ANNIE domain independent NER annotator developed us­ing the JAPE grammar-based rule language for the ACE05 dataset required 6 weeks (and subsequent tuning over the next 6 months), resulting in im­proving the quality to 82% for this dataset. As we shall discuss shortly, <i>with similar manual effort, we were able to achieve results outperforming state-of-art published results on three different datasets, in­cluding </i>ACE05. However, one may rightfully ar­gue that the process is still too lengthy impeding the widespread deployment of rule-based NER extrac­tion. We elaborate on the effort involved and the lessons learned in the process in Sec. 5.</p></subsection><subsection number="4.3" title="Evaluation of Customization"><p>We now present an experimental evaluation of the customizability of CoreNER. The main goals are to investigate: (i) the feasibility of CoreNER cus­tomization for different application domains; (ii) the effectiveness of such customization compared to state-of-the-art results; (iii) the impact of different types of customization (Tab. 1); and (iv) how often different categories of <i>NERL </i>rules (Tab. 2) are used during customization.</p><p>We measured the effectiveness of customization using the improvement in extraction quality of the customized CoreNER over CoreNERorifl. As shown in Tab. 6, customization significantly improved</p><p>Fß=1 score for CoreNERorifl across all datasets. <footnote anchor="2"/></p><p>We note that the extraction quality of CoreNERorifl was low on CoNLL03 and ACE05 mainly due to differences in entity type definitions. In particular, sports organizations, which occurred frequently in the CoNLL03 collection, were not considered during the development of CoreNERorifl, while in ACE05, <i>ORG </i>and <i>LOC </i>entity types were split into four entity types <i>(Organization, Location, Geo-Political Entity </i>and <i>Facility). </i>Customizations such as <i>C</i><i>S </i>and <i>C</i><i>G </i>address the above changes in named-entity type definition and substantially improve the extraction quality of CoreNERorifl. Next, we compare the extraction quality of the customized CoreNER for CoNLL03 and Enron<footnote anchor="3"/> with the corresponding best published results by (Florian et al., 2003) and (Minkov et al., 2005).<page local="9" global="1010"/> Tab. 7 shows that our customized CoreNER <i>outperforms the cor­responding state-of-the-art numbers for all the NER tasks </i>on both CoNLL03 and Enron. <footnote anchor="4"/> These results demonstrate that high-quality annotators can be built by customizing CoreNERorifl using <i>NERL, </i>with the final extraction quality matching that of state-of-the-art machine learning-based extractors.</p><footnote label="2">CoNLL03 d e ^ and CoNLL03 t es t correspond to the develop­ment and test sets for CoNLL03 respectively.</footnote><table caption="Table 4: Rules added during customization" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>FD</p></td><td class="cell"><p>CD</p></td><td class="cell"><p>CR</p></td><td class="cell"><p>CO</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CoreNERori9</b></p></td><td class="cell"><p>104</p></td><td class="cell"><p>74</p></td><td class="cell"><p>123</p></td><td class="cell"><p>102</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CoreNERconH</b></p></td><td class="cell"><p>179</p></td><td class="cell"><p>56</p></td><td class="cell"><p>284</p></td><td class="cell"><p>71</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CoreNER</b>enron</p></td><td class="cell"><p>13</p></td><td class="cell"><p>10</p></td><td class="cell"><p>9</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>CoreNERace</b></p></td><td class="cell"><p>83</p></td><td class="cell"><p>35</p></td><td class="cell"><p>117</p></td><td class="cell"><p>26</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></tr></table><table caption="Table 6: Overall Improvement due to Customization (%)" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Precision</b></p></td><td class="cell"><p><b>Recall</b></p></td><td class="cell"><p><i>Fß=i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CoreNERoriaCoNLL03de, CoreNERconn</b></p></td><td class="cell"><p>83.81</p><p>96.49</p></td><td class="cell"><p>61.77 93.76</p></td><td class="cell"><p>71.12 95.11</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Improvement</p></td><td class="cell"><p>12.68</p></td><td class="cell"><p>31.99</p></td><td class="cell"><p>13.99</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CoreNERoriaCoNLL03testCoreNERconn</b></p></td><td class="cell"><p>77.21</p><p>93.89</p></td><td class="cell"><p>54.87 89.75</p></td><td class="cell"><p>64.15 91.77</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Improvement</p></td><td class="cell"><p>15.68</p></td><td class="cell"><p>34.88</p></td><td class="cell"><p>27.62</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Enron</b></p></td><td class="cell"><p><b>CoreNERoriaCoreNER</b>enron</p></td><td class="cell"><p>85.06</p><p>88.41</p></td><td class="cell"><p>69.55 82.39</p></td><td class="cell"><p>76.53 85.29</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Improvement</p></td><td class="cell"><p>3.35</p></td><td class="cell"><p>12.84</p></td><td class="cell"><p>8.76</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>ACE2005</b></p></td><td class="cell"><p><b>CoreNERoriaCoreNER</b>aCe</p></td><td class="cell"><p>57.23</p><p>90.11</p></td><td class="cell"><p>57.41 87.82</p></td><td class="cell"><p>57.32 88.95</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Improvement</p></td><td class="cell"><p>32.88</p></td><td class="cell"><p>30.41</p></td><td class="cell"><p>31.63</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></tr></table><table caption="Table 7: Comparison with state-of-the-art results(%)" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Precision</b></p></td><td class="cell"><p><b>Recall</b></p></td><td class="cell"><p>Fß=1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LOC</p></td><td class="cell"><p><b>CoreNERc(mii</b>Florian</p></td><td class="cell"><p><b>97.17</b></p><p>96.59</p></td><td class="cell"><p>95.37</p><p><b>95.65</b></p></td><td class="cell"><p><b>96.26</b></p><p>96.12</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CoNLL03det, </b>ORG</p></td><td class="cell"><p><b>CoreNER</b>c0„jj Florian</p></td><td class="cell"><p><b>93.70</b></p><p>90.85</p></td><td class="cell"><p>88.67 <b>89.63</b></p></td><td class="cell"><p><b>91.11</b></p><p>90.24</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PER</p></td><td class="cell"><p><b>CoreNER</b>c0„» Florian</p></td><td class="cell"><p><b>97.79</b></p><p>96.08</p></td><td class="cell"><p>95.87 <b>97.12</b></p></td><td class="cell"><p><b>96.82</b></p><p>96.60</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LOC</p></td><td class="cell"><p><b>CoreNER</b>c0„jj Florian</p></td><td class="cell"><p><b>93.11</b></p><p>90.59</p></td><td class="cell"><p>91.61 <b>91.73</b></p></td><td class="cell"><p><b>92.35</b></p><p>91.15</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>CoNLL03testORG</b></p></td><td class="cell"><p><b>CoreNER</b>c0„jj Florian</p></td><td class="cell"><p><b>92.25</b></p><p>85.93</p></td><td class="cell"><p><b>85.31</b></p><p>83.44</p></td><td class="cell"><p><b>88.65</b></p><p>84.67</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PER</p></td><td class="cell"><p><b>CoreNER</b>c0„» Florian</p></td><td class="cell"><p><b>96.32</b></p><p>92.49</p></td><td class="cell"><p>92.39 <b>95.24</b></p></td><td class="cell"><p><b>94.32</b></p><p>93.85</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Enron </b>PER</p></td><td class="cell"><p><b>CoreNER</b>enron</p><p>Minkov</p></td><td class="cell"><p><b>87.27 </b>81.1</p></td><td class="cell"><p><b>81.82</b></p><p>74.9</p></td><td class="cell"><p><b>84.46</b></p><p>77.9</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></tr></table><p>It is worthwhile noting that the best pub­lished results for CoNLL03 (Florian et al., 2003) were obtained by using four different classifiers (Robust Risk Minimization, Maximum Entropy, Transformation-based learning, and Hidden Markov Model) and trying six different classifier combi­nation methods. Compared to the best published result obtained by combining the four classifiers, the individual classifiers performed between 2.5­7.6% worse for <i>Location, </i>5.6-15.2% for <i>Organiza­tion </i>and 3.9-14.0% for <i>Person<footnote anchor="5"/>. </i>Taking this into account, the extraction quality advantage of cus­tomized CoreNER is significant when compared with the individual state-of-the-art classifiers. <b>Impact of Customizations by Type. </b>While cus­tomizing CoreNER for the three datasets, all types of changes described in Sec. 2 were performed. We measured the impact of each type of customization by comparing the extraction quality of CoreNERoriflwith CoreNERorifl enhanced with all the customiza-tions of that type. From the results for CoNLL03 (Tab. 8), we make the following observations.</p><p>• Customizations that identify additional subtypes of entities (CS) or modify existing instances for multiple types <i>(</i><i>Cata</i><i>) </i>have significant impact. This effect can be especially high when the miss­ing subtype appears very often in the new do­main (E.g., over 50% of the organizations in CoNLL03 are sports teams).</p><p>• Data-driven customizations <i>(C</i><i>DD)</i><i> </i>rely on the aggregated impact of many rules. While individ­ual rules may have considerable impact on their</p><footnote label="3">We cannot meaningfully compare our results against previ­ously published results for ACE05, which is originally used for mention detection while CoreNER considers only NER tasks.</footnote><footnote label="4">For Enron the comparison is reported only for Person, as labeled data is available only for that type.</footnote><footnote label="5">Extended version obtained via private communication.</footnote><p>own (e.g., identifying all names that appear as part of a player list increases the recall of PER by over 6% on both CoNLL03dev and CoNLL03test), the overall impact relies on the accumulative ef­fect of many small improvements.</p><p>• Certain customizations <i>(Ceb </i>and <i>CDSD </i>) pro­vide smaller quality improvements, both per rule and in aggregate.</p></subsection></section><section number="5" title="Lessons Learned"><p>Our experimental evaluation shows that rule-based annotators can achieve quality comparable to that of state-of-the-art machine learning techniques. In this section we discuss three important lessons learned regarding the human effort involved in developing such rule-based extractors.</p><p><b>Usefulness of <i>NERL </i></b>We found <i>NERL </i>very helpful in that it provided a higher-level abstraction catered specifically towards NER tasks, thus hiding the com­plexity inherent in a general-purpose IE rule lan­guage. In doing so, <i>NERL </i>restricts the large space of operations possible within a general-purpose lan­guage to the small number of predefined "templates" listed in Tab.<page local="10" global="1011"/> 2. (We have shown empirically that our choice of <i>NERL </i>rules is sufficient to achieve high accuracy for NER tasks.) Therefore, <i>NERL </i>simpli­fies development and maintenance of complex NER extractors, since one does not need to worry about multiple AQL statements or JAPE grammar phases for implementing a single conceptual operation such as filtering (see Fig. 3).</p><table caption="Table 8: Impact by customization type onCoNLL03(%)" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p># rules added</p></td><td class="cell"><p></p></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p><i>F</i><i>ß</i><i>=i</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>CEB</i></p></td><td class="cell"><p>3</p></td><td class="cell"><p><i>CoNLL03dev</i></p></td><td class="cell"><p>LOC ORG PER</p></td><td class="cell"><p>Î0.21 Î1.35</p></td><td class="cell"><p><i>Î</i>0.22</p><p><i>Î</i>0.38</p></td><td class="cell"><p><i>Î</i>0.22 <i>Î</i>0.59</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>CoNLL03teSt</p></td><td class="cell"><p>LOC ORG PER</p></td><td class="cell"><p>Î0.30 Î0.54</p></td><td class="cell"><p><i>Î</i>0.36 <i>Î</i>0.12</p></td><td class="cell"><p><i>Î</i>0.33 <i>Î</i>0.20</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>CATA</i></p></td><td class="cell"><p>5</p></td><td class="cell"><p>CoNLL03dev</p></td><td class="cell"><p>LOC</p><p>ORG PER</p></td><td class="cell"><p>Î7.18 Î1.37 40.04</p></td><td class="cell"><p><i>4</i>0.87 <i>Î</i>10.67</p></td><td class="cell"><p><i>Î</i>3.19 <i>Î</i>9.04 <i>4</i>0.01</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>CoNLL03teSt</p></td><td class="cell"><p>LOC ORG PER</p></td><td class="cell"><p>Î7.73 Î1.37</p></td><td class="cell"><p><i>4</i>1.20 <i>Î</i>11.62</p></td><td class="cell"><p><i>Î</i>3.77 <i>Î</i>14.18</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Cdsd</i></p></td><td class="cell"><p>2</p></td><td class="cell"><p>CoNLL03dev</p></td><td class="cell"><p>LOC</p><p>ORG PER</p></td><td class="cell"><p>Î0.85</p><p><i>Î</i>1.00</p></td><td class="cell"><p><i>4</i>0.07</p></td><td class="cell"><p><i>Î</i>0.45 <i>Î</i>0.01</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>CoNLL03teSt</p></td><td class="cell"><p>LOC ORG PER</p></td><td class="cell"><p>Î0.04</p><p><i>Î</i>0.64</p></td><td class="cell"><p><i>4</i>0.12</p></td><td class="cell"><p><i>4</i>0.12 <i>Î</i>0.04</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Cs</i></p></td><td class="cell"><p>149</p></td><td class="cell"><p>CoNLL03dev</p></td><td class="cell"><p>LOC</p><p>ORG PER</p></td><td class="cell"><p><i>Î</i>1.63</p><p><i>Î</i>11.44</p><p><i>Î</i>0.13</p></td><td class="cell"><p><i>4</i>0.21 <i>Î</i>40.79</p></td><td class="cell"><p><i>Î</i>0.85</p><p><i>Î</i>39.73</p><p><i>Î</i>0.05</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>CoNLL03teSt</p></td><td class="cell"><p>LOC ORG PER</p></td><td class="cell"><p>Î3.71</p><p><i>Î</i>9.2 <i>Î</i>0.58</p></td><td class="cell"><p><i>4</i>0.18 <i>Î</i>36.24</p></td><td class="cell"><p><i>Î</i>2.05</p><p><i>Î</i>37.96</p><p><i>Î</i>0.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>431</p></td><td class="cell"><p>CoNLL03dev</p></td><td class="cell"><p>LOC</p><p>ORG PER</p></td><td class="cell"><p>40.94</p><p><i>Î</i>9.63 <i>Î</i>6.12</p></td><td class="cell"><p><i>Î</i>10.18 <i>Î</i>11.93 <i>Î</i>28.5</p></td><td class="cell"><p><i>Î</i>3.99 <i>Î</i>14.71</p><p>Î18.84</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>CoNLL03teSt</p></td><td class="cell"><p>LOC ORG PER</p></td><td class="cell"><p>41.66 Î8.84</p><p><i>Î</i>9.15</p></td><td class="cell"><p><i>Î</i>6.72</p><p><i>Î</i>12.40</p><p><i>Î</i>31.48</p></td><td class="cell"><p><i>Î</i>1.64</p><p><i>Î</i>15.90</p><p><i>Î</i>22.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></tr></table><p><b>Is <i>NERL </i>Sufficient? </b>Even using <i>NERL, </i>building and customizing NER rules remains a labor inten­sive process. Consider the example of designing the filter rule <i>CR4 </i>from Fig. 3. First, one must exam­ine multiple false positive <i>Location </i>entities to even decide that a filter rule is appropriate. Second, one must understand how those false positives were pro­duced, and decide accordingly on the particular con­cept to be used as filter <i>(LocationMaybeOrg </i>in this case). Finally, one needs to decide how to build the filter. Tab. 9 lists all the attributes that need to be specified for a <i>Filter </i>rule, along with examples of the search space for each rule attribute.</p><p>This search space problem is not unique to filter rules. In fact, most rules in Tab. 2 have two or more rule attributes. Therefore, designing an individual <i>NERL </i>rule remains a time-consuming "trial and er­ror" process, in which multiple "promising" combi­nations are implemented and evaluated individually before deciding on a satisfactory final rule.</p><p><b>Tooling for <i>NERL </i></b>The fact that <i>NERL </i>is a high­level language exposing a restricted set of operators can be exploited to reduce the human effort involved in building NER annotators by enabling the follow­ing tools:</p><p><i><u>Annotation Provenance</u> </i>Tools tracking prove­nance (Cheney et al., 2009) for <i>NERL </i>rules can help in explaining exactly which sequence of rules is responsible for producing a given false positive, thereby enabling one to quickly identify "misbe­haved" rules. For instance, one can quickly narrow down the choices for the location where the filter rule <i>CR4 </i>(Fig. 2) should be applied based on the provenance of the false positives. Similarly, tools for explaining false positives in the spirit of (Huang et al., 2008), are also conceivable. <i>Automatic Parameter Learning </i>The most time-consuming part in building a rule often is to decide the value of its parameters, especially for FD and CR rules. For instance, while defining a CR rule, one has to choose values for the Predicate parame­ter and the Context parameter (see Tab. 9). Some parameter values can be learned - for example, dic­tionaries (Riloff, 1993) and regular expressions (Li et al., 2008).</p><p><i>Automatic Rule Refinement </i>Tools automatically suggesting entire customization rules to a complex <i>NERL </i>program in the spirit of (Liu et al., 2010) can further reduce human effort in building NER anno-tators. With the help of such tools, one only needs to consider good candidate <i>NERL </i>rules suggested by the system without having to go through the conventional manual "trial and error" process.</p></section><section number="6" title="Conclusion"><p>In this paper, we described <i>NERL, </i>a high-level rule language for building and customizing NER annota-tors. We demonstrated that a complex NER annota-tor built using <i>NERL </i>can be effectively customized for different domains, achieving extraction quality superior to the state-of-the-art numbers. However, our experience also indicates that the process of de­signing the rules themselves is still manual and time-consuming. Finally, we discuss how <i>NERL </i>opens up several interesting research directions towards the development of sophisticated tooling for automating some of the rule development tasks.</p><table caption="Table 9: Search space explored while adding aFilterrule" class="main" frame="box" rules="all" border="1" regular="True"><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>Rule Attributes</b></p></td><td class="cell"><p><b>Examples of Search Space</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Location</p></td><td class="cell"><p>Intermediate Concept to filter</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Predicate Type</p></td><td class="cell"><p>Matches Regex, Contains Dictionary, <i>...</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Predicate Parameter</p></td><td class="cell"><p>Regular Expressions, Dictionary Entries, <i>...</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Context Type</p></td><td class="cell"><p>Entity text, Left or Right context</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Context Parameter</p></td><td class="cell"><p><i>k </i>tokens, <i>l </i>characters</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></section><references><p>D. E. Appelt and B. Onyshkevych. 1998. The common pattern specification language. In <i>TIPSTER workshop.</i></p><p>A. Arnold, R. Nallapati, and W. W. Cohen. 2008.</p><p>Exploiting feature hierarchy for transfer learning in</p><p>named entity recognition. In <i>ACL. </i>D. M. Bikel, R. L. Schwartz, and R. M. Weischedel.</p><p>1999. An algorithm that learns what's in a name. In adaptation with structural correspondence learning. In <i>EMNLP.</i><i></i></p><doubt alpha="62.5" length="96" tooSmall="False" monospace="0.0">Machine Learning,volume 34, pages 211-231. J. Blitzer, R. Mcdonald, and F. Pereira. 2006. Domain</doubt><page local="11" global="1012"/><p>B. Boguraev. 2003. Annotation-based finite state pro­cessing in a large-scale nlp arhitecture. In <i>RANLP.</i></p><p>Census. 2007. U.S. Census Bureau. http://www.census.gov.</p><p>J. Cheney, L. Chiticariu, and W. Tan. 2009. Provenance in databases: Why, how, and where. <i>Foundations and Trends in Databases, </i>1(4):379—474.</p><p>L. Chiticariu, R. Krishnamurthy, Y. Li, S. Raghavan, F. Reiss, and S. Vaithyanathan. 2010. SystemT: An algebraic approach to declarative information extrac­tion. In ACL.</p><p>H. Cunningham, D. Maynard, and V. Tablan. 2000. JAPE: a Java Annotation Patterns Engine (Second Edi­tion). Research Memorandum CS-00-10, Department of Computer Science, University of Sheffield.</p><p>W. Drozdzynski, H. Krieger, J. Piskorski, U. Schafer, and F. Xu. 2004. Shallow processing with unification and typed feature structures — foundations and applica­tions. <i>Kunstliche Intelligenz, </i>1:17-23.</p><p>O. Etzioni, M. Cafarella, D. Downey, A. Popescu, T. Shaked, S. Soderland, D. Weld, and A. Yates. 2005. Unsupervised named-entity extraction from the web: an experimental study. <i>Artif. Intell., </i>165(1):91-134.</p><p>J. R. Finkel and C. D. Manning. 2009. Nested named entity recognition. In <i>EMNLP.</i></p><p>R. Florian, A. Ittycheriah, H. Jing, and T. Zhang. 2003. Named entity recognition through classifier combina­tion. In <i>CoNLL.</i></p><doubt alpha="66.1" length="56" tooSmall="False" monospace="0.0">R. Florian, H. Hassan, A. Ittycheriah, H. Jing, N. Kamb-</doubt><p>hatla, X. Luo, N. Nicolov, and S. Roukos. 2004. A statistical model for multilingual entity detection and tracking. In <i>NAACL-HLT.</i></p><p>R. Florian, H. Jing, N. Kambhatla, and I. Zitouni. 2006. Factorizing complex models: A case study in mention detection. In <i>ACL.</i></p><p>D. Gruhl, M. Nagarajan, J. Pieper, C. Robson, and A. Sheth. 2009. Context and domain knowledge en­hanced entity spotting in informal text. In <i>ISWC.</i></p><p>J. Huang, G. Zweig, and M. Padmanabhan. 2001. Infor­mation extraction from voicemail. In <i>ACL.</i></p><p>Jiansheng Huang, Ting Chen, AnHai Doan, and Jeffrey F. Naughton. 2008. On the Provenance of Non-Answers to Queries over Extracted Data. <i>PVLDB, </i>1(1):736747.</p><p>M. Jansche and S. Abney. 2002. Information extraction from voicemail transcripts. In <i>EMNLP.</i></p><p>J. Jiang and C. Zhai. 2006. Exploiting domain structure for named entity recognition. In <i>NAACL-HLT.</i></p><p>SaulKripke. 1982. <i>Naming and Necessity. </i>Harvard Uni­versity Press.</p><p>G. R. Krupka and K. Hausman. 2001. IsoQuest Inc.: De­scription of the NetOwlTM extractor system as used for MUC-7. In <i>MUC-7.</i></p><p>Y. Li, R. Krishnamurthy, S. Raghavan, S. Vaithyanathan, and H. V. Jagadish. 2008. Regular expression learning for information extraction. In <i>EMNLP.</i></p><p>B. Liu, L. Chiticariu, V. Chu, H. V. Jagadish, and F. Reiss. 2010.   Automatic Rule Refinement for Information</p><p>Extraction. <i>PVLDB, </i>3.</p><p>D. Maynard, K. Bontcheva, and H. Cunningham. 2003. Towards a semantic extraction of named entities. In <i>RANLP.</i><i></i></p><p>A. McCallum and W. Li. 2003. Early results for named entity recognition with conditional random fields, fea­ture induction and web-enhanced lexicons. In <i>CoNLL.</i></p><p>E. Minkov, R. C. Wang, and W. W. Cohen. 2005. Ex­tracting personal names from emails: Applying named entity recognition to informal text. In <i>HLT/EMNLP.</i></p><p>D. Nadeau and S. Sekine. 2007. A survey of named entity recognition and classification. <i>Linguisticae In­vestigations, </i>30(1):3-26.</p><p>NIST. 2005. The ace evaluation plan.</p><p>F. J. Och O. Bender and H. Ney. 2003. Maximum en­tropy models for named entity recognition. In <i>CoNLL.</i></p><p>G. Petasis, F. Vichot, F. Wolinski, G. Paliouras, V. Karkaletsis, and C. Spyropoulos. 2001. Using machine learning to maintain rule-based named-entity recognition and classification systems. In ACL.</p><p>T. Poibeau and L. Kosseim. 2001. Proper name ex­traction from non-journalistic texts. In <i>Computational Linguistics in the Netherlands, </i>pages 144-157.</p><p>E. Riloff. 1993. Automatically constructing a dictionary for information extraction tasks. In <i>KDD.</i></p><p>S. Sekine and C. Nobata. 2004. Definition, dictionaries and tagger for extended named entity hierarchy. In <i>Conference on Language Resources and Evaluation.</i></p><p>W. Shen, A. Doan, J. F. Naughton, and R. Ramakrishnan. 2007. Declarative information extraction using data­log with embedded extraction predicates. In <i>VLDB.</i></p><p>S. Singh, D. Hillard, andC. Leggeteer. 2010. Minimally-supervised extraction of entities from text advertise­ments. In <i>NAACL-HLT.</i></p><p>P. Siniakov. 2010. <i>GROPUS - an adaptive rule-based al­gorithm for information extraction. </i>Ph.D. thesis, Freie Universitat Berlin.</p><p>R. Srihari, C. Niu, and W. Li. 2001. A hybrid approach for named entity and sub-type tagging. In <i>ANLP.</i></p><p>E. F. Tjong, K. Sang, and F. De Meulder. 2003. Intro­duction to the CoNLL-2003 shared task: Language-independent named entity recognition. In <i>CoNLL.</i></p><p>D. Wu, W. S. Lee, N. Ye, and H. L. Chieu. 2009. Domain adaptive bootstrapping for named entity recognition.</p><p>In <i>EMNLP.</i></p><p>J. Zhu, V. Uren, and E. Motta. 2005. Espotter: Adaptive named entity recognition for web browsing. In <i>WM.</i></p></references></body></article>