Elamur Research

Design and Implementation of the Online ILSP Greek Corpus

Paper · 2000 · Nick Hatzigeorgiu, Maria Gavrilidou, Stelios Piperidis et al.

Summary

A collection of written Greek can show how people use words, but only if readers can find the examples they need and tell where those examples came from. A search for a particular spelling answers a different question from a search for all the inflected forms of a word. A search through newspapers may also yield different evidence from one through books. Using the Hellenic National Corpus (HNC), which the Institute for Language and Speech Processing developed and which contains over 24 million running words, the authors explain how they dealt with these problems. They present it as the first widely available corpus of Modern Greek. The paper follows the resource from the selection of texts to the display of search results in a browser.

The collection draws on books, newspapers, periodicals, and miscellaneous sources. The authors selected material originally written in Greek, considered readership and variety of register, and excluded texts rich in dialectal or idiomatic forms. Books contributed randomly selected passages because of copyright concerns. Material from the other source categories was included in full. Each document received bibliographic information and classifications for medium, genre, and topic. The team extended the shared PAROLE classification scheme with more specific genre and topic labels, giving researchers finer control over the documents included in a search.

The authors prepared the texts for retrieval by identifying word and sentence boundaries, as well as units such as dates and abbreviations. This step, known as tokenization, had to account for punctuation that can belong to a written expression or signal the end of a sentence. The processed texts went into a relational database together with document information and indexes. For searches that go beyond literal spelling, the database uses a Greek lexicon containing 65,500 lemmas and 1,650,000 inflected forms. A lemma is the dictionary form under which related forms are grouped. The lexicon lets a query begin with that dictionary entry or with a grammatical description.

The resulting interface combines these choices in a single search. A reader can select texts by source or subject, specify up to three search terms of different types, and set maximum distances between them. The site returns sentences, highlights the matching expressions, and lets the reader inspect information about the source document. It also provides frequency lists for written forms and lemmas. The paper establishes what the team built and which operations the resource could support. Its quantitative evidence describes the collection, the lexicon, and the scope of the query implementation. The paper leaves segmentation accuracy and search performance unmeasured.

Deep dive: Design and Implementation of the Online ILSP Greek Corpus

How the ILSP team built the Hellenic National Corpus and made written Modern Greek searchable by word form, grammatical category, and text type. · about 32 minutes to read

The problem and its context

Finding evidence of written usage

The HNC was designed to furnish examples of contemporary written Modern Greek. The authors place it in the tradition of general-purpose monolingual corpora, where a collection of texts is assembled to document how a language is used. A corpus in this sense is more than an accumulation of documents. Its selection policy determines which kinds of writing a researcher can examine, and its organization determines which comparisons a researcher can make. The project therefore had to address questions of evidence alongside questions of software, a connection central to corpus linguistics.

Readership was one of the authors’ selection criteria. They sought newspapers with relatively high circulation, and most of the books selected had appeared on bestseller lists. These choices made exposure to the writing a consideration in building the corpus. The authors also sought variety in register, the kinds of language associated with different communicative circumstances, by drawing on multiple media, genres, and topics. Material had to have been written in Greek originally, and the team excluded texts with a high concentration of dialectal or idiomatic forms. Together, those choices define the written usage that the resource was meant to document.

The distinction between where a text appears, what kind of text it is, and what it discusses matters for retrieval. A newspaper is a medium, but the articles in it can inform, advertise, or offer commentary. A subject such as health can occur in several genres and media. If the collection described every newspaper article only as a newspaper text, a reader could still filter by source but would lose the ability to isolate a particular kind of writing or track a subject across publications. The HNC design treats these as separable properties of the same document.

The authors based that division on PAROLE, a corpus encoding standard that in turn follows TEI and EAGLES guidelines. The paper presents earlier documentation work on the Greek collection as the basis for extending the standard categories. The shared scheme supplied broad distinctions, while the HNC extensions provided more detailed descriptions of genre and topic. This arrangement made the classification useful for retrieval at different levels of specificity. A broad category could serve a general investigation, while a more detailed label could define a narrower set of texts. Both relied on linguistic annotation.

A stored stream of text has to be divided into useful units before a system can return sentences or locate nearby terms. A space can help identify written words, but punctuation poses harder cases. A period might end a sentence, occur inside an abbreviation, or be part of another structured expression. The status of such marks affects which words the system sees and which sentence it considers them to belong to. The paper names dates, numbers, acronyms, abbreviations, and alphanumeric references among the cases that motivate explicit boundary rules.

