Benjamin Aw
Add updated pkl file v3
6fa4bc9
raw
history blame contribute delete
No virus
65.9 kB
{
"paper_id": "I08-1025",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T07:41:33.199297Z"
},
"title": "TSUBAKI: An Open Search Engine Infrastructure for Developing New Information Access Methodology",
"authors": [
{
"first": "Keiji",
"middle": [],
"last": "Shinzato",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Yamagata University",
"location": {}
},
"email": "shinzato@nlp.kuee.kyoto-u.ac.jp"
},
{
"first": "Tomohide",
"middle": [],
"last": "Shibata",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Yamagata University",
"location": {}
},
"email": "shibata@nlp.kuee.kyoto-u.ac.jp"
},
{
"first": "Daisuke",
"middle": [],
"last": "Kawahara",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Yamagata University",
"location": {}
},
"email": ""
},
{
"first": "Chikara",
"middle": [],
"last": "Hashimoto",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Yamagata University",
"location": {}
},
"email": ""
},
{
"first": "Sadao",
"middle": [],
"last": "Kurohashi",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Yamagata University",
"location": {}
},
"email": ""
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "As the amount of information created by human beings is explosively grown in the last decade, it is getting extremely harder to obtain necessary information by conventional information access methods. Hence, creation of drastically new technology is needed. For developing such new technology, search engine infrastructures are required. Although the existing search engine APIs can be regarded as such infrastructures, these APIs have several restrictions such as a limit on the number of API calls. To help the development of new technology, we are running an open search engine infrastructure, TSUBAKI, on a high-performance computing environment. In this paper, we describe TSUBAKI infrastructure.",
"pdf_parse": {
"paper_id": "I08-1025",
"_pdf_hash": "",
"abstract": [
{
"text": "As the amount of information created by human beings is explosively grown in the last decade, it is getting extremely harder to obtain necessary information by conventional information access methods. Hence, creation of drastically new technology is needed. For developing such new technology, search engine infrastructures are required. Although the existing search engine APIs can be regarded as such infrastructures, these APIs have several restrictions such as a limit on the number of API calls. To help the development of new technology, we are running an open search engine infrastructure, TSUBAKI, on a high-performance computing environment. In this paper, we describe TSUBAKI infrastructure.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "As the amount of information created by human beings is explosively grown in the last decade (University of California, 2003) , it is getting extremely harder to obtain necessary information by conventional information access methods, i.e., Web search engines. This is obvious from the fact that knowledge workers now spend about 30% of their day on only searching for information (The Delphi Group White Paper, 2001 ). Hence, creation of drastically new technology is needed by integrating several disciplines such as natural language processing (NLP), information retrieval (IR) and others.",
"cite_spans": [
{
"start": 93,
"end": 125,
"text": "(University of California, 2003)",
"ref_id": null
},
{
"start": 381,
"end": 416,
"text": "(The Delphi Group White Paper, 2001",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Conventional search engines such as Google and Yahoo! are insufficient to search necessary informa-tion from the current Web. The problems of the conventional search engines are summarized as follows:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Cannot accept queries by natural language sentences: Search engine users have to represent their needs by a list of words. This means that search engine users cannot obtain necessary information if they fail to represent their needs into a proper word list. This is a serious problem for users who do not utilize a search engine frequently.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Cannot provide organized search results: A search result is a simple list consisting of URLs, titles and snippets of web pages. This type of result presentation is obviously insufficient considering explosive growth and diversity of web pages.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Cannot handle synonymous expressions: Existing search engines ignore a synonymous expression problem. Especially, since Japanese uses three kinds of alphabets, Hiragana, Katakana and Kanji, this problem is more serious. For instance, although both Japanese words \" \" and \" \" mean child, the search engines provide quite different search results for each word.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "We believe that new IR systems that overcome the above problems give us more flexible and comfortable information access and that development of such systems is an important and interesting research topic.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "To develop such IR systems, a search engine infrastructure that plays a low-level layer role (i.e., retrieving web pages according to a user's query from a huge web page collection) is required. The Application Programming Interfaces (APIs) provided by commercial search engines can be regarded as such search engine infrastructures. The APIs, however, have the following problems:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "1. The number of API calls a day and the number of web pages included in a search result are limited. 2. The API users cannot know how the acquired web pages are ranked because the ranking measure of web pages has not been made public. 3. It is difficult to reproduce previously-obtained search results via the APIs because search engine's indices are updated frequently.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "These problems are an obstacle to develop new IR systems using existing search engine APIs. The research project \"Cyber Infrastructure for the Information-explosion Era 1 \" gives researchers several kinds of shared platforms and sophisticated tools, such as an open search engine infrastructure, considerable computational environment and a grid shell software (Kaneda et al., 2002) , for creation of drastically new IR technology. In this paper, we describe an open search engine infrastructure TSUB-AKI, which is one of the shared platforms developed in the Cyber Infrastructure for the Informationexplosion Era project. The overview of TSUBAKI is depicted in Figure 1 . TSUBAKI is built on a highperformance computing environment consisting of 128 CPU cores and 100 tera-byte storages, and it can provide users with search results retrieved from approximately 100 million Japanese web pages.",
"cite_spans": [
{
"start": 361,
"end": 382,
"text": "(Kaneda et al., 2002)",
"ref_id": "BIBREF2"
}
],
"ref_spans": [
{
"start": 662,
"end": 670,
"text": "Figure 1",
"ref_id": "FIGREF0"
}
],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "The mission of TSUBAKI is to help the development of new information access methodology which solves the problems of conventional information access methods. This is achieved by the following TSUBAKI's characteristics:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "API without any restriction: TSUBAKI provides its API without any restrictions such as the limited number of API calls a day and the number of results returned from an API per query, which are the typical restrictions of the existing search engine APIs. Consequently, TSUBAKI API users can develop systems that handle a large number of web pages. This feature is important for dealing with the Web that has the long tail aspect. Transparent and reproducible search results: TSUBAKI makes public not only its ranking measure but also its source codes, and also provides reproducible search results by fixing a crawled web page collection. Because of this, TSUBAKI keeps its architecture transparency, and systems using the API can always obtain previously-produced search results.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Web standard format for sharing pre-processed web pages: TSUBAKI converts a crawled web page into a web standard format data. The web standard format is a data format used in TSUBAKI for sharing pre-processed web pages. Section 2 presents the web standard format in detail.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Indices generated by deep NLP: TSUBAKI indexes all crawled web pages by not only words but also dependency relations for retrieving web pages according to the meaning of their contents. The index data in TSUBAKI are described in Section 3. This paper is organized as follows. Section 2 describes web standard format, and Section 3 shows TSUBAKI's index data and its search algorithm. Section 4 presents TSUBAKI API and gives examples of how to use the API. Section 5 shows related work.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Web page processing on a large scale is a difficult task because the task generally requires a high-performance computing environment (Kawahara and Kurohashi, 2006) and not everybody can use such environment. Sharing of large scale preprocessed web pages is necessary for eliminating the gap yielded by large data processing capabilities. TSUBAKI makes it possible to share preprocessed large scale web pages through the API. TSUBAKI API provides not only cached original web pages (i.e., 100 million pages) but also preprocessed web pages. As pre-processed data of web pages, the results of commonly performed processing for web pages, including sentence boundary detection, morphological analysis and parsing, are provided. This allows API users to begin their own processing immediately without extracting sentences from web pages and analyzing them by themselves.",
"cite_spans": [
{
"start": 148,
"end": 164,
"text": "Kurohashi, 2006)",
"ref_id": "BIBREF3"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Sharing of Pre-processed Web Pages on a Large Scale",
"sec_num": "2"
},
{
"text": "In the remainder of this section, we describe a web standard format used in TSUBAKI for sharing pre-processed web pages and construction of a large scale web standard format data collection.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Sharing of Pre-processed Web Pages on a Large Scale",
"sec_num": "2"
},
{
"text": "The web standard format is a simple XML-styled data format in which meta-information and textinformation of a web page can be annotated. The meta-information consists of a title, in-links and outlinks of a web page and the text-information consists of sentences extracted from the web page and their analyzed results by existing NLP tools.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Web Standard Format",
"sec_num": "2.1"
},
{
"text": "An example of a web standard format data is shown in Figure 2 . Extracted sentences are enclosed by <RawString> tags, and the analyzed results of the sentences are enclosed by <Annotation> tags. Sentences in a web page and their analyzed results can be obtained by looking at these tags in the standard format data corresponding to the page.",
"cite_spans": [],
"ref_spans": [
{
"start": 53,
"end": 61,
"text": "Figure 2",
"ref_id": "FIGREF1"
}
],
"eq_spans": [],
"section": "Web Standard Format",
"sec_num": "2.1"
},
{
"text": "We have crawled 218 million web pages over three months, May -July in 2007, by using the Shim-Crawler, 2 and then converted these pages into web standard format data with results of a Japanese parser, KNP , through our conversion tools. Note that this web page collec-2 http://www.logos.t.u-tokyo.ac.jp/crawler/ <?xml version=\"1.0\" encoding=\"UTF-8\"?> <StandardFormat Url=\"http://www.kantei.go.jp/jp/koizumiprofile/1_sin nen.html\" OriginalEncoding=\"Shift_JIS\" Time=\"2006-08 -14 19:48:51\"><Text Type=\"default\"> <S Id=\"1\" Length=\"70\" Offset=\"525\"> <RawString> ( tion consists of pages written not only in Japanese but also in other languages.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "The web pages in the collection are converted into the standard format data according to the following four steps:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "Step 1: Extract Japanese web pages from a given page collection.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "Step 2: Detect Japanese sentence boundaries in the extracted web pages.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "Step 3: Analyze the Japanese sentences by the NLP tools.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "Step 4: Generate standard format data from the extracted sentences and their analyzed results.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "We followed the procedure proposed in Kawahara and Kurohashi (2006) for Steps 1 and 2. The web pages were processed by a grid computing environment that consists of 640 CPU cores and 640 GB main memory in total. It took two weeks to finish the conversion. As a result, 100 million web standard format data were obtained. In other words, the remaining 118 million web pages were regarded as non-Japanese pages by our tools.",
"cite_spans": [
{
"start": 38,
"end": 67,
"text": "Kawahara and Kurohashi (2006)",
"ref_id": "BIBREF3"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "The comparison between original web pages and the standard format data corresponding to these pages in terms of file size are shown in Table 1 . We can see that the file size of the web standard format data is over five times bigger than that of the original web pages.",
"cite_spans": [],
"ref_spans": [
{
"start": 135,
"end": 142,
"text": "Table 1",
"ref_id": "TABREF1"
}
],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "3 Search Engine TSUBAKI",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "In this section, we describe the indices and search algorithm used in TSUBAKI.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Construction of Web Standard Format Data Collection",
"sec_num": "2.2"
},
{
"text": "TSUBAKI has indexed 100 million Japanese web pages described in Section 2.2. Inverted index data were created by both words and dependency relations. Note that the index data are constructed from parsing results in the standard format data.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Indices in TSUBAKI",
"sec_num": "3.1"
},
{
"text": "Handling of synonymous expressions is a crucial problem in IR. Especially, since Japanese uses three kinds of alphabets, Hiragana, Katakana and Kanji, spelling variation is a big obstacle. For example, the word \"child\" can be represented by at least three spellings \" \", \" \" and \" \" in Japanese. Although these spellings mean child, existing search engines handle them in totally different manner. Handling of spelling variations is important for improving search engine performance.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Word Index",
"sec_num": "3.1.1"
},
{
"text": "To handle spelling variations properly, TSUBAKI exploits results of JUMAN , a Japanese morphological analyzer. JUMAN segments a sentence into words, and gives representative forms of the words simultaneously. For example, JUMAN gives us \"",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Word Index",
"sec_num": "3.1.1"
},
{
"text": "\" as a representative form of the words \" \", \" \" and \" .\" TSUBAKI indexes web pages by word representative forms. This allows us to retrieve web pages that include different spellings of the queries.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Word Index",
"sec_num": "3.1.1"
},
{
"text": "TSUBAKI also indexes word positions for providing search methods such as an exact phrase search. A word position reflects the number of words appearing before the word in a web page. For example, if a page contains N words, the word appearing in the beginning of the page and the last word are assigned 0 and N \u2212 1 as their positions respectively.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Word Index",
"sec_num": "3.1.1"
},
{
"text": "The understanding of web page contents is crucial for obtaining necessary information from the Web. The word frequency and link structure have been used as clues for conventional web page retrieval. These clues, however, are not sufficient to understand web page's contents. We believe that other clues such as parsing results of web page contents are needed for the understanding.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Dependency Relation Index",
"sec_num": "3.1.2"
},
{
"text": "Let us consider the following two sentences: S1: Japan exports automobiles to Germany. S2: Germany exports automobiles to Japan.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Dependency Relation Index",
"sec_num": "3.1.2"
},
{
"text": "Although the above sentences have different meanings, they consist of the same words. This means that a word index alone can never distinguish the semantic difference between these sentences. On the other hand, syntactic parsers can produce different dependency relations for each sentence. Thus, the difference between these sentences can be grasped by looking at their dependency relations. We expect that dependency relations work as efficient clues for understanding web page contents.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Dependency Relation Index",
"sec_num": "3.1.2"
},
{
"text": "As a first step toward web page retrieval considering the meaning of web page contents, TSUBAKI indexes web pages by not only words but also dependency relations. An index of the dependency relation between A and B is represented by the notation A B, which means A modifies B. For instance, the dependency relation indices Japan export, automobile export, to export, and Germany to are generated from the sentence S1.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Dependency Relation Index",
"sec_num": "3.1.2"
},
{
"text": "We have constructed word and dependency relation indices from a web standard format data collection described in Section 2.2. The file size of the constructed indices are shown in Table 2 . We can see that the file size of the word index is larger than that of dependency relation. This is because that the word index includes all position for all word index expression. Moreover, we have compared index data constructed by TSUBAKI and the Apache Lucene, 3 an open source information retrieval library, in terms of the file size. We first selected a million web pages from among 100 million pages, and then indexed them by using the indexer of TSUBAKI and that of the Lucene. 4 While TSUBAKI's indexer indexed web pages by the both words and dependency relations, the Lucene's indexer indexed pages by only words. The comparison result is listed in Table 3 . We can see that the word index data constructed by TSUBAKI indexer is larger than that of the Lucene. But, the file size of the TSUBAKI's index data can be made smaller because the TSUB-AKI indexer does not optimize the constructed index data.",
"cite_spans": [],
"ref_spans": [
{
"start": 180,
"end": 187,
"text": "Table 2",
"ref_id": "TABREF2"
},
{
"start": 849,
"end": 856,
"text": "Table 3",
"ref_id": "TABREF3"
}
],
"eq_spans": [],
"section": "Construction of Index data",
"sec_num": "3.1.3"
},
{
"text": "TSUBAKI is run on a load balance server, four master servers and 27 search servers. Word and dependency relation indices generated from 100 million web pages are divided into 100 pieces respectively, and each piece is allocated to the search servers. In short, each search server has the word and dependency relation indices generated from at most four million pages.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "The procedure for retrieving web pages is shown in Figure 3 . Each search server calculates relevance scores between a user's query and each doc-3 http://lucene.apache.org/java/docs/index.html 4 We used the Lucene 2.0 for Japanese which is available from https://sen.dev.java.net/servlets/ProjectDocumentList? folderID=755&ex pandFolder=755&folderID=0",
"cite_spans": [
{
"start": 193,
"end": 194,
"text": "4",
"ref_id": null
}
],
"ref_spans": [
{
"start": 51,
"end": 59,
"text": "Figure 3",
"ref_id": "FIGREF2"
}
],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "Step 1: The load balance server forwards user's query Q to the most unoccupied master server.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "Step 2: The master server extracts the set of index expressions q from the given query Q, and transmits the set of q and search conditions such as a logical operator (i.e., AND/OR) between words in Q to 27 search servers.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "Step 3: The search server retrieves web pages according to the set of q and search conditions by using word and dependency relation indices.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "Step 4: The search server calculates a relevance score for each retrieved document, and then returns the documents with their scores to the master server.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "Step 5: The master server sorts the returned documents according to their calculated scores.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "Step 6: The top M documents are presented to the user as a search result. ument that matches the query. We used the sum of OKAPI BM25 (Robertson et al., 1992) scores over index expressions in the query as the relevance score. The relevance score score rel is defined as:",
"cite_spans": [
{
"start": 134,
"end": 158,
"text": "(Robertson et al., 1992)",
"ref_id": "BIBREF6"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "score rel (Q, d) = \u2211 q\u2208Q BM25 (q, d) BM25 (q, d) = w \u00d7 (k 1 + 1)fq K + fq \u00d7 (k 3 + 1)qfq k 3 + qfq w = log N \u2212 n + 0.5 n + 0.5 , K = k 1 ((1 \u2212 b) + b l l ave )",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "where q is an index expression extracted from the query Q, fq is the frequency of the expression q in a document d, qfq is the frequency of q in Q, and N is the total number of crawled web pages. TSUBAKI used 1.0 \u00d7 10 8 as N . n is the document frequency of q in 100 million pages, l is the document length of d (we used the number of words in the document d), and l ave is the average document length over all the pages. In addition to them, the parameters of OKAPI BM25, k 1 ,k 3 and b were set to 2, 0 and 0.75, respectively. Consider the expression \"global warming's effect\" as a user's query Q. The extracted index expressions from Q are shown in Figure 4 . Each search server calculates a BM25 score for each index expression (i.e., effect, global, . . . , global warm) , and sums up the calculated scores.",
"cite_spans": [
{
"start": 732,
"end": 775,
"text": "(i.e., effect, global, . . . , global warm)",
"ref_id": null
}
],
"ref_spans": [
{
"start": 652,
"end": 660,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "Note that BM25 scores of dependency relations are larger than those of single words because the Figure 4 : The index expressions extracted from the query \"global warming's effect.\" document frequencies of dependency relations are relatively smaller than those of single words. Consequently, TSUBAKI naturally gives high score values to web pages that include the same dependency relations as the one included in the given query.",
"cite_spans": [],
"ref_spans": [
{
"start": 96,
"end": 104,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "Search Algorithm",
"sec_num": "3.2"
},
{
"text": "As mentioned before, TSUBAKI provides the API without any restriction. The API can be queried by \"REST (Fielding, 2000) -Like\" operators in the same way of Yahoo! API. TSUBAKI API users can obtain search results through HTTP requests with URLencoded parameters. Examples of the available request parameters are listed in Table 4 . The sample request using the parameters is below:",
"cite_spans": [
{
"start": 103,
"end": 119,
"text": "(Fielding, 2000)",
"ref_id": "BIBREF1"
}
],
"ref_spans": [
{
"start": 321,
"end": 328,
"text": "Table 4",
"ref_id": "TABREF4"
}
],
"eq_spans": [],
"section": "TSUBAKI API",
"sec_num": "4"
},
{
"text": "Case 1: Get the search result ranked at top 20 with snippets for the search query \" (Kyoto)\". http://tsubaki.ixnlp.nii.ac.jp/api.cgi?query=%E4 %BA%AC%E9%83%BD&starts=1&results=20 TSUBAKI API returns an XML document in Figure 5 for the above request. The result includes a given query, a hitcount, the IDs of web pages that match the given query, the calculated scores and others. The page IDs in the result enable API users to obtain cached web pages and web standard format data. An example request for obtaining the web standard format data with document ID 01234567 is below.",
"cite_spans": [],
"ref_spans": [
{
"start": 218,
"end": 226,
"text": "Figure 5",
"ref_id": null
}
],
"eq_spans": [],
"section": "TSUBAKI API",
"sec_num": "4"
},
{
"text": "Case 2: Get web standard format data with the document ID 01234567. http://tsubaki.ixnlp.nii.ac.jp/api.cgi?id=01234-567&format=xml",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "TSUBAKI API",
"sec_num": "4"
},
{
"text": "The hitcounts of words are frequently exploited in NLP tasks. For example, Turney (Turney, 2001) proposed a method that calculates semantic similarities between two words according to their hitcounts obtained from an existing search engine. Although TSUBAKI API users can obtain a query's hitcount from a search result shown in Figure 5 , TSUBAKI API provides an access method for directly obtaining query's hitcount. The API users can obtain only a hitcount according to the following HTTP request.",
"cite_spans": [
{
"start": 82,
"end": 96,
"text": "(Turney, 2001)",
"ref_id": "BIBREF8"
}
],
"ref_spans": [
{
"start": 328,
"end": 336,
"text": "Figure 5",
"ref_id": null
}
],
"eq_spans": [],
"section": "TSUBAKI API",
"sec_num": "4"
},
{
"text": "Case 3: Get the hitcount of the query \" (Kyoto)\" http://tsubaki.ixnlp.nii.ac.jp/api.cgi? query=%E4%BA%AC%E9%83%BD& only hitcounts=1",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "TSUBAKI API",
"sec_num": "4"
},
{
"text": "In this case, the response of the API is a plain-text data indicating the query's hitcount.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "TSUBAKI API",
"sec_num": "4"
},
{
"text": "As mentioned before, existing search engine APIs such as Google API are insufficient for infrastructures to help the development of new IR methodology, since they have some restrictions such as a limited number of API calls a day. The differences between TSUBAKI API and existing search engine APIs are summarized in Table 5 . Other than access restrictions, the serious problem of these APIs is that they cannot always reproduce previously-provided <ResultSet time=\"2007-10-15 14:27:01\" query=\" \" totalResultsAvailable=\"4721570\" totalResultsReturned=\"20\" firstResultPosition=\"1\" logicalOperator=\"AND\" forceDpnd=\"0\" dpnd=\"1\" filterSimpages=\"1\"> <Result Rank=\"1\" Id=\"017307147\" Score=\"8.87700\"> <Title> </Title> <Url>http://www.docch.net/blog/jtb-e/kyouto.shtml</Url> <Snippet/> <Cache> <Url>http://tsubaki.ixnlp.nii.ac.jp/index.cgi?URL=INDEX_DIR/h017/h01730/017307147.html&KEYS=%E4%BA% AC%E9%83%BD</Url> <Size>2900</Size> </Cache> </Result> ... </ResultSet> Figure 5 : An example of a search result returned from TSUBAKI API. search results because their indices are updated frequently. Because of this, it is difficult to precisely compare between systems using search results obtained on different days. Moreover, private search algorithms are also the problem since API users cannot know what goes on in searching web pages. Therefore, it is difficult to precisely assess the contribution of the user's proposed method as long as the method uses the existing APIs.",
"cite_spans": [],
"ref_spans": [
{
"start": 317,
"end": 324,
"text": "Table 5",
"ref_id": "TABREF5"
},
{
"start": 958,
"end": 966,
"text": "Figure 5",
"ref_id": null
}
],
"eq_spans": [],
"section": "Related Work",
"sec_num": "5"
},
{
"text": "Open source projects with respect to search engines such as the Apache Lucene and the Rast 5 can be also regarded as related work. Although these projects develop an open search engine module, they do not operate web search engines. This is different from our study. The comparison between TSUBAKI and open source projects with respect to indexing and ranking measure are listed in Table 6 .",
"cite_spans": [],
"ref_spans": [
{
"start": 382,
"end": 389,
"text": "Table 6",
"ref_id": "TABREF6"
}
],
"eq_spans": [],
"section": "Related Work",
"sec_num": "5"
},
{
"text": "The Search Wikia project 6 has the similar goal to one of our goals. The goal of this project is to create an open search engine enabling us to know how the system and the algorithm operate. However, the algorithm of the search engine in this project is not made public at this time.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Related Work",
"sec_num": "5"
},
{
"text": "The Web Laboratory project (Arms et al., 2006 ) also has the similar goal to ours. This project aims at developing an infrastructure to access the snapshots of the Web taken by the Internet Archive. 7 Currently the pilot version of the infrastructure is released. The released infrastructure, however, allows users to access only the web pages in the Amazon.com Web site. Therefore, TSUBAKI is different from the infrastructure of the Web Laboratory project in terms 5 http://projects.netlab.jp/rast/ 6 http://search.wikia.com/wiki/Search Wikia 7 http://www.archive.org/index.php ",
"cite_spans": [
{
"start": 27,
"end": 45,
"text": "(Arms et al., 2006",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Related Work",
"sec_num": "5"
},
{
"text": "We have described TSUBAKI, an open search engine infrastructure for developing new information access methodology. Its major characteristics are:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "6"
},
{
"text": "\u2022 the API without any restriction,",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "6"
},
{
"text": "\u2022 transparent and reproducible search results,",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "6"
},
{
"text": "\u2022 Web standard format for sharing pre-processed web pages and",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "6"
},
{
"text": "\u2022 indices generated by deep NLP.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "6"
},
{
"text": "TSUBAKI provides not only web pages retrieved from 100 million Japanese pages according to a user's query but also pre-processed large scale web pages produced by using a high-performance computing environment. On the TSUBAKI infrastructure, we are developing a new information access method that organizes retrieved web pages in a search result into clusters of pages that have relevance to each other. We believe that this method gives us more flexible information access than existing search methods.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "6"
},
{
"text": "Furthermore, we are building on the TSUBAKI infrastructure a common evaluation environment to evolve IR methodology. Such an environment is necessary to easily evaluate novel IR methodology, such as a new ranking measure, on a huge-scale web collection.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "6"
},
{
"text": "Our future work is to handle synonymous expressions such as \"car\" and \"automobile.\" Handling synonymous expressions is important for improving the performance of search engines. The evaluation of TSUBAKI's performance is necessary, which is also our future work.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "6"
},
{
"text": "http://i-explosion.ex.nii.ac.jp/i-explosion/ctr.php/m/Inde-xEng/a/Index/",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
}
],
"back_matter": [],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "Building a research library for the history of the web",
"authors": [
{
"first": "Y",
"middle": [],
"last": "Wiiliam",
"suffix": ""
},
{
"first": "Selcuk",
"middle": [],
"last": "Arms",
"suffix": ""
},
{
"first": "Pavel",
"middle": [],
"last": "Aya",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Dmitriev",
"suffix": ""
},
{
"first": "J",
"middle": [],
"last": "Blazej",
"suffix": ""
},
{
"first": "Ruth",
"middle": [],
"last": "Kot",
"suffix": ""
},
{
"first": "Lucia",
"middle": [],
"last": "Mitchell",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Walle",
"suffix": ""
}
],
"year": 2006,
"venue": "Proceedings of the Joint Conference on Digital Libraries",
"volume": "",
"issue": "",
"pages": "95--102",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Wiiliam Y. Arms, Selcuk Aya, Pavel Dmitriev, Blazej J. Kot, Ruth Mitchell, and Lucia Walle. 2006. Building a research library for the history of the web. In Pro- ceedings of the Joint Conference on Digital Libraries, June 2006, pages 95-102.",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "Architectural Styles and the Design of Network-based Software Architectures",
"authors": [
{
"first": "Roy",
"middle": [
"Thomas"
],
"last": "Fielding",
"suffix": ""
}
],
"year": 2000,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Roy Thomas Fielding. 2000. Architectural Styles and the Design of Network-based Software Architectures. Ph.D. thesis, University of California, Irvine.",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "Virtual private grid: A command shell for utilizing hundreds of machines efficiently",
"authors": [
{
"first": "Kenji",
"middle": [],
"last": "Kaneda",
"suffix": ""
},
{
"first": "Kenjiro",
"middle": [],
"last": "Taura",
"suffix": ""
},
{
"first": "Akinori",
"middle": [],
"last": "Yonezawa",
"suffix": ""
}
],
"year": 2002,
"venue": "2nd IEEE/ACM International Symposium on Cluster Computing and the Grid",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Kenji Kaneda, Kenjiro Taura, and Akinori Yonezawa. 2002. Virtual private grid: A command shell for uti- lizing hundreds of machines efficiently. In In 2nd IEEE/ACM International Symposium on Cluster Com- puting and the Grid (CCGrid 2002).",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "Case frame compilation from the web using highperformance computing",
"authors": [
{
"first": "Daisuke",
"middle": [],
"last": "Kawahara",
"suffix": ""
},
{
"first": "Sadao",
"middle": [],
"last": "Kurohashi",
"suffix": ""
}
],
"year": 2006,
"venue": "Proceedings of the 5th International Conference on Language Resources and Evaluation (LREC2006)",
"volume": "",
"issue": "",
"pages": "1344--1347",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Daisuke Kawahara and Sadao Kurohashi. 2006. Case frame compilation from the web using high- performance computing. In Proceedings of the 5th International Conference on Language Resources and Evaluation (LREC2006), pages 1344-1347.",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "A syntactic analysis method of long japanese sentences based on the detection of conjunctive structures",
"authors": [
{
"first": "Sadao",
"middle": [],
"last": "Kurohashi",
"suffix": ""
},
{
"first": "Makoto",
"middle": [],
"last": "Nagao",
"suffix": ""
}
],
"year": 1994,
"venue": "Computational Linguistics",
"volume": "",
"issue": "4",
"pages": "507--534",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Sadao Kurohashi and Makoto Nagao. 1994. A syntactic analysis method of long japanese sentences based on the detection of conjunctive structures. Computational Linguistics, (4):507-534.",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Improvements of japanese morphological analyzer juman",
"authors": [
{
"first": "Sadao",
"middle": [],
"last": "Kurohashi",
"suffix": ""
},
{
"first": "Toshihisa",
"middle": [],
"last": "Nakamura",
"suffix": ""
},
{
"first": "Yuji",
"middle": [],
"last": "Matsumoto",
"suffix": ""
},
{
"first": "Makoto",
"middle": [],
"last": "Nagao",
"suffix": ""
}
],
"year": 1994,
"venue": "The International Workshop on Sharable Natural Language",
"volume": "",
"issue": "",
"pages": "22--28",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Sadao Kurohashi, Toshihisa Nakamura, Yuji Matsumoto, and Makoto Nagao. 1994. Improvements of japanese morphological analyzer juman. In The International Workshop on Sharable Natural Language, pages 22 - 28.",
"links": null
},
"BIBREF6": {
"ref_id": "b6",
"title": "Okapi at TREC",
"authors": [
{
"first": "Stephen",
"middle": [
"E"
],
"last": "Robertson",
"suffix": ""
},
{
"first": "Steve",
"middle": [],
"last": "Walker",
"suffix": ""
},
{
"first": "Micheline",
"middle": [],
"last": "Hancock-Beaulieu",
"suffix": ""
},
{
"first": "Aarron",
"middle": [],
"last": "Gull",
"suffix": ""
},
{
"first": "Marianna",
"middle": [],
"last": "Lau",
"suffix": ""
}
],
"year": 1992,
"venue": "Text REtrieval Conference",
"volume": "",
"issue": "",
"pages": "21--30",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Stephen E. Robertson, Steve Walker, Micheline Hancock-Beaulieu, Aarron Gull, and Marianna Lau. 1992. Okapi at TREC. In Text REtrieval Conference, pages 21-30.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Connecting to your knowledge nuggets",
"authors": [],
"year": 2001,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "The Delphi Group White Paper. 2001. Connecting to your knowledge nuggets. http://www.delphiweb.com/knowle- dgebase/documents/upload/pdf/1802.pdf.",
"links": null
},
"BIBREF8": {
"ref_id": "b8",
"title": "Mining the web for synonyms: Pmiir versus lsa on toefl",
"authors": [
{
"first": "Peter",
"middle": [],
"last": "Turney",
"suffix": ""
}
],
"year": 2001,
"venue": "Proceedings of the Twelfth European Conference on Machine Learning (ECML-2001)",
"volume": "",
"issue": "",
"pages": "491--502",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Peter Turney. 2001. Mining the web for synonyms: Pmi- ir versus lsa on toefl. In Proceedings of the Twelfth European Conference on Machine Learning (ECML- 2001), pages 491-502. University of California. 2003. How much information? 2003.",
"links": null
}
},
"ref_entries": {
"FIGREF0": {
"uris": null,
"num": null,
"type_str": "figure",
"text": "An overview of TSUBAKI."
},
"FIGREF1": {
"uris": null,
"num": null,
"type_str": "figure",
"text": "An example of web standard format data with results of the Japanese parser KNP."
},
"FIGREF2": {
"uris": null,
"num": null,
"type_str": "figure",
"text": "The search procedure of TSUBAKI. (Steps 3 and 4 are performed in parallel.)"
},
"FIGREF3": {
"uris": null,
"num": null,
"type_str": "figure",
"text": "Word index: effect, global, warm, Dependency relation index: global warm, warm effect"
},
"TABREF1": {
"content": "<table><tr><td colspan=\"2\">Document set File size [TB]</td></tr><tr><td>Original web pages</td><td>0.6</td></tr><tr><td>Standard format styled data</td><td>3.1</td></tr></table>",
"html": null,
"type_str": "table",
"num": null,
"text": "File size comparison between original web pages and standard format data (The number of web pages is 100 millions, and both the page sets are compressed by gzip.)"
},
"TABREF2": {
"content": "<table><tr><td colspan=\"2\">Index type File size [TB]</td></tr><tr><td>Word</td><td>1.17</td></tr><tr><td>Dependency relation</td><td>0.89</td></tr></table>",
"html": null,
"type_str": "table",
"num": null,
"text": "File sizes of the word and dependency relation indices constructed from 100 million web pages."
},
"TABREF3": {
"content": "<table><tr><td colspan=\"2\">: Comparison with index data of TSUBAKI</td></tr><tr><td colspan=\"2\">and the Apache Lucene in terms of index data size</td></tr><tr><td>(The number of web pages is a million.)</td><td/></tr><tr><td colspan=\"2\">Search engine File size [GB]</td></tr><tr><td>TSUBAKI (words)</td><td>12.0</td></tr><tr><td>TSUBAKI (dependency relations)</td><td>9.1</td></tr><tr><td>Apache Lucene</td><td>4.7</td></tr></table>",
"html": null,
"type_str": "table",
"num": null,
"text": ""
},
"TABREF4": {
"content": "<table><tr><td>Parameter</td><td>Value</td><td>Description</td></tr><tr><td>query</td><td>string</td><td>The query to search for (UTF-</td></tr><tr><td/><td/><td>8 encoded). The query param-</td></tr><tr><td/><td/><td>eter is required for obtaining</td></tr><tr><td/><td/><td>search results</td></tr><tr><td>start</td><td>integer:</td><td>The starting result position to</td></tr><tr><td/><td>default 1</td><td>return.</td></tr><tr><td>results</td><td>integer:</td><td>The number of results to re-</td></tr><tr><td/><td>default 20</td><td>turn.</td></tr><tr><td colspan=\"2\">logical operator AND/OR:</td><td>The logical operation to</td></tr><tr><td/><td>default AND</td><td>search for.</td></tr><tr><td>dpnd</td><td colspan=\"2\">0/1: default 1 Specifies whether to use de-</td></tr><tr><td/><td/><td>pendency relations as clues for</td></tr><tr><td/><td/><td>document retrieving. Set to 1</td></tr><tr><td/><td/><td>to use dependency relations.</td></tr><tr><td colspan=\"3\">only hitcounts 0/1: default 0 Set to 1 to obtain a query's hit-</td></tr><tr><td/><td/><td>count only.</td></tr><tr><td>snippets</td><td colspan=\"2\">0/1: default 0 Set to 1 to obtain snippets.</td></tr><tr><td>id</td><td>string</td><td>The document ID to obtain</td></tr><tr><td/><td/><td>a cached web page or stan-</td></tr><tr><td/><td/><td>dard format data correspond-</td></tr><tr><td/><td/><td>ing to the ID. This parameter</td></tr><tr><td/><td/><td>is required for obtaining web</td></tr><tr><td/><td/><td>pages or standard format data.</td></tr><tr><td>format</td><td>html/xml</td><td>The document type to return.</td></tr><tr><td/><td/><td>This parameter is required if</td></tr><tr><td/><td/><td>the parameter id is set.</td></tr></table>",
"html": null,
"type_str": "table",
"num": null,
"text": "The request parameters of TSUBAKI API."
},
"TABREF5": {
"content": "<table><tr><td>Features</td><td colspan=\"3\">Google Yahoo! TSUBAKI</td></tr><tr><td># of API calls a day</td><td colspan=\"2\">1,000 50,000</td><td>unlimited</td></tr><tr><td># of URLs in a search result</td><td>1,000</td><td>1,000</td><td>unlimited</td></tr><tr><td>Providing cached pages</td><td>Yes</td><td>Yes</td><td>Yes</td></tr><tr><td>Providing processed pages</td><td>No</td><td>No</td><td>Yes</td></tr><tr><td>Updating indices</td><td>Yes</td><td>Yes</td><td>No</td></tr></table>",
"html": null,
"type_str": "table",
"num": null,
"text": "The differences between TSUBAKI API and existing search engine APIs."
},
"TABREF6": {
"content": "<table><tr><td>Search Engine</td><td>Indexing</td><td>Ranking Measure</td></tr><tr><td>TSUBAKI</td><td>word, dependency</td><td>OKAPI BM25</td></tr><tr><td/><td>relation</td><td/></tr><tr><td colspan=\"2\">Apache Lucene character bi-gram,</td><td>TF\u2022IDF</td></tr><tr><td/><td>word</td><td/></tr><tr><td>RAST</td><td>character bi-gram,</td><td>TF\u2022IDF</td></tr><tr><td/><td>word</td><td/></tr><tr><td colspan=\"3\">of the scale of a used web page collection.</td></tr></table>",
"html": null,
"type_str": "table",
"num": null,
"text": "Comparison with indexing and ranking measure."
}
}
}
}