< 

The Corpora XML File

< 

Table of Contents

< 

The Word Classes XML File


The Authors XML File

The file authors.xml defines all the authors and their attributes and tagging data. The standard NU file is:

<?xml version="1.0" encoding="utf-8"?>
<WordHoardAuthors>
    <author>
        <name>Homer</name>
    </author>
    <author>
        <name>Hesiod</name>
    </author>
    <author>
        <name>pseudo-Hesiod</name>
    </author>
    <author>
        <name>anonymous</name>
    </author>
    <author>
        <name>Geoffrey Chaucer</name>
        <birthYear>1340</birthYear>
        <deathYear>1400</deathYear>
        <earliestWorkYear>1368</earliestWorkYear>
        <latestWorkYear>1400</latestWorkYear>
    </author>
    <author>
        <name>Edmund Spenser</name>
        <birthYear>1552</birthYear>
        <deathYear>1599</deathYear>
        <earliestWorkYear>1579</earliestWorkYear>
        <latestWorkYear>1596</latestWorkYear>
    </author>
    <author>
        <name>William Shakespeare</name>
        <birthYear>1564</birthYear>
        <deathYear>1616</deathYear>
        <earliestWorkYear>1589</earliestWorkYear>
        <latestWorkYear>1612</latestWorkYear>
    </author>
</WordHoardAuthors>

The authors definition file has the following elements:

  • WordHoardAuthors. The root element.

    Children:

    • author (0..n). Author definitions.
  • author. Author definition.

    Children:

    • name (1). Name.
    • birthYear (0..1). Birth year, if known.
    • death (0..1). Death year, if known.
    • earliestWorkYear (0..1). Earliest work year, if known.
    • latestWorkYear (0..1). Latest work year, if known.
  • name. Name.

    Children:

    • TEXT (1). The author's name.
  • birthYear. Birth year.

    Children:

    • TEXT (1). The author's birth year.
  • deathYear. Death year.

    Children:

    • TEXT (1). The author's death year.
  • earliestWorkYear. Earliest work year.

    Children:

    • TEXT (1). The author's earliest work year.
  • latestWorkYear. Latest work year.

    Children:

    • TEXT (1). The author's latest work year.

< 

The Corpora XML File

< 

Table of Contents

< 

The Word Classes XML File