The authors situate their tokenizer among several ways earlier research addressed these decisions. Grefenstette and Tapanainen used regular-expression grammars and abbreviation lists, then added linguistic information to improve the recognition of sentences. The relevant idea is that text patterns can resolve many routine cases, while resources such as abbreviation lists help with marks whose role depends on the expression containing them. That line of work shares with the HNC an interest in making rules for written forms and punctuation usable on real texts.

Palmer and Hearst took a trainable approach, combining a lexicon that supplied probabilities for grammatical categories with a feed-forward neural network. Chanod and Tapanainen separated the recognition of simple tokens from the treatment of more complex expressions. They assigned the former to a finite-state automaton and encoded a range of expressions containing multiple words in a lexical transducer. The examples illustrate how earlier work approached different parts of the same problem, from assessing a potential sentence boundary in context to recognizing an expression that spans apparent word boundaries.

The paper also discusses an approach that uses previously annotated sentences and guidance about the information relevant to boundary decisions. This is the method described in A Maximum Entropy Approach to Identifying Sentence Boundaries. The HNC adopts a tokenizer developed at ILSP along the lines of the MULTEXT text-processing tools. These earlier approaches establish the alternatives available to the authors. Their own account centers on the selected tokenizer’s role in preparing a searchable collection.

Searching beyond a spelling

Written Greek raises another choice once the boundaries are in place. A person looking for examples of a word might want an exact written form, such as a noun in a particular case. The same person might instead want every form that belongs to its dictionary entry. Greek inflection can change both an ending and the placement of the stress mark. A search that keys on a single spelling therefore serves a narrower purpose than one that uses the lexicon to connect variant forms. The lexicon supplies the information needed to turn an inquiry about a dictionary entry into a search of the written text. This is the practical role of morphology in the system.

The authors also wanted readers to pose queries in grammatical terms. A search might identify one term by its literal form and another by the grammatical description of the forms that can satisfy it. Supporting this combination means keeping distinct the words actually present in the corpus, the grammatical information available in the lexicon, and the search conditions a reader enters. It also means relating them efficiently enough that a browser interface can expose the choices without requiring users to write a database query.

Choosing a way to store and expose the collection

The paper describes text-oriented systems as a common choice for electronic corpora. The HNC team chose a relational database, where documents, sentences, and words are stored in linked tables. The authors also considered an arrangement in which the database held indexes and files held the text. Their decision to put the processed material in the database reflected their judgment that a relational system could accommodate the volume of text and serve the information the interface needed. The storage decision and the retrieval design were closely connected because a single search might have to consult textual content, word positions, and document classifications.

The authors saw the web as a way to make the resource available to researchers across computer platforms. A browser could present standard controls for composing a query, while the server handled database access and prepared the response. This put the detailed work of connecting texts, linguistic information, and search constraints on the service side. The user-facing problem was to express a language question. The implementation problem was to turn that question into operations over the stored collection. In combination, these were problems of information retrieval and search.

The method, step by step

Selecting material and deciding how much to include

Compilation began in 1992 as part of the PAROLE project. The written sources described in the paper were published from 1976 onward. The team applied its selection criteria to the source material, including original language, readership, and variety of writing. A source category describes where the writing came from. The authors distinguish books, newspapers, periodicals, and a miscellaneous category. The last covers material such as correspondence, electronic texts, ephemera, and material supplied in handwritten or typed form.

The policy for books differed from the policy for the other media. A book entered the corpus through a randomly selected sample supplied by the source. The authors explain that sampling offered rights holders some protection against commercial reuse of the content. Other media entered at their full length. The unit available for an analysis of a book was thus a selected passage, while searches of other media could draw on the full texts included in the collection. This is a property of the corpus itself and affects every query, however the user chooses to specify it.

The components of the method connect those selection decisions to what the reader eventually sees. The document classifications define where the system can search. Sentence and word segmentation define what it can retrieve. The lexicon helps interpret grammatical search conditions, and the database connects the resulting sentence to its source information.

From selected Greek texts to browser search results

The steps in order.

