<?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="1503"/><title>Character-level Analysis of Semi-Structured Documents for Set Expansion</title><author surname="Wang" givenname="Richard C."><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Cohen" givenname="William W."><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author></firstpageheader><frontmatter><p><b>Character-level Analysis of Semi-Structured Documents for Set Expansion</b></p><p><b>Richard C. Wang</b></p><p>Language Technologies Institute Carnegie Mellon University</p><p>rcwang@cs.emu.edu</p><p><b>William W Cohen</b></p><p>Machine Learning Department Carnegie Mellon University</p><p>wcohen@cs.emu.edu</p></frontmatter><abstract>Set expansion refers to expanding a par­tial set of "seed" objects into a more com­plete set. One system that does set ex­pansion is SEAL (Set Expander for Any Language), which expands entities auto­matically by utilizing resources from the Web in a language-independent fashion. In this paper, we illustrated in detail the construction of character-level wrappers for set expansion implemented in SEAL. We also evaluated several kinds of wrap­pers for set expansion and showed that character-based wrappers perform better than HTML-based wrappers. In addition, we demonstrated a technique that extends SEAL to learn binary relational concepts (e.g., <i>"x </i>is the mayor of the city <i>y") </i>from only two seeds. We also show that the extended SEAL has good performance on our evaluation datasets, which includes English and Chinese, thus demonstrating language-independence. </abstract></header><body><section number="1" title="Introduction"><p>SEAL<footnote anchor="1"/> (Set Expander for Any Language) is a set expansions system that accepts input ele­ments (seeds) of some target set <i>S </i>and automat­ically finds other probable elements of <i>S </i>in semi-structured documents such as web pages. SEAL is a research system that has shown good perfor­mance in previously published results (Wang and Cohen, 2007). By using only three seeds and top one hundred documents returned by Google, SEAL achieved 90% in mean average precision (MAP), averaged over 36 datasets from three lan­guages: English, Chinese, and lapanese. Un­like other published research work (Etzioni et al., 2005), SEAL focuses on finding small closed sets</p><p><b>!</b>http://rcwang.com/seal</p><p>of items (e.g., Disney movies) rather than large and more open sets (e.g., scientists).</p><p>In this paper, we explore the impact on perfor­mance of one of the innovations in SEAL, specif­ically, the use of character-level techniques to de­tect candidate regular structures, or <i>wrappers, </i>in web pages. Although some early systems for web-page analysis induce rules at character-level (e.g., such as WIEN (Kushmerick et al., 1997) and DIPRE (Brin, 1998)), most recent approaches for set expansion have used either tokenized and/or parsed free-text (Carlson et al., 2009; Talukdar et al., 2006; Snow et al., 2006; Pantel and Pennac-chiotti, 2006), or have incorporated heuristics for exploiting HTML structures that are likely to en­code lists and fables (Nadeau et al., 2006; Etzioni et al., 2005).</p><p>In this paper, we experimentally evaluate SEAL'S performance under two settings: 1) us­ing the character-level page analysis techniques of the original SEAL, and 2) using page analy­sis techniques constrained to identify only HTML-related wrappers. Our conjecture is that the less constrained character-level methods will produce more candidate wrappers than HTML-based tech­niques. We also conjecture that a larger number of candidate wrappers will lead to better performance overall, due to SEAL'S robust methods for ranking candidate wrappers.</p><p>The experiments in this paper largely vali­date this conjecture. We show that the HTML-restricted version of SEAL performs less well, losing 13 points in MAP on a dozen Chinese-language benchmark problems, 8 points in MAP on a dozen English-language problems, and 2 points in MAP on a dozen lapanese-language problems.</p><p>SEAL currently only handles unary relation­ships (e.g., <i>"x" </i>is a mayor). In this paper, we show that SEAL's character-level analysis tech­niques can, like HTML-based methods, be read-</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1503</doubt><p><i>Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, </i>pages 1503-1512, Singapore, 6-7 August 2009. ©2009 ACL and AFNLP<page local="2" global="1504"/></p><p>ily extended to handle binary relationships. We then demonstrate that this extension of SEAL can learn binary concepts (e.g., <i>"x </i>is the mayor of the city <i>y") </i>from a small number of seeds, and show that, as with unary relationships, MAP per­formance is 26 points lower when wrappers are restricted to be HTML-related. Furthermore, we also illustrate that the learning of binary concepts can be bootstrapped to improve its performance.</p><p>Section 2.1 explains how SEAL constructs wrappers and rank candidate items for unary re­lations. Section 3 describes the experiments and results for unary relations. Section 4 presents the method for extending SEAL to handle binary re­lationships, as well as their experimental results. Related work is discussed in Section 5, and the paper concludes in Section 6.</p><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">2 SEAL</doubt><subsection number="2.1" title="Identifying Wrappers for Unary Relations"><p>When SEAL performs set expansion, it accepts a small number of <i>seeds </i>from the user (e.g., "Ford", "Nissan", and "Toyota"). It then uses a web search engine to retrieve some documents that contain these instances, and then analyzes these documents to find <i>candidate wrappers </i>(i.e., regu­lar structures on a page that contain the seed in­stances). Strings that are extracted by a candidate wrapper (but are not equivalent to any seed) are called <i>candidate instances. </i>SEAL then statisti­cally ranks the candidate instances (and wrappers), using the techniques outlined below, and outputs a ranked list of instances to the user.</p><p>One key step in this process is identifying can­didate wrappers. In SEAL, a candidate wrapper is defined by a pair of left and right character strings, £ and <i>r. </i>A wrapper "extracts" items from a partic­ular document by locating all strings in the docu­ment that are bracketed by the wrapper's left and right strings, but do not contain either of the two strings. In SEAL, wrappers are always learned from, and applied to, a single document.</p><p>Table 1 illustrates some candidate wrappers learned by SEAL. (Here, a wrapper is written as <i>at, </i>with the [... ] to be filled by an extracted string.) Notice that the instances extracted by wrappers can and do appear in surprising places, such as embedded in URLs or in HTML tag at­tributes. Our experience with these character-based wrappers lead us to conjecture that existing heuristics for identifying structure in HTML are fundamentally limited, in that many potentially useful structures will not be identified by analyz­ing HTML structure only.</p><p>SEAL uses these rules to find wrappers. Each candidate wrapper <i>£, r </i>is a maximally long pair of strings that bracket at least one occurrence of ev­ery seed in a document: in other words, for each pair <i>£,r,the </i>set of strings <i>C </i>extracted by <i>£, r </i>has the properties that:</p><p>1. For every seed <i>s, </i>there exists some c e <i>C </i>that is equivalent to <i>s; </i>and</p><p>2. There are no strings <i>£', r' </i>that satisfy property (1) above such that £ is a proper suffix of £' and <i>r </i>is a proper prefix of <i>r'.</i></p><p>SEAL's wrappers can be found quite efficiently. The algorithm we use has been described previ­ously (Wang and Cohen, 2007), but will be ex­plained again here for completeness. As an ex­ample, below shows a mock document, written in an unknown mark-up language, that has the seeds: Ford, Nissan, and Toyota located (and boldfaced). There are two other car makers hidden inside this document (can you spot them?). In this section, we will show you how to automatically construct wrappers that reveal them.</p><p><b>GtpKxHnlsSaNxjHJglekuDialcLBxKHforDxkrpW NaCMwAAHOFoRduohdEXocUvaGKxHaCuRAxjHjnOx oTOyOTazxKHAUdlxkrOyQKxHToYotAxjHCRdmLxa puRAPprtqOVKxHfoRdxjHaJAScRFrlaFoRDofwNL WxKHtOYotaxkrHxQKlacXIGEKtxKHNisSanxkrEq</b></p><p>Given a set of seeds and a semi-structured doc­ument, the wrapper construction algorithm starts by locating all strings equivalent to a seed in the document; these strings are called <i>seed instances </i>below. (In SEAL, we always use case-insensitive string matching, so a string is "equivalent to" any case variant of itself.) The algorithm then inserts all the instances into a list and assigns a unique <i>id </i>to each of them by its index in the list (i.e., the <i>id </i>of an instance is its position in the list.)</p><p>For every seed instance in the document, its immediate left character string (starting from the first character of the document) and right charac­ter string (ending at the last character of the docu­ment) are extracted and inserted into a <i>left-context </i>trie and a <i>right-context </i>trie respectively, where the left context is inserted in reversed character or­der. (Here, we implemented a compact trie called<page local="3" global="1505"/></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1504</doubt><p>URL: http ://www.shopcarparts.com/</p><doubt alpha="50.0" length="60" tooSmall="False" monospace="0.0">Wrapper:.html" CLASS = "shopcp"&gt; [ . . . ]    Parts&lt;/A&gt; &lt;br&gt;</doubt><p>Content: acura, audi, bmw, buick, Cadillac, Chevrolet, chevy, Chrysler, daewoo, daihatsu, dodge, eagle, ford, ...</p><p>URL: http ://www.allautoreviews.com/</p><doubt alpha="58.7" length="46" tooSmall="False" monospace="0.0">Wrapper:&lt;/axbr&gt; &lt;a href ="auto_reviews/ [...]/</doubt><p>Content: acura, audi, bmw, buick, Cadillac, Chevrolet, Chrysler, dodge, ford, gmc, honda, hyundai, inflniti, isuzu, ...</p><p>URL: http://www.hertrichs.com/</p><doubt alpha="56.6" length="53" tooSmall="False" monospace="0.0">Wrapper:&lt;li class="franchise  [...]"&gt; &lt;h4xa href="#"&gt;</doubt><p>Content: buick, Chevrolet, Chrysler, dodge, ford, gmc, isuzu, jeep, lincoln, mazda, mercury, nissan, pontiac, scion, ...</p><doubt alpha="55.1" length="89" tooSmall="False" monospace="0.0">URL:http : / / www .met a cafe . com/watch/18 72 75 9/ 2 00 9_nissan_maxima_perf ormance/</doubt><doubt alpha="48.9" length="47" tooSmall="False" monospace="0.0">Wrapper:videos"&gt; [ . . . ] &lt;/a&gt; &lt;a href="/tags/</doubt><p>Content: avalon, cars, carscom, driving, ford, maxima, nissan, performance, speed, toyota</p><p>URL: http ://www.worldstyling.com/</p><doubt alpha="64.8" length="54" tooSmall="False" monospace="0.0">Wrapper:'&gt;[...]    Accessories&lt;/option&gt;&lt;option value='</doubt><p>Content: chevy, ford, isuzu, mitsubishi, nissan, pickup, stainless steel, suv, toyota</p><table caption="Table 1: Examples of wrappers constructed from web pages given the seeds: Ford, Nissan, Toyota."></table><p>Patricia trie where every node stores a substring.) Every node in the left-context trie maintains a list of <i>ids </i>for keeping track of the seed instances that follow the string associated with that node. Same thing applies to the right-context trie symmetri­cally. Figure 1 shows the two context tries and the list of seed instances when provided the mock document with the seeds: Ford, Nissan, and Toy­ota.</p><p>Provided that the left and right context tries are populated with all the contextual strings of ev­ery seed instance, the algorithm then finds maxi­mally long contextual strings that bracket at least one seed instance of every seed. The pseudo-code for finding these strings for building wrappers is illustrated in Table 2, where <i>Seeds </i>is the set of input seeds and <i>I </i>is the minimum length of the strings. We observed that longer strings produce higher precision but lower recall. This is an in­teresting parameter that is worth exploring, but for this paper, we consider and use only a min­imum length of one throughout the experiments. The basic idea behind the pseudo-code is to first find all the longest possible strings from one trie given some constraints, then for every such string <i>s, </i>find the longest possible string <i>s'</i><i> </i>from another trie such that <i>s</i><i> </i>and <i>s'</i><i> </i>bracket at least one occur­rence of every given seed in a document.</p><p>The wrappers constructed as well as the items extracted given the mock document and the exam­ple seeds are shown below. Notice that Audi and Acura are uncovered (did you spot them?).</p><doubt alpha="52.0" length="25" tooSmall="False" monospace="0.0">Wrapper:xKH [ . . . ] xkr</doubt><p>Content: <b>audi, </b>ford, nissan, toyota</p><doubt alpha="50.0" length="26" tooSmall="False" monospace="0.0">Wrapper:KxH [ . . . ] x jH</doubt><p>Content: <b>acura, </b>ford, nissan, toyota <b>Wrappers MakeWrappers(Trie £, Trie </b>r)</p><p>Return Wraps(7, r) U Wraps(r, <i>I)</i></p><p>Wrappers Wraps(Trie <i>t\, </i>Trie <i>t^) </i>For each <i>n\ </i>e TopNodes(ii, £)</p><p>For each «2 € BottomNodes(i2, ni) For each <i>n\ </i>e BottomNodes(ii, n2)</p><p>Construct a new Wrapper(Text(ni), Text(«,2)) Return a union of all wrappers constructed</p><p>Nodes BottomNodes(Trie <i>t\, </i>Node <i>n') </i>Find node ngti such that:</p><doubt alpha="64.9" length="37" tooSmall="False" monospace="0.0">(1) NumCommonSeeds(n,n')==\Seeds\,and</doubt><p>(2) All children nodes of <i>n </i>(if exist) fail on (1) Return a union of all nodes found</p><p>Nodes TopNodes(Trie <i>t, </i>int £) Find node net such that:</p><doubt alpha="56.0" length="25" tooSmall="False" monospace="0.0">(1)Texl(n).length &gt; £,and</doubt><p>(2) Parent node of <i>n </i>(if exist) fails on (1) Return a union of all nodes found</p><p>String Text(Node <i>n) </i>Return the textual string represented by the path from root to <i>n </i>in the trie containing <i>n</i></p><p>Integer NumCommonSeeds(Node m, Node <i>n^) </i>For each index <i>i </i>e Intersect(ni, <i>n^):</i></p><p>Find the seed at index <i>i </i>of seed instance list Return the size of the union of all seeds found</p><p>Integers Intersect(Node <i>n\, </i>Node n2) Return <i>ni.indexes </i>n «2<i>-indexes</i></p><table caption="Table 2: Pseudo-code for constructing wrappers."></table><p>Table 1 shows examples of wrappers con­structed from real web documents. We have also observed items extracted from plain text (.txt), comma/fab-separated text (.csv/.tsv), latex (.tex), and even Word documents (.doc) of which the wrappers have binary character strings. These ob­servations support our claim that the algorithm is independent of mark-up language. In our experi­mental results, we will show that it is independent of human language as well.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1505</doubt><page local="4" global="1506"/><p><u>Left Context Trie</u></p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">Seeds</doubt><doubt alpha="40.0" length="10" tooSmall="False" monospace="0.0">oxCn...{2}</doubt><doubt alpha="0.0" length="13" tooSmall="False" monospace="0.0">{0,1,3,4,5,7}</doubt><doubt alpha="33.3" length="12" tooSmall="False" monospace="0.0">"Biel..."{5}</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">Jgls(0}</doubt><p><u>Right Context Trie</u></p><p>Figure 1 : The context tries and the seed instance list constructed given the mock document presented in Section 2.1 and the seeds: Ford, Nissan and Toyota.</p></subsection><subsection number="2.2" title="Ranking Wrappers and Candidate Instances"><p>In previous work (Wang and Cohen, 2007), we presented a graph-walk based technique that is effective for ranking sets and wrappers. This model encapsulates the relations between docu­ments, wrappers, and extracted instances (entity mentions). Similarly, our graph also consists of a set of nodes and a set of labeled directed edges. Figure 2 shows an example graph where each node <i>di </i>represents a document, <i>Wi </i>a wrapper, and <i>rrii </i>an extracted entity mention. A directed edge con­nects a node <i>di </i>to a <i>Wi </i>if <i>di </i>contains <i>Wi, </i>a <i>Wi </i>to a <i>rrii </i>if <i>Wi </i>extracts <i>rrii, </i>and a <i>di </i>to a <i>rrii </i>if <i>di </i>contains <i>rrii. </i>Although not shown in the figure, every edge from node <i>x to y </i>actually has an inverse relation edge from node <i>ytox </i>(e.g., <i>rrii </i>is extracted by <i>Wi)</i><i> </i>to ensure that the graph is cyclic.</p><p>We will use letters such as <i>x, y, </i>and <i>z </i>to denote nodes, and <i>x </i><b>—^ </b><i>y </i>to denote an edge from <i>x </i>to <i>y </i>with labeled relation <i>r. </i>Each node represents an object (document, wrapper, or mention), and each edge <i>x </i><b>—^ </b><i>y </i>asserts that a binary relation <i>r(x,y) </i>holds. We want to find entity mention nodes that are <i>similar </i>to the seed nodes. We define the sim­ilarity between two nodes by random walk with restart (Tong et al., 2006). In this algorithm, to walk away from a source node <i>x, </i>one first chooses an edge relation <i>r; </i>then given <i>r, </i>one picks a target node <i>y </i>such that <i>x </i><b>—^ </b><i>y. </i>When given a source node <i>x, </i>we assume that the probability of picking an edge relation <i>r </i>is uniformly distributed among the set of all <i>r, </i>where there exist a target node <i>y </i>such that <i>x </i><b>—^ </b><i>y. </i>More specifically,</p><figure caption="Figure 2: Example graph built by Random Walk."></figure><doubt alpha="15.8" length="19" tooSmall="False" monospace="0.0">P{r\x) =------- (1)</doubt><doubt alpha="33.3" length="15" tooSmall="False" monospace="0.0">\r : dy x —► y\</doubt><p>We also assume that once an edge relation <i>r </i>is chosen, a target node <i>y </i>is picked uniformly from the set of all <i>y </i>such that <i>x </i><b>—^ </b><i>y. </i>More specifi­cally,</p><doubt alpha="23.8" length="21" tooSmall="False" monospace="0.0">P{y\r,x) = --—r-- (2)</doubt><doubt alpha="37.5" length="8" tooSmall="False" monospace="0.0">\y:x—&gt;y\</doubt><p>In order to perform random walk, we will build a transition matrix <i>M</i><i> </i>where each entry at <i>(x,</i><i> </i><i>y)</i><i> </i>represents the probability of traveling one step from a source node a; to a target node <i>y, </i>or more specifically,</p><doubt alpha="52.2" length="23" tooSmall="False" monospace="0.0">Mxy=YJP{r\x)P{y\r,x)(3)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">r</doubt><p>We will also define a state vector <i>vt </i>which rep­resents the probability at each node after iterating through the entire graph <i>t </i>times, where one itera­tion means to walk one step away from every node. The state vector at <i>t </i>+ 1 iteration is defined as:</p><doubt alpha="37.5" length="24" tooSmall="False" monospace="0.0">vt+i = Xvo+ (1 -\)Mvt(4)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1506</doubt><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>0</p></td><td class="cell"><p>Nissan</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>Nissan</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>Toyota</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>Toyota</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>Toyota</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>Ford</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6</p></td><td class="cell"><p>Ford</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7</p></td><td class="cell"><p>Ford</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>8</p></td><td class="cell"><p>Ford</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><i>r ^</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>"OHÄA..."</p></td><td class="cell"><p></p></td><td class="cell"><p>"alrF..."</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>{6}</p></td><td class="cell"><p></p></td><td class="cell"><p>{8}</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>1  </i>V 7</p></td><td class="cell"><p></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></tr></table><page local="5" global="1507"/><p>Since we want to start our walk from the seeds, we initialize <i>V</i><i>q </i>to have probabilities uniformly distributed over the seed nodes. In each step of our walk, there is a small probability A of tele-porting back to the seed nodes, which prevents us from walking too far away from the seeds. We iterate our graph until the state vector converges, and rank the extracted mentions by their probabil­ities in the final state vector. We use a constant A of 0.01 in the experiments below.</p></subsection><subsection number="2.3" title="Bootstrapping Candidate Instances"><p>Bootstrapping refers to iterative unsupervised set expansion. This process requires minimal super­vision, but is very sensitive to the system's perfor­mance because errors can easily propagate from one iteration to another. As shown in previous work (Wang and Cohen, 2008), carefully designed seeding strategies can minimize the propagated er­rors. Below, we show the pseudo-code for our bootstrapping strategy.</p><doubt alpha="64.9" length="37" tooSmall="False" monospace="0.0">stats&lt;—0,used &lt;— inputsfori =1 to Mdo</doubt><p>m = mi(i(3, <i>\used\) seeds &lt;— selectm(used) </i>U <i>top{list) stats &lt;— expand(seeds, stats) list &lt;— rank(stats) used &lt;— used </i>U <i>seeds </i><b>end for</b> where <i>M </i>is the total number of iterations, <i>inputs </i>are the two initial input seeds, <i>selectm(S) </i>ran­domly selects m different seeds from the set <i>S, used </i>is a set that contains previously expanded seeds, <i>top{list) </i>returns an item that has the high­est rank in <i>list, expand(seeds, stats) </i>expands the selected <i>seeds </i>using <i>stats </i>and outputs accu­mulated statistics, and <i>rank(stats) </i>applies Ran­dom Walk described in Section 2.2 on the accu­mulated <i>stats </i>to produce a <i>list </i>of items. This strategy dumps the highest-ranked item into the <i>used </i>bucket after every iteration. It starts by ex­panding two input seeds. For the second iteration, it expands three seeds: two <i>used </i>plus one from last iteration. For every successive iteration, it ex­pands four seeds: three randomly selected <i>used </i>ones plus one from last iteration.</p></subsection></section><section number="3" title="Experiments with Unary Relations"><p>We would like to determine whether character-based or HTML-based wrappers are more suited for the task of set expansion. In order to do that, we introduce five types of wrappers, as illustrated in Table 3. The first type is the character-based wrapper that does not have any restriction on the alphabets of its characters. Starting from the sec­ond type, the allowable alphabets in a wrapper be­come more restrictive. The fifth type requires that an item must be tightly bracketed by two complete HTML tags in order to be extracted.</p><p>All pure HTML-based wrappers are type 5, pos­sibly with additional restrictions imposed (Nadeau et al., 2006; Etzioni et al., 2005). SEAL cur­rently does not use an HTML parser (or any other kinds of parser), so restrictions cannot be easily imposed. As far as we know, there isn't an agree­ment on what restrictions make the most sense or work the best. Therefore, we evaluate perfor­mance for varying wrapper constraints from type 1 (most general) to type 5 (most strict) in our ex­periments.</p><p>For set expansion, we use the same evaluation set as in (Wang and Cohen, 2007) which contains 36 manually constructed lists across three differ­ent languages: English, Chinese, and lapanese (12 lists per language). Each list contains all instances of a particular semantic class in a certain language, and each instance contains a set of synonyms (e.g., USA, America).</p><p>Since the output of our system is a ranked list of extracted instances, we choose mean average precision (MAP) as our evaluation metric. MAP is commonly used in the field of Information Re­trieval for evaluating ranked lists because it is sen­sitive to the entire ranking and it contains both re­call and precision-oriented aspects. The MAP for multiple ranked lists is simply the mean value of average precisions calculated separately for each ranked list. We define the average precision of a single ranked list as:</p><p>Prec(r) x isFresh(r)</p><doubt alpha="56.2" length="16" tooSmall="False" monospace="0.0">AvgPrec(L) =r~1-</doubt><p>Total # of Correct Instances where <i>L </i>is a ranked list of extracted instances, <i>r </i>is the rank ranging from 1 to <i>\L\, </i>Prec(r) is the precision at rank <i>r, </i>or the percentage of correct synonyms above rank <i>r </i>(inclusively).<page local="6" global="1508"/> isFresh(r) is a binary function for ensuring that, if a list con­tains multiple synonyms of the same instance (or instance pair), we do not evaluate that instance (or instance pair) more than once. More specifically, the function returns 1 if a) the synonym at <i>r </i>is cor­rect, and b) it is the highest-ranked synonym of its instance in the list; it returns 0 otherwise.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1507</doubt><table caption="Table 3: The performance (MAP) of various types of wrappers on semi-structured web pages." 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>#</p></td><td class="cell"><p><b>L. Context </b><b>[..</b></p></td><td class="cell"><p><b>] R. Context</b></p></td><td class="cell"><p><b>Eng</b></p></td><td class="cell"><p><b>Jap</b></p></td><td class="cell"><p><b>Chi</b></p></td><td class="cell"><p><b>Avg</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>. + [..</p></td><td class="cell"><p>] • +</p></td><td class="cell"><p>87.6</p></td><td class="cell"><p>96.9</p></td><td class="cell"><p>95.4</p></td><td class="cell"><p>93.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>.*[&lt;&gt;] .*[..</p></td><td class="cell"><p>] .*[&lt;&gt;] .*</p></td><td class="cell"><p>85.7</p></td><td class="cell"><p>96.8</p></td><td class="cell"><p>90.7</p></td><td class="cell"><p>91.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>.*&gt;[..</p></td><td class="cell"><p>] &lt;.*</p></td><td class="cell"><p>85.7</p></td><td class="cell"><p>96.7</p></td><td class="cell"><p>90.7</p></td><td class="cell"><p>91.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>.*&lt;. + ?&gt;.*[..</p></td><td class="cell"><p>] .*&lt;. + ?&gt;.*</p></td><td class="cell"><p>80.1</p></td><td class="cell"><p>95.8</p></td><td class="cell"><p>83.7</p></td><td class="cell"><p>86.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>.*&lt;. + ?&gt;[..</p></td><td class="cell"><p>] &lt;. + ?&gt;.*</p></td><td class="cell"><p>79.6</p></td><td class="cell"><p>94.9</p></td><td class="cell"><p>82.4</p></td><td class="cell"><p>85.6</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>We evaluate the performance of each type of wrapper by conducting set expansion on the 36 datasets across three languages. For each dafaset, we randomly select two seeds, expand them by bootstrapping ten iterations (where each iteration retrieves at most 200 web pages only), and evalu­ate the final result. We repeat this process three times for every dataset and report the average MAP for English, Japanese, and Chinese in Ta­ble 3. As illustrated, the more restrictive a wrapper is, the worse it performs. As a result, this indicates that further restrictions on wrappers of type 5 will not improve performance.</p></section><section number="4" title="Set Expansion for Binary Relations"><subsection number="4.1" title="Identifying Wrappers for Binary Relations"><p>We extend the wrapper construction algorithm de­scribed in Section 2.1 to support relational set ex­pansion. The major difference is that we introduce a third type of context called the <i>middle </i>context that occurs between the left and right contexts of a wrapper for separating any two items. We ex­ecute the same algorithm as before, except that a seed instance in the algorithm is now a seed in­stance pair bracketing some middle context (i.e., "sr <i>middle- </i><b>S2").</b></p><p>Given some seed pairs (e.g., Ford and USA), the algorithm first locates the seeds in some given documents. For every pair of seeds located, it ex­tracts their left, middle, and right contexts. The left and right contexts are inserted into their corre­sponding tries, while the middle context is inserted into a list. Every middle context is assigned a flag indicating whether the two instances bracketing it were found in the same or reversed order as the input seed pairs. Every entry in the seed instance list described previously now stores a pair of in­stances as one single string (e.g. "Ford/USA"). An <i>id </i>stored in a node now matches the index of a pair of instances as well as a middle context.</p><p>Shown below is a mock example document of which the seed pairs: Ford and USA, Nissan and Japan, Toyota and Japan are located (and bold­faced).</p><p><b>GtpKxHnlsSaNoKpjaPaNxjHJgleTuoLpBlcLBxKH forDEF cuSAxkrpWNapnIkAAHOFoRdawHDaUSauoh deQ sKxHaCuRAoKp JapANx j Hdlj WnOxoTOyOTaVaq jApaNzxKHAUdlEFcgErmANyxkrOyQKxHToYotAoK p JApaNx j HCRdmt qOVKxH foRdoKpusAx jHaJASzEi </b>n S f <b>rlaFoRDLMmpuSao </b>f<b>wNLWxKHtOYotaEFc jAPan xkrHxQKzrHpoKdGEKtxKHNisSanEFcJApAnxkrEq</b></p><p>After performing the abovementioned proce­dures on this mock document, we now have con­text tries that are much more complicated than those illustrated in Figure 1, as well as a list of middle contexts similar to the one shown below:</p><p>where <i>r </i>indicates if the two instances bracketing the middle context were found in the reversed or­der as the input seed pairs. In order to find the maximally long contextual strings, the "Intersect" function in the set expansion pseudo-code pre­sented in Table 2 needs to be replaced with the following:</p><p>Integers Intersect(Node <i>n\, </i>Node n2) Define <i>S </i><i>= m.</i><i>indexes </i>PI <i>n-^.indexes </i>Return the largest subset <i>s </i>of <i>S </i>such that:</p><p>Every index e <i>s </i>corresponds to same middle context</p><p>which returns those seed pairs that are bracketed by the strings associated with the two input nodes with the same middle context. A wrapper for re­lational set expansion, or <i>relational wrapper, </i>is defined by the left, middle, and right contextual strings. The relational wrappers constructed from the mock document given the example seed pairs are shown below. Notice that Audi/Germany and Acura/Japan are discovered.</p><doubt alpha="65.8" length="79" tooSmall="False" monospace="0.0">Wrapper:xKH [ .1. ] EFc [ .2. ] xkrContent:audi/germany,ford/usa, nissan/japan,</doubt><p>toy ota/japan Wrapper:    <b>KxH [ . </b>1<b>. ] oKp [. </b>2 <b>. ] xjH </b>Content:    <b>acura/japan,  </b>ford/usa, nissan/japan, toy ota/japan<page local="7" global="1509"/></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1508</doubt><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>id</i></p></td><td class="cell"><p>Seed Pairs</p></td><td class="cell"><p><i>r</i></p></td><td class="cell"><p>Middle Context</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p>Nissan/Japan</p></td><td class="cell"><p>No</p></td><td class="cell"><p><b>oKp</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>1</b></p></td><td class="cell"><p>Nissan/Japan</p></td><td class="cell"><p>No</p></td><td class="cell"><p><b>EFc</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>2</b></p></td><td class="cell"><p>Nissan/Japan</p></td><td class="cell"><p>Yes</p></td><td class="cell"><p><b>xkrHxQKzrHpoKd...</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>4</b></p></td><td class="cell"><p>Toyota/Japan</p></td><td class="cell"><p>No</p></td><td class="cell"><p><b>oKp</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>6</b></p></td><td class="cell"><p>Toyota/Japan</p></td><td class="cell"><p>Yes</p></td><td class="cell"><p><b>xjHdljWnOxo</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>9</b></p></td><td class="cell"><p>Ford/USA</p></td><td class="cell"><p>No</p></td><td class="cell"><p><b>EFc</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>13</b></p></td><td class="cell"><p>Ford/USA</p></td><td class="cell"><p>Yes</p></td><td class="cell"><p><b>xkrpWNapnlkAAHO</b></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></tr></table><p>Table 5 : Performance of various types of wrappers on the five relational datasets after first iteration.</p><p>Table 6: Performance of various types of wrappers on the five relational datasets after 10 iteration.</p></subsection><subsection number="4.2" title="Experiments with Binary Relations"><p>For binary relations, we performed the same ex­periment as with unary relations described in Sec­tion 3. A relational wrapper is of type <i>t </i>if the wrapper's left and right context match i's con­straint for left and right respectively, and also that the wrapper's middle context match both con­straints.</p><p>For choosing the evaluation datasets for rela­tional set expansion, we surveyed and obtained a dozen relationships, from which we randomly se­lected five of them and present in Table 4. Each dataset was then manually constructed. For the last two datasets, since there are too many items, we tried our best to make the lists as exhaustive as possible.</p><p>To evaluate relational wrappers, we performed relational set expansion on randomly selected seeds from the five relational datasets. For every dataset, we select two seeds randomly and boot­strap the relational set expansion ten times. The results after the first iteration are shown in Table 5 and after the tenth iteration in Table 6. When com­puting precision at 100 for each resulting list, we kept only the top-most-ranked synonym of every instance and remove all other synonyms from the list; this ensures that every instance is unique. No­tice that for the "Car Maker" dataset, there exists no wrappers of types 2 to 5 ; thus resulting in zero performance for those wrapper types. In each fa­ble, the results indicate that character-based wrap­pers perform the best, while those HTML-based wrappers that require tight HTML bracketing of items (type 3 and 5) perform the worse.</p><p>In addition, the results illustrate that bootstrap­ping is effective for expanding relational pairs of items. As illustrated in Table 6, the result of find­ing translation pairs of NBA team names is per­fect, and it is almost perfect for finding pairs of U.S. states/territories and governors, as well as Taiwanese cities and mayors. In finding pairs of acronyms and full names of federal agencies, the precision at top 100 is nearly perfect (97%). The results for finding pairs of car makers and coun­tries is good as well, with a high precision of 90%. For the last two datasets, we believe that MAP could be improved by increasing the number of bootstrapping iterations. Table 7 shows some example wrappers constructed and instances ex­tracted for wrappers of type 1.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1509</doubt><table caption="Table 4: The five relational datasets for evaluating relational set expansion." 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Dataset ID</b></p></td><td class="cell"><p><b>Item #1 </b>vs. <b>Item #2</b></p></td><td class="cell"><p><b>Lang. #1</b></p></td><td class="cell"><p><b>Lang. #2</b></p></td><td class="cell"><p><b>Size</b></p></td><td class="cell"><p><b>Complete?</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>US Governor</p></td><td class="cell"><p>US State/Territory vs. Governor</p></td><td class="cell"><p>English</p></td><td class="cell"><p>English</p></td><td class="cell"><p>56</p></td><td class="cell"><p>Yes</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Taiwan Mayor</p></td><td class="cell"><p>Taiwanese City vs. Mayor</p></td><td class="cell"><p>Chinese</p></td><td class="cell"><p>Chinese</p></td><td class="cell"><p>26</p></td><td class="cell"><p>Yes</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NBA Team</p></td><td class="cell"><p>NBA Team vs. NBA Team</p></td><td class="cell"><p>Chinese</p></td><td class="cell"><p>English</p></td><td class="cell"><p>30</p></td><td class="cell"><p>Yes</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Fed. Agency</p></td><td class="cell"><p>US Federal Agency Acronym vs. Full Name</p></td><td class="cell"><p>English</p></td><td class="cell"><p>English</p></td><td class="cell"><p>387</p></td><td class="cell"><p>No</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Car Maker</p></td><td class="cell"><p>Car Manufacturer vs. Headquartered Country</p></td><td class="cell"><p>English</p></td><td class="cell"><p>English</p></td><td class="cell"><p>122</p></td><td class="cell"><p>No</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></tr></table><table 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><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>Mean Avg. Precision</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Precision® 100</b></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>Datasets</b></p></td><td class="cell"><p><b>1</b></p></td><td class="cell"><p><b>2</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"><p><b>4</b></p></td><td class="cell"><p><b>5</b></p></td><td class="cell"><p><b>1</b></p></td><td class="cell"><p><b>2</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"><p><b>4</b></p></td><td class="cell"><p><b>5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>US Governor</p></td><td class="cell"><p>97.4</p></td><td class="cell"><p>89.3</p></td><td class="cell"><p>89.2</p></td><td class="cell"><p>89.3</p></td><td class="cell"><p>89.2</p></td><td class="cell"><p>55</p></td><td class="cell"><p>50</p></td><td class="cell"><p>51</p></td><td class="cell"><p>50</p></td><td class="cell"><p>50</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Taiwan Mayor</p></td><td class="cell"><p>99.8</p></td><td class="cell"><p>95.6</p></td><td class="cell"><p>94.3</p></td><td class="cell"><p>91.3</p></td><td class="cell"><p>90.8</p></td><td class="cell"><p>25</p></td><td class="cell"><p>25</p></td><td class="cell"><p>24</p></td><td class="cell"><p>23</p></td><td class="cell"><p>23</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NBA Team</p></td><td class="cell"><p>100.0</p></td><td class="cell"><p>99.9</p></td><td class="cell"><p>99.9</p></td><td class="cell"><p>99.9</p></td><td class="cell"><p>99.2</p></td><td class="cell"><p>30</p></td><td class="cell"><p>30</p></td><td class="cell"><p>30</p></td><td class="cell"><p>30</p></td><td class="cell"><p>30</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Fed. Agency</p></td><td class="cell"><p>43.7</p></td><td class="cell"><p>14.5</p></td><td class="cell"><p>5.2</p></td><td class="cell"><p>11.1</p></td><td class="cell"><p>5.2</p></td><td class="cell"><p>96</p></td><td class="cell"><p>55</p></td><td class="cell"><p>20</p></td><td class="cell"><p>40</p></td><td class="cell"><p>20</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Car Maker</p></td><td class="cell"><p>61.7</p></td><td class="cell"><p>0.0</p></td><td class="cell"><p>0.0</p></td><td class="cell"><p>0.0</p></td><td class="cell"><p>0.0</p></td><td class="cell"><p>74</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</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><b>Average</b></p></td><td class="cell"><p>80.5</p></td><td class="cell"><p>59.9</p></td><td class="cell"><p>57.7</p></td><td class="cell"><p>58.3</p></td><td class="cell"><p>56.9</p></td><td class="cell"><p>56</p></td><td class="cell"><p>32</p></td><td class="cell"><p>25</p></td><td class="cell"><p>29</p></td><td class="cell"><p>25</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><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table 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><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>Mean Avg. Precision</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Precision® 100</b></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>Datasets</b></p></td><td class="cell"><p><b>1</b></p></td><td class="cell"><p><b>2</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"><p><b>4</b></p></td><td class="cell"><p><b>5</b></p></td><td class="cell"><p><b>1</b></p></td><td class="cell"><p><b>2</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"><p><b>4</b></p></td><td class="cell"><p><b>5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>US Governor</p></td><td class="cell"><p>98.9</p></td><td class="cell"><p>97.0</p></td><td class="cell"><p>95.3</p></td><td class="cell"><p>94.1</p></td><td class="cell"><p>93.9</p></td><td class="cell"><p>55</p></td><td class="cell"><p>55</p></td><td class="cell"><p>54</p></td><td class="cell"><p>53</p></td><td class="cell"><p>53</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Taiwan Mayor</p></td><td class="cell"><p>99.8</p></td><td class="cell"><p>98.3</p></td><td class="cell"><p>96.9</p></td><td class="cell"><p>93.8</p></td><td class="cell"><p>94.3</p></td><td class="cell"><p>25</p></td><td class="cell"><p>25</p></td><td class="cell"><p>25</p></td><td class="cell"><p>24</p></td><td class="cell"><p>24</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NBA Team</p></td><td class="cell"><p>100.0</p></td><td class="cell"><p>100.0</p></td><td class="cell"><p>99.2</p></td><td class="cell"><p>98.4</p></td><td class="cell"><p>98.6</p></td><td class="cell"><p>30</p></td><td class="cell"><p>30</p></td><td class="cell"><p>30</p></td><td class="cell"><p>30</p></td><td class="cell"><p>30</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Fed. Agency</p></td><td class="cell"><p>65.5</p></td><td class="cell"><p>54.5</p></td><td class="cell"><p>27.9</p></td><td class="cell"><p>55.3</p></td><td class="cell"><p>30.0</p></td><td class="cell"><p>97</p></td><td class="cell"><p>97</p></td><td class="cell"><p>61</p></td><td class="cell"><p>95</p></td><td class="cell"><p>69</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Car Maker</p></td><td class="cell"><p>81.6</p></td><td class="cell"><p>0.0</p></td><td class="cell"><p>0.0</p></td><td class="cell"><p>0.0</p></td><td class="cell"><p>0.0</p></td><td class="cell"><p>90</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</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><b>Average</b></p></td><td class="cell"><p>89.2</p></td><td class="cell"><p>70.0</p></td><td class="cell"><p>63.9</p></td><td class="cell"><p>68.3</p></td><td class="cell"><p>63.4</p></td><td class="cell"><p>59</p></td><td class="cell"><p>41</p></td><td class="cell"><p>34</p></td><td class="cell"><p>40</p></td><td class="cell"><p>35</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><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="8" global="1510"/><p><b><u>Seeds: £ ftjj / jf        g» / BgBJj.</u></b></p><doubt alpha="58.6" length="169" tooSmall="False" monospace="0.0">URL:http://www.chmm'eviewnews.org/cm-webapp/attcoluOu1iiiie.jsp?coliiid=40Wrapper: ^[.2.] g^pgjSt ■1-] Ä&lt;/a&gt;&lt;fontcolo_="#999999" style="font-size:  12px"Xem&gt;(2005-12-031</doubt><doubt alpha="50.7" length="71" tooSmall="False" monospace="0.0">URL:http://www.siongpo.com/20051204/localk.htmWrapper:%);[.!.]:[.2.] (_</doubt><doubt alpha="59.6" length="104" tooSmall="False" monospace="0.0">URL:http://www.books.com.tw/exep/prod/booksfile.php?item=0010430903Wrapper:! [.1. ] J|[.2. ] jftgfclHHg_</doubt><doubt alpha="64.3" length="70" tooSmall="False" monospace="0.0">URL:http://mag.udn.com/mag/vote2005/storypage.jsp?f_ART_ID=19060&amp;pno=l</doubt><doubt alpha="30.6" length="36" tooSmall="False" monospace="0.0">Wrapper:(B^)&lt;br&gt; [. 1. ] J|[.2. ] (_</doubt><doubt alpha="51.0" length="98" tooSmall="False" monospace="0.0">Content:jf jggji /M'Sffî&gt;,T_f * rf: / S.;S3®,T_tt«/ ïfff _Ë, ■_?P»/ Sf^f, ^SSI / SJS*, USUS / E»fl</doubt><doubt alpha="55.4" length="130" tooSmall="False" monospace="0.0">in / âwsn /esîeW, tnt m / fsj^ti, fftw / fWm /ép»t_, Sîtin /nm± mmm/ ^/mtesis / _ï«__, tesis / s^oj,mmm / uis#,h» /mmm, wtm/ iss_è</doubt><p><b>Seeds: </b>BLM^^I^ / <b>phoenix suns, </b>^^JCS^S-fte / <b>milwaukee bucks</b></p><doubt alpha="58.4" length="113" tooSmall="False" monospace="0.0">URL:http://www.xxlbasketball.com.tw/NBA-5/rndex.htmWrapper: &gt; [ .1. ] &lt;br&gt; [. 2 . ] &lt;/f ontX/aX/spanX/f ont&gt;&lt;/td&gt;</doubt><doubt alpha="43.2" length="88" tooSmall="False" monospace="0.0">URL:http://sandy0932266920.pixnet.net/blog/post/21155354Wrapper: &gt;[.1. ]U( [.2. ] )&lt;/a&gt;_</doubt><doubt alpha="64.3" length="126" tooSmall="False" monospace="0.0">URL:http://www.nbamag.com.tw/html/oldmags/maglS.html Wrapper:/updatemid. html"&gt; [. 1. ] &lt;br&gt; [ . 2 . ] &lt;/aXhrXtd align=center&gt;</doubt><doubt alpha="60.7" length="117" tooSmall="False" monospace="0.0">URL:http://tw.myblog.yahoo.com/jwlsNocSW.QEkbxPrVM05USqkS2LSGu/article?mid=23495 Wrapper:&lt;br&gt; [. 1. ] ( [. 2. ] )&lt;br&gt;</doubt><p>Content: j^rfteîiSl / denver nuggets, IMÈÏfLÏSSJSPS / Syracuse nations, 5SßM^C^Ä / atlanta hawks, f7fc±4jfl^Ctîf / houston rockets</p><p>3SS^MIt± / Cleveland cavaliers, ËPH_?§|5tf S <i>I </i>indiana pacers, lL[Sb / charlotte bobcats, #fii# Sf I / toronto raptors</p><p>JtIB#{lHÏT / orlando magjc, SpSf<i>M3MI </i>memphis grizzhes, ^BK8-aEhî / milwaukee bucks, <i>jsM'^fSM I </i>détroit pistons BflfË5?j8K3S / minnesota timberwolves, f^JPSISHrE / Sacramento kings, flJifliliSflf ^r/£ / boston Celtics <i>W&amp;WWSM </i>/ Portland trail blazers, iM^TI'RlB / La. chppers, ?M*1KSA / La. lakers, Hffeff ± / Utah jazz</p><p><b>Seeds: kentucky / steve beshear, north dakota / john hoeven</b></p><p>URL: http://wildfoia.pbworks.com/Alaska-Governor-Sarati-Palin</p><doubt alpha="56.1" length="41" tooSmall="False" monospace="0.0">Wrapper:Governor   [.2. ]"&gt;[.!.] Governor</doubt><p>URL: http://blogs.suntimes.com/sweet/2008/02/sweet_state_dinner_for_governo.html</p><doubt alpha="45.1" length="82" tooSmall="False" monospace="0.0">Wrapper:&lt;br /&gt; &lt;br /&gt; The Honorable   [.2.],  Governor of  [.1.]     &lt;br /&gt; &lt;br /&gt;</doubt><p>URL: http://en.wikipedia.org/wiki/United_States_Senate_elections,_2010</p><doubt alpha="54.2" length="83" tooSmall="False" monospace="0.0">Wrapper: "title="Governor of  [ . 1. ] "&gt;Governor&lt;/a&gt; &lt;a href="/wiki/[.2.]" title="</doubt><doubt alpha="59.7" length="77" tooSmall="False" monospace="0.0">URL:http://ballotbox.governing.com/2008/07/index.htmlWrapper: ,[,i.]'s [.2.],</doubt><p>Content: alabama / bob riley, alaska / sarah palin, arizona / janet napolitano, arkansas / mike huckabee, California / arnold Schwarzenegger, Colorado / bill ritter, Connecticut / mary jodi rell, delaware / ruth ann minner, florida / charlie crist, georgia / sonny perdue, hawaii / linda lingle, idaho / butch otter, Illinois / rod blagojevich...</p><p><b>Seeds: cia / central intelligence agency, usps / united states postal service</b></p><p>URL: http://wwwl .american.edu/dccampus/links/whitehouse.html</p><doubt alpha="50.5" length="101" tooSmall="False" monospace="0.0">Wrapper: &lt;a href ="http://www. [ .1 .] .gov"  class="Links2nd"&gt; [ . 2 . ] &lt;/a&gt;&lt;span class="Links2nd"&gt;</doubt><p>URL: http://www.usembassy.at/en/us/gov.htm</p><doubt alpha="37.0" length="54" tooSmall="False" monospace="0.0">Wrapper:/"target="_Dlank"&gt; [ . 2 . ]     ([.l.])&lt;/a&gt; -</doubt><p>URL: http://www.nationmaster.com/encyclopedia/List-of-United-States-federal-agencies Wrapper: The [.2.]    ([.1.]) is</p><p>URL: http://www.nationmaster.com/encyclopedia/List-of-United-States-federal-agencies</p><doubt alpha="54.7" length="86" tooSmall="False" monospace="0.0">Wrapper:&lt;/li&gt; &lt;li&gt;[.l.]- &lt;a href="/encyclopedia/ [ . 2 . ] " onmouseover="pv (event, 2</doubt><p>Content: achp / advisory council on historic preservation, arc / appalachian regional commission, cftc / commod­ity futures trading commission, cia / central intelligence agency, cms / centers for medicare and medicaid services, exim bank / export import bank of the united states, ntrc / national transportation research center...</p><p><b>Seeds: mazda / japan, venturi / france</b></p><p>URL: http://www.jrfllters.com/flltres/index.php?lng=en</p><doubt alpha="51.3" length="119" tooSmall="False" monospace="0.0">Wrapper:&amp;page=fi It res &amp;lng=en" &gt; [ . 1. ] &amp;nbsp; &amp;nbsp; &amp;nbsp; ( [ . 2 . ] ) &lt;/ opt ionXopt ion val ue=" index . php?</doubt><p>URL: http://www.jrfllters.com/suspensions/index.php?famille=l&amp;lng=en</p><doubt alpha="53.5" length="127" tooSmall="False" monospace="0.0">Wrapper:&amp;lng=en" &gt; [ . l . ] &amp;nbsp; &amp;nbsp; &amp;nbsp; ( [ . 2 . ] ) &lt;/ opt ionXopt ion val ue=" index .php? f ami lle=l &amp;rubr iguel</doubt><p>URL: http://www.street-car.net/forums/forumdisplay.php?f=10</p><p>Wrapper: "&gt;&lt;strong&gt; [ . l. <b>] &lt;/strong&gt;&lt;/a&gt; </b>&lt;/div&gt; &lt;div clas s=" smal if ont " &gt;Country of origin :[. 2 .] .</p><p>URL: http://www.allcarcentral.com/</p><doubt alpha="34.6" length="52" tooSmall="False" monospace="0.0">Wrapper:file .html"&gt; [ .1 . ] , [ . 2 . ] &lt;/a&gt;&lt;br /&gt;</doubt><p>Content: abarth / italy, acura / japan, alfa romeo / italy, aston martin / england, auburn / usa, audi / germany, aus tin healey / england, austin / england, auto union / germany, balwin / usa, bandini / italy, bentley / england, bmw / germany, brabham / england, bricklin / usa, bristol / england, brm / england, bucciali / france...</p><table caption="Table 7: Examples of (type 1) wrappers constructed and instances (contents) extracted."></table><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1510</doubt><page local="9" global="1511"/></subsection></section><section number="5" title="Related Work"><p>In recent years, many research has been done on extracting relations from free text (e.g., (Pan-tel and Pennacchiotti, 2006; Agichtein and Gra-vano, 2000; Snow et al., 2006)); however, al­most all of them require some language-dependent parsers or taggers for English, which restrict the language of their extractions to English only (or languages that have these parsers). There has also been work done on extracting relations from HTML-structured fables (e.g., (Etzioni et al., 2005; Nadeau et al., 2006; Cafarella et al., 2008)); however, they all incorporated heuristics for ex­ploiting HTML structures; thus, they cannot han­dle documents written in other mark-up languages.</p><p>Extracting relations at character-level from semi-structured documents has been proposed (e.g., (Kushmerick et al., 1997),(Brin, 1998)). In particular, Brin's approach (DIPRE) is the most similar to ours in terms of expanding rela­tional items. One difference is that it requires maximally-long contextual strings to bracket <i>all </i>seed occurrences. This technique has been experi­mentally illustrated to perform worse than SEAL'S approach on unary relations (Wang and Cohen, 2007). Brin presented five seed pairs of author names and book titles that he used in the exper­iment (unfortunately, he did not provide detailed results). We input the top two seed pairs listed in his paper into the relational SEAL, performed ten bootstrapping iterations (took about 3 minutes), and obtained 26,000 author name/book title pairs of which the precision at 100 is perfect (100%).</p></section><section number="6" title="Conclusions"><p>In this paper, we have described in detail an al­gorithm for constructing document-specific wrap­pers automatically for set expansion. In the exper­imental results, we have illustrated that character-based wrappers are better suited than HTML-based wrappers for the task of set expansion. We also presented a method that utilizes an additional middle context for constructing relational wrap­pers. We also showed that our relational set ex­pansion approach is language-independent; it can be applied to non-English and even cross-lingual seeds and documents. Furthermore, we have il­lustrated that bootstrapping improves the perfor­mance of relational set expansion. In the future, we will explore automatic mining of binary con­cepts given only the relation (e.g., "mayor of").</p></section><section number="7" title="Acknowledgments"><p>This work was supported by the Google Research Awards program.</p></section><references><p>Eugene Agichtein and Luis Gravano. 2000. Snow­ball: Extracting relations from large plain-text col­lections. In <i>In Proceedings of the 5th ACM Inter­national Conference on Digital Libraries, </i>pages 85-94.</p><p>Sergey Brin. 1998. Extracting patterns and relations from the world wide web. In <i>In WebDB Work­shop at 6th International Conference on Extending Database Technology, EDBT98, </i>pages 172-183.</p><p>Michael J. Cafarella, Alon Y. Halevy, Daisy Z. Wang, Eugene W. 0002, and Yang Zhang. 2008. Webta-bles: exploring the power of tables on the web. <i>PVLDB, </i>l(l):538-549.</p><p>A. Carlson, J. Betteridge, E.R. Hruschka Junior, and T.M. Mitchell. 2009. Coupling semi-supervised learning of categories and relations. In <i>NAACL HLT Workshop on Semi-supervised Learning for Natural Language Processing, </i>pages 1-9. Association for Computational Linguistics.</p><p>Oren Etzioni, Michael J. Cafarella, Doug Downey, Ana-Maria Popescu, Tal Shaked, Stephen Soder-land, Daniel S. Weld, and Alexander Yates. 2005. Unsupervised named-entity extraction from the web: An experimental study. <i>Artif. Intell, </i>165(1):91-134.</p><p>N. Kushmerick, D. Weld, and B. Doorenbos. 1997. Wrapper induction for information extraction. In <i>Proc. Int. Joint Conf. Artificial Intelligence.</i></p><p>David Nadeau, Peter D. Turney, and Stan Matwin. 2006. Unsupervised named-entity recognition: Generating gazetteers and resolving ambiguity. In Luc Lamontagne and Mario Marchand, editors, <i>Canadian Conference on AI, </i>volume 4013 of <i>Lec­ture Notes in Computer Science, </i>pages 266-277. Springer.</p><p>Patrick Pantel and Marco Pennacchiotti. 2006. Espresso: leveraging generic patterns for automat­ically harvesting semantic relations. In <i>ACL-44: Proceedings of the 21st International Conference on Computational Linguistics and the 44th annual meeting of the Association for Computational Lin­guistics, </i>pages 113-120, Morristown, NJ, USA. As­sociation for Computational Linguistics.</p><p>Rion Snow, Daniel Jurafsky, and Andrew Y. Ng. 2006. Semantic taxonomy induction from heterogenous evidence. In <i>ACL 06: Proceedings of the 21 st Inter­national Conference on Computational Linguistics and the 44th annual meeting of the ACL, </i>pages 801-808, Morristown, NJ, USA. Association for Compu­tational Linguistics.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1511</doubt><page local="10" global="1512"/><p>Partha P. Talukdar, Thorsten Brants, Mark Liberman, and Fernando Pereira. 2006. A context pattern induction method for named entity extraction. In <i>Tenth Conference on Computational Natural Lan­guage Learning (CoNLL-X).</i><i></i></p><p>Hanghang Tong, Christos Faloutsos, and Jia-Yu Pan. 2006. Fast random walk with restart and its appli­cations. In <i>ICDM, </i>pages 613-622. IEEE Computer Society.</p><p>Richard C. Wang and William W. Cohen. 2007. Language-independent set expansion of named enti­ties using the web. In <i>ICDM, </i>pages 342-350. IEEE Computer Society.</p><p>Richard C. Wang and William W. Cohen. 2008. Iter­ative set expansion of named entities using the web. In <i>ICDM, </i>pages 1091-1096. IEEE Computer Soci­ety.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1512</doubt></references></body></article>