tlc / README.md
lhoestq's picture
lhoestq HF staff
add dataset_info in dataset metadata
df6c603
metadata
pretty_name: Thai Literature Corpora (TLC)
annotations_creators:
  - expert-generated
  - no-annotation
language_creators:
  - expert-generated
language:
  - th
license:
  - unknown
multilinguality:
  - monolingual
size_categories:
  - n<1K
source_datasets:
  - original
task_categories:
  - text-generation
  - fill-mask
task_ids:
  - language-modeling
  - masked-language-modeling
paperswithcode_id: null
dataset_info:
  - config_name: tlcv1.0
    features:
      - name: ch_num
        dtype: string
      - name: title
        dtype: string
      - name: text
        sequence:
          sequence: string
    splits:
      - name: train
        num_bytes: 32498
        num_examples: 1
    download_size: 2904472
    dataset_size: 32498
  - config_name: tlcv2.0
    features:
      - name: ch_num
        dtype: string
      - name: title
        dtype: string
      - name: text
        sequence:
          sequence: string
    splits:
      - name: train
        num_bytes: 32498
        num_examples: 1
    download_size: 5551710
    dataset_size: 32498
  - config_name: tnhcv1.0
    features:
      - name: text
        sequence: string
    splits:
      - name: train
        num_bytes: 25198
        num_examples: 152
    download_size: 1465403
    dataset_size: 25198

Dataset Card for Thai Literature Corpora (TLC)

Table of Contents

Dataset Description

Dataset Summary

Thai Literature Corpora (TLC): Corpora of machine-ingestible Thai classical literature texts.

It consists of two datasets:

TLC set

It is texts from Vajirayana Digital Library, stored by chapters and stanzas (non-tokenized).

tlc v.2.0 (6/17/19 : a total of 34 documents, 292,270 lines, 31,790,734 characters) tlc v.1.0 (6/11/19 : a total of 25 documents, 113,981 lines, 28,775,761 characters)

TNHC set

It is texts from Thai National Historical Corpus, stored by lines (manually tokenized).

tnhc v.1.0 (6/25/19 : a total of 47 documents, 756,478 lines, 13,361,142 characters)

Supported Tasks and Leaderboards

Language Modeling, Language Generation

Languages

Thai

Dataset Structure

Data Instances

{
    "ch_num": "๑",
    "title": "กากี กลอนสุภาพ",
    "text": [
      [
        "๏ จักกล่าวอดีตนิทานแต่ปางก่อน\n",
        "เมื่อครั้งองค์สมเด็จพระชินวร\tยังสัญจรแสวงหาโพธิญาณ\n",
        "เสวยชาติเป็นสกุณาพระยานก\tจึงชักเรื่องชาดกมาบรรหาร\n",
        "หวังแสดงแห่งจิตหญิงพาล\tให้ชายชาญรู้เชิงกระสัตรี ฯ\n"
      ]
}

Data Fields

  • ch_num: chapter number in Thai Numerals (๑, ๒, ๓, ๔, ๕, ๖, ๗, ๘, ๙, ๑๐, ...)
  • title: chapter name
  • text: each item corresponds to one stanzas, each line is a couplet which can be seperated by \t

Data Splits

tlc v.2.0 (6/17/19 : a total of 34 documents, 292,270 lines, 31,790,734 characters) tlc v.1.0 (6/11/19 : a total of 25 documents, 113,981 lines, 28,775,761 characters)

TNHC set

It is texts from Thai National Historical Corpus, stored by lines (manually tokenized).

tnhc v.1.0 (6/25/19 : a total of 47 documents, 756,478 lines, 13,361,142 characters)

tlc2.0 tlc1.0 tnhc
# documents 34 25 47
# lines 292,270 113,981 756,478

Dataset Creation

Curation Rationale

Originally, the dataset was compiled for the Thai Poetry Generator at Chulalongkorn university as the Final project for 2209372 Introduction to Computational Linguistics by Jitkapat Sawatphol (Faculty of Engineering, Chulalongkorn University).

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

[More Information Needed]

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

There is no personal information.

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Dataset Curators

Thanks Jitkapat Sawatphol (Faculty of Arts, Chulalongkorn University), and Attapol Rutherford (Faculty of Arts, Chulalongkorn University)

Licensing Information

[More Information Needed]

Citation Information

Please cite the following if you make use of the dataset:

Jitkapat Sawatphol, and Attapol Rutherford. 2019. Thai Literature Corpora (TLC).

BibTeX:

@misc{
  author={Sawatphol, Jitkapat},
  title={Thai Literature Corpora},
  year={2019},
  howpublished={\\url{https://attapol.github.io/tlc.html}}
}

Contributions

Thanks to @chameleonTK for adding this dataset.