From selected Greek texts to browser search resultsStep 1: Select sources and sample books1. Select sources and sample booksStep 2: Classify documents and record bibliographic details2. Classify documents and record bibliographic detailsStep 3: Identify sentence boundaries and mark tokens3. Identify sentence boundaries and mark tokensStep 4: Load processed texts into linked tables4. Load processed texts into linked tablesStep 5: Expand grammatical requests through the lexicon5. Expand grammatical requests through the lexiconStep 6: Query eligible sentences and word positions6. Query eligible sentences and word positionsStep 7: Display matches and source details7. Display matches and source details

Describing a document on several axes

Each document received classifications for medium, genre, and topic. Medium describes the source category. Genre describes the kind of writing. Topic describes the subject matter. The authors’ appendix demonstrates the breadth of the underlying categories. For example, fiction covers a wider range than novels, and instructional writing can include the answers that specialists give to readers in a periodical. The scheme also accommodates material for which a broad category is mixed, unknown, or inapplicable.

Detailed Genre and Detailed Topic extend these categories. The authors describe the sets of finer labels as open-ended. For topic they give health as a broad category and cite medicine, dentistry, and psychology as more specific possibilities. A researcher studying language connected with health may want to start broadly. A search concerned with just one of the specialties can use the more specific classification to define the relevant collection of documents. Genre and topic can also work together. A request concerning instructional writing on health combines a property of the writing with a property of its subject.

The team also coded bibliographic properties such as title, author, and date. These fields connect the record to its origin and give the search interface further ways to restrict the document set. Author and publication date, for instance, answer questions different from genre and topic. The document description remains available when a result is returned, so a sentence can be interpreted with information about its source rather than read as an anonymous example.

The markup used for bibliography and text structure was SGML. Markup inserts information about a text in a form that a program can distinguish from the content being described. Here it recorded document information and structure down to the sentence. The authors also describe the underlying input as simple, unstructured ASCII text whose word-processing or typesetting information had been excluded. These descriptions refer to different stages. A source can lack the formatting of the original publication and acquire structured labels as part of preparation for a corpus.

Turning a stream of characters into searchable units

The authors describe text handling as the preparation that lets later components work with input in a consistent form. A general text handler might interpret physical formatting such as indentation and map it to a common representation. For the HNC, the task they emphasize is linguistic segmentation. The tokenizer identifies word and sentence boundaries and recognizes special units such as dates, abbreviations, digits, list elements, and foreign words. Recognizing these units helps reduce the risk that a sign internal to an expression is treated as a boundary.

The tokenizer takes a regular-expression definition of words as a starting point. A regular expression describes a pattern in a sequence of characters. In this setting it lets the system express which kinds of character sequences are candidates for recognizable written units. The authors combine these patterns with prepared lists relevant to Greek and simple rules for ambiguous punctuation. These resources let the tokenizer handle known abbreviations and make a boundary decision for other apparent abbreviations. They describe the design choice and the kinds of ambiguity it addresses, leaving the exact patterns and rules unspecified.

Consider the role of a period in a form the tokenizer recognizes as an abbreviation. A rule that treated every period as a sentence break would divide the text at that point even if the surrounding sentence continued. The Greek lists and punctuation rules give the system evidence that the mark can be internal to a unit. The same general issue arises when a structured expression contains signs that have other uses elsewhere. The tokenizer’s output makes an interpretation of each such mark part of the searchable representation.

Sentence segmentation matters to the searches that the authors later describe. The interface returns sentences, and a proximity condition refers to words within a sentence. If a sentence is split at an internal mark, terms that belong to the same original sentence may end up in different database records. If an actual boundary is missed, material that belongs to separate sentences may be retrieved together. The tokenizer thus affects both the boundaries of the displayed context and the set of matches available to certain queries. These are consequences of the way the retrieval unit is defined.

The preparation described in the paper is a data procedure. It consists of selecting and describing material, applying patterns and prepared lexical resources, and loading the resulting units. The prior studies discussed by the authors include trainable methods, but the HNC account supplies no training split or process for estimating the tokenizer’s rules from examples. Its stated resources are the word patterns, Greek lists, and heuristics that guide the boundary decisions.

Storing documents, sentences, words, and positions

A corpus loader took the tokenized material and populated the central database tables. The main tables describe documents, the sentences composing those documents, and the words in the sentences. The relationship is important in both directions. A search can start with a document restriction and examine sentences in the selected texts. It can also start from a matched sentence and retrieve information about the document it came from. The word information includes the positions or distances needed for query conditions involving proximity.

The database holds the processed texts, tags, identifiers, and indexes. An identifier gives a stored item a reference that the system can use to connect it to other records. An index helps the database locate relevant records during a search. Stored procedures provide the front end with prepared database operations. The authors describe all of the information needed by the interface as retrievable with standard SQL, the language used to express database queries. This is how the document and token layers become accessible to the same service.

The main tables cover what is in the corpus. Auxiliary tables hold the morphological lexicon. Combined tables bring information from these two classes together to help execute more demanding queries. The authors liken the combined tables to elaborate indexes because their purpose is to assist retrieval. Their account gives the reason for putting these structures in the database. A complex search can otherwise have to assemble information from the main and auxiliary sources at the time the request is made.

The distinction between the main and auxiliary information is particularly useful for understanding a lexical query. The lexicon can state that several written forms belong to a dictionary entry. The corpus can state where any of those forms appears. To find sentences for that entry, the service needs both kinds of information. In a query with additional terms and a metadata filter, it may also need word positions and document classifications. The database design provides places for each relationship, and the combined tables support some of the queries that must use them together.

All of this information resides in the relational database in the implementation described. The web service can retrieve a sentence and its identifiers alongside metadata and query results without consulting a separate store of text files. The paper treats that choice as part of the engineering design. Its account of the database focuses on the logical categories of objects and the work they support, leaving exact table definitions and query plans unspecified.

Connecting lemmas to Greek inflection

The ILSP lexicon represents a dictionary entry through an inflectional paradigm, a pattern that determines the forms associated with the entry. The paper describes a lexicon with 65,500 lemmas and 1,650,000 inflected forms. Its lexical records include stems, endings, and words that do not inflect. Inflectional records represent paradigms. Grammatical features describe properties of the resulting forms, including part of speech, a category such as noun or adjective. These resources let the system connect an abstract lexical entry to a searchable word form.

For the nominal paradigms discussed in the paper, a record includes the grammatical category and, for the relevant categories, gender. It also holds references to a group of endings and to a stress category. The paradigm therefore points to information shared among entries. A lemma carries its own information about the location of the stress and dieresis marks, and the stress paradigm records how stress can move in the course of inflection. The dieresis is a written diacritic. Both kinds of diacritic information matter because the goal is to recover forms as they are written.

The authors illustrate stress movement by describing a noun that can have its stress on the third syllable from the end in the nominative and on the second syllable from the end in the genitive. These are possible positions for stress in different forms of the same entry. A representation that described only the change of ending would miss the written accent change in such a case. Keeping a reference to the stress pattern lets the lexicon include that change in the connection it draws between a lemma and its forms.

The paradigm shown in the paper has index 16 and describes a masculine noun. It points to ending group 49 and stress category 1. These numbers identify lexicon records. The example shows how properties of a nominal entry are distributed across linked pieces of information. Part of speech and gender describe the grammatical pattern. The ending group specifies which set of endings is associated with it, and the stress category specifies the associated movement pattern. The authors use the record to illustrate the organization of the lexicon, without naming a particular noun as the corpus example for that paradigm.

When the user enters a lemma, the system consults the lexicon to find the written forms associated with it and then searches the corpus database. When the user specifies a morphosyntactic tag, a grammatical label for a type of form, the query also goes through the lexicon before corpus retrieval. The lexicon is thus involved in interpreting a search at request time. A literal-form request can go directly to the corpus database. These routes explain how the same sentence collection can be searched through a spelling, a dictionary entry, or a grammatical category. They also distinguish the query mechanism from running part-of-speech tagging on every occurrence in context.

The interface described in the paper begins with a login page. Users who do not furnish valid credentials can enter as guests, with limited search capabilities. Registered users can retain the definitions of subcorpora. A subcorpus here is a set of documents selected through metadata conditions. Its definition can be saved, recalled for later searches, or deleted through the interface. The design lets a user carry a document selection from one inquiry to the next.

Through the interface, users can narrow a search by date, author, publisher, medium, genre and its finer categories, or topic and its finer categories. Some of these criteria describe the writing and some describe its source or publication. The user can specify whichever of the available conditions are relevant. This provides a way to define a collection suited to a particular question. For example, a reader interested in a specialized topic can narrow the document selection before specifying the words to find. The same words can also be sought in the entire HNC.

The authors describe these subsets as dynamic. The user's selection is expressed in terms of document properties, and the chosen subcorpus can be applied or left inactive for a particular request. Defining the eligible documents and defining the sentence pattern are separate actions in the interface. This matters especially for a series of related searches. A researcher can keep the same scope while changing a lexical expression, or keep the same expression while changing the scope. The corpus is organized to support both uses through its stored document classifications.

Expressing relationships between search terms

The sentence search has up to three positions for search terms. Each position can be specified as a written form, a lemma, or a morphosyntactic tag. The interface can mix the types in the same request. One term might therefore be tied to a particular spelling, while another represents any inflected form associated with a dictionary entry. A grammatical tag can specify a property for another term. The constraints describe the words that must be present in a sentence for it to qualify.

Users can also set maximum distances between the requested terms. In practical terms, the distance restriction lets a reader ask for expressions that occur close to each other rather than accepting every sentence containing them. The words stored for each sentence carry the information the database needs for that operation. The paper frames the condition as a limit on separation. Its description supports proximity search without specifying a richer account of the grammatical relation between the matched expressions.

Using literal forms, lemmas, and tags in combination creates a family of implementation cases. The number of occupied positions and the types chosen for those positions affect the database operations needed. A query with only literal forms can search the corpus records directly. When a position refers to the lexicon, the attainable forms have to be determined and matched against the text. A subcorpus introduces a further restriction on the documents whose sentences are eligible.

The paper counts the query patterns according to the number of positions used and the possible type choices in each position.

3 + 9 + 27 = 39

The 3 counts the type choices when only a single position is filled. The 9 counts the type assignments when a pair of positions is filled, and 27 counts them when all the positions are used. The plus signs add the counts for those distinct cases. The equals sign gives their total, 39, before the setting for corpus scope is taken into account. The numbers count patterns of query construction. A literal string, lemma, tag, or distance value supplied by a user is a parameter within a pattern.

39 × 2 = 78

Here 39 is the number of patterns from the preceding calculation. The multiplication sign applies the factor 2, which represents executing a request over the whole corpus or with a subcorpus restriction. The equals sign gives 78 as the resulting count of SQL query types in the authors’ description. Different choices of document criteria can be supplied within the restricted case. The calculation addresses the implementation cases created by the search interface, rather than counting the documents or user requests the system can handle.

Serving the query and returning evidence

The application has a database tier, a web service tier, and a browser interface. The database stores the corpus and carries out the database requests. The web server receives the criteria selected by the reader, constructs the relevant SQL request, and sends it to the database through ODBC, the interface used to communicate with the database. The web server then formats the returned data into HTML pages. The browser presents those pages and the controls used to submit the next request.

This division of responsibilities keeps the query syntax on the server. The reader uses controls such as checkboxes and drop-down lists to express the query. The server turns those selections into the appropriate database request. The implementation difficulty identified by the authors is in getting the different query cases to run efficiently. Similar requests can share parts of their construction, but a request’s cost can depend on the database organization and the way its SQL is written. The authors describe this as work specific to the database system they were using.

The reader can set a maximum number of sentences to return, with a limit of 1000, and specify how many results to display on each page. A result has a sentence identifier and colored matches for the requested terms. If a lemma or a tag was used, the highlighted material still comes from the actual text retrieved by the query. A click on the identifier opens information about that sentence’s source document. The user can copy the returned sentences to a text file for local use.

Frequency lookups are another route to the stored data. A user can inspect lists of common written forms or lemmas or request the frequency of a specified entry. A lemma frequency response includes information for each of its related forms. The purpose differs from sentence retrieval. The sentence view shows individual occurrences in context, while the frequency view summarizes occurrence in the resource and can show how the forms of a lemma are distributed within that total.

Experiments and results

What the paper measures

This is an account of a corpus implementation, and the quantitative evidence describes the system as built. The principal reported quantities are the size of the collection, the inventory of the lexicon, and the number of query types the authors had to accommodate. The paper also gives the limit on the number of requested sentences in a search. These quantities refer to different things. The collection size concerns the data, the lexicon size concerns available linguistic entries and forms, the query count concerns implementation scope, and the sentence limit concerns the amount of output a reader can request.

The authors report more than 24 million running words for the HNC. A running-word count includes occurrences across the texts. The same written form can contribute again when it recurs. The total therefore describes the amount of text available to the system. It cannot be read as an inventory of distinct spellings or meanings. The corpus includes material from books, newspapers, periodicals, and miscellaneous sources. Newspapers make up the largest reported share by medium, followed by books, periodicals, and miscellaneous material. A search over the entire resource draws on that mixture, with the media differing in both their shares and their sampling policies.

The book figure in the medium breakdown refers to material contributed under a sampling scheme. The authors report random passage selection for books and full-text inclusion for the other media. This bears directly on how corpus results should be understood. A match from a book attests the expression in the material sampled from that source. A search with no hits establishes something about the material searchable under the chosen conditions. The scope of the data is part of what makes the result interpretable.

The paper gives 65,500 as the size of the lexical inventory in lemmas and 1,650,000 as the number of inflected forms it produces. Those counts describe the lexicon as a resource. They do not establish how many of its forms are attested in the HNC. The distinction is visible in the query pipeline. A form can belong to the lexical output associated with a lemma and still yield no corpus occurrence for a particular search scope. Similarly, the inventory size alone leaves open how much of the actual written material can be reached through lemma lookup.

A comparison of query scope settings

The cleanest quantitative comparison concerns the types of SQL requests counted by the authors. For unrestricted sentence searches, the count is 39 combinations of occupied positions and term types. Supporting both whole-corpus and subcorpus searches brings the count to 78. The first figure describes the patterns for a fixed corpus scope. The second describes the full search design, including its option to apply a document selection. The authors use this count to explain part of the work involved in implementing and optimizing the interface.

SQL query types by scope setting in HNC sentence search

Supporting a user-defined subcorpus broadens the set of query types the implementation handles.

SQL query types by scope setting in HNC sentence searchWhole-corpus search only: 39Whole-corpus search only39Whole-corpus and subcorpus search (this paper): 78Whole-corpus and subcorpus search (thispaper)78
The numbers
System or settingSQL query types
Whole-corpus search only39
Whole-corpus and subcorpus search (this paper)78

The comparison measures breadth of implementation. Both settings use the same HNC sentence search mechanism. The larger value represents the scope options made available by the system. It says nothing about the relative execution time of requests with and without a subcorpus. Restricting the corpus could narrow the documents that qualify and add conditions the database must evaluate. The authors give no elapsed times for either case, so the count cannot tell a reader which case is faster.

The authors also discuss literal lookups beside requests involving the lexicon. The former retrieves a specified written form from the corpus. Lemma and tag searches use lexical information to identify forms and then query the corpus. That is a comparison of retrieval operations and of the question each operation answers. There is no common accuracy measure with a reference set of matches. The paper provides no test split, hand-checked retrieval set, or quantified baseline against which to score either route.

What the interface demonstrations establish

The paper illustrates a search page and a results page. The search page is the place where the user specifies the sentence pattern and retrieval controls. The results view shows the sentences found and highlights the material that caused each sentence to qualify. The images illustrate the working interaction between the entered conditions and the evidence shown to the user. The account refers readers to the sentence identifiers for access to document information, so the interface offers both an immediate explanation of a match and a route to source details.

The maximum return size of 1000 sentences is a setting for the amount of displayed evidence. The user chooses a ceiling within that limit and a number of sentences per page. A returned list bounded by a display setting should be understood on those terms. The paper describes separate frequency queries for readers who want counts or common forms. A lemma frequency response supplies information about each associated written form, which helps a reader see whether the occurrence information is concentrated in particular forms or spread across them.

This evidence establishes the scope of the implementation and the kind of output it provides. The authors make a qualitative judgment that their tokenization approach was sufficient for recognizing words and sentences, and they report that some SQL query types were time-consuming enough to require optimization. The paper provides no segmentation error rates, response times, or measured gains from those optimizations. The worked interaction, the inventory figures, and the query calculation support claims about available data and functions. They leave the performance of those functions for a separate evaluation.

What the ablations show

The authors report no ablation experiments. Their analyses instead explain which parts of the system different requests use, why they selected a particular storage design, and where they encountered optimization work. These distinctions help identify the contribution each component is intended to make. They provide architectural evidence about how the implementation works.

What changes when the query changes

A literal-form request and a lemma request differ at the point where the system decides what to look for. The literal form supplies the surface expression directly. A lemma provides a lexical entry from which the system obtains related forms before searching the same body of text. This explains why a single query interface accepts both choices. Each asks the user to describe the desired occurrence at a different level of specificity. The comparison gives a mechanism for differences in the resulting sentences, without showing how large those differences are for any particular word.

A morphosyntactic request gives the lexicon a grammatical condition. The paper’s description makes grammatical features useful as a route into the corpus even though the result itself consists of written sentences. The approach relies on the correspondence between entries in the lexicon and forms stored for the text. A possible ambiguity arises when a written form is compatible with more than one analysis. The functionality described is lexical lookup followed by retrieval. The authors leave the treatment of competing analyses for an occurrence unspecified.

The comparison between whole-corpus and restricted search is a comparison of eligible documents. It separates a condition on the provenance or properties of a text from the pattern sought inside a sentence. The query-type calculation records the implementation consequence of exposing both scope settings. It also explains why a feature that looks like a simple choice in the interface adds work at the server and database layers. Each pattern of term types has to be supported with the document restriction as well as without it.

Why the database design matters here

The authors considered holding only indexes in the relational database and storing the text in separate files. Their choice to store the text and its associated information together gives the interface a single database route to the material needed for the result. This is a design comparison. The paper describes the alternative and the reason for the decision, without presenting parallel implementations on which to measure costs.

The main, auxiliary, and combined tables offer another view of the design tradeoff. Main tables store information about the texts. Auxiliary tables store the lexicon. Combined tables support more complicated requests by bringing together information that would otherwise be obtained from those separate sources at query time. The paper attributes a retrieval purpose to the combined tables and notes that performance depends on both the database structure and the SQL used for an individual request. It gives no controlled timing with and without the combined tables, so the scale of any benefit remains open.

An analogous distinction applies to tokenization. Recognizing a form that contains an ambiguous period can support a better-informed sentence boundary decision. The authors explain how the pattern definitions, lists, and heuristics cooperate in that decision. They do not remove those components one at a time and measure the effect. The paper therefore locates where each resource is used in the pipeline and leaves comparative contributions unquantified.

Limitations

Limits the authors state

The authors explicitly tie the sampling of books to copyright. The corpus holds selected passages from books, while texts in the other media are included at full length. Copyright also restricts what the interface displays. A reader can inspect a matching sentence and consult information about the document that contains it. The authors say that a complete-document view would have been straightforward to provide, but rights restrictions kept that function out of the system. This limits how much context a user can recover through the service, including for sources stored in full.

The service imposes limits on access and display. Guest users have reduced search capabilities. Registered users can save definitions of subcorpora. A query can return up to 1000 sentences, with the reader controlling the page size and the requested maximum within that cap. These limits belong to the interface as described in the paper. A collection can contain many further occurrences even when the displayed result has reached its maximum.

The authors identify network latency as a disadvantage of the web approach. They reason that the material transferred is text and therefore comparatively light, and they expected increased bandwidth to ease delays. They also assume a minimum ability to display Greek on the client computer, giving a suitable font as the example. The browser-based design removes the need to install dedicated corpus software, while use of the service still depends on connectivity and readable display.

There is a separate limitation on what the authors generalize about optimization. They found some query types time-consuming and emphasize the role of the particular database system and the formulation of its SQL. Their implementation experience supports the claim that rich search requires attention to query construction. It gives no portable performance figures for a different deployment. The conclusion also treats the size of the HNC as a snapshot of a resource expected to grow as new material was entered.

Limits that follow from the collection

The selection criteria target a defined segment of written usage. The authors favor texts originally written in Greek, consider readership, and exclude texts rich in dialectal or idiomatic language. These choices make some research questions more directly answerable than others. For instance, a finding about the distribution of an expression across the included newspapers and books concerns those sources. Drawing a conclusion about texts excluded by the collection policy would require evidence from those texts. The paper’s ambition to document current usage is broad, while the resource’s coverage follows a specific editorial policy.

The medium distribution and the sampling policies matter for aggregate frequencies. The largest medium contributes a stronger presence to the whole collection, while occurrences from books come from samples. The frequency interface gives information about the HNC and its entries. To infer how a form is distributed across written Greek generally would require a sampling argument and evidence about the populations being compared. The paper gives the principles used to assemble the corpus and leaves such statistical inferences to particular studies.

The document filters give readers a way to work within a narrower body of evidence. Even there, the outcome depends on which documents are included and how they were classified. The authors report broad and detailed categories, with room to extend the latter. They give examples of distinctions the scheme can express. They provide no agreement measurements for the assignment of labels, and no analysis of how consistently particular labels cover documents relevant to the same subject. A precise query filter can therefore yield a well-defined selection in the database while leaving questions about the boundaries of the underlying category.

Limits that follow from the retrieval procedure

A sentence is the central unit of retrieval, so the sentence boundaries matter to every search that depends on that unit. Lists of abbreviations and punctuation heuristics can address common ambiguity, but the paper supplies no manually checked error analysis across the source types. That leaves open how often a difficult boundary is misplaced, which kinds of text contribute such cases, and how many sentence or proximity results they affect. The authors’ qualitative assessment indicates that the rules served their construction process. It provides no estimate of the error rate a reader should expect.

The lexicon’s size is similarly informative about inventory and leaves coverage open. The path from a lemma to a corpus occurrence depends on generating or looking up the relevant written form and finding it among the stored tokens. The path from a grammatical tag to an occurrence raises the question of whether the matching spelling has the requested interpretation in that sentence. The paper does not report contextual disambiguation for those matches. The colored result indicates what the system retrieved under the chosen conditions. A reader assessing a specific grammatical use still needs to examine the sentence.

Maximum distance gives the reader control over proximity, but the evidence it supplies is positional. Words can occur near each other in a sentence for several reasons. The system described finds sentences that meet the distance and term conditions. Establishing a grammatical relationship or a particular sense of a word requires additional analysis of the returned evidence. The query can help a reader locate examples for that analysis, and the source details can help place them in context.

The ability to choose a maximum result size also affects the interpretation of a sentence list. The system can present the evidence in manageable pages, but its list can be bounded by the user’s setting or the service cap. The paper gives no evaluation of how the displayed selection should be used to estimate the distribution of matches. Its frequency functions address a different activity. They return occurrence information for words and lemmas, including a breakdown by related word form for a lemma, while the sentence interface supplies examples that can be read individually.

Limits of the implementation evidence

The paper documents a working application through its design, its described capabilities, and its figures. It gives no benchmark that pits the relational storage design against a text-file alternative, no measured comparison between its tokenizer and the approaches discussed in the background, and no timed study of the browser interface. The report of time-consuming query types identifies a practical difficulty and the need for optimization. It does not establish how the database scales with corpus growth or how its performance changes under different patterns of use.

The numbers in the paper are useful when associated with the objects they count. The size of the corpus establishes how much running text the authors had assembled. The size of the lexicon establishes the extent of the dictionary and inflectional inventory. The query-type count establishes the scope of the combinations the implementation accommodates. None of these measures answers the separate questions of segmentation quality, correctness of grammatical matches, or speed of retrieval. Those questions require evidence about the outputs and the conditions under which searches were run.

What came after

The subsequent research history of the HNC is undocumented in the works discussed here. The paper closes with an expectation that the collection would grow as the team added material. That expectation concerned the corpus as a continuing resource. The publication documents the collection, the processing pipeline, and the forms of access available in the implementation it describes. Later extensions, measurements, and uses cannot be attributed on that basis.

The starting point it establishes for any such history is specific. At publication, a researcher could select a portion of the written collection through document metadata, describe a sentence pattern through spellings or lexical and grammatical information, and inspect examples alongside their source details. Frequency lookups gave a separate way to examine written forms and lemmas. A later account could build on any of those functions, but linking that work to this implementation would require evidence of what it used or changed.

Cite

Cite as Nick Hatzigeorgiu, Maria Gavrilidou, Stelios Piperidis, George Carayannis, Anastasia Papakostopoulou, Athanassia Spiliotopoulou, Anna Vacalopoulou, Penny Labropoulou, Elena Mantzari, Harris Papageorgiou and Iason Demiros. 2000. Design and Implementation of the Online ILSP Greek Corpus. Proceedings of the Second International Conference on Language Resources and Evaluation (LREC'00).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{hatzigeorgiu2000design,
  title = {{Design and Implementation of the Online ILSP Greek Corpus}},
  author = {Nick Hatzigeorgiu, Maria Gavrilidou, Stelios Piperidis, George Carayannis, Anastasia Papakostopoulou, Athanassia Spiliotopoulou, Anna Vacalopoulou, Penny Labropoulou, Elena Mantzari, Harris Papageorgiou and Iason Demiros},
  booktitle = {Proceedings of the Second International Conference on Language Resources and Evaluation (LREC'00)},
  year = {2000},
  url = {https://aclanthology.org/L00-1250/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hatzigeorgiu-2000-design-implementation-online-ilsp-greek/