File size: 3,390 Bytes
08b2760
 
 
 
 
 
1a45171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
08b2760
 
1a45171
08b2760
 
1a45171
08b2760
 
1a45171
08b2760
1a45171
 
f2024fc
 
 
 
 
08b2760
 
 
8b1ab03
 
 
 
2c20ad1
 
 
 
1f154ae
 
891b08b
 
2c20ad1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
---
dataset_info:
  features:
  - name: words
    sequence: string
  - name: ner
    sequence:
      class_label:
        names:
          '0': B-PERSON
          '1': I-PERSON
          '2': O
          '3': B-ORGANIZATION
          '4': B-LOCATION
          '5': I-ORGANIZATION
          '6': I-LOCATION
          '7': B-DATE
          '8': I-DATE
          '9': B-TIME
          '10': I-TIME
          '11': B-MONEY
          '12': I-MONEY
          '13': B-FACILITY
          '14': I-FACILITY
          '15': B-URL
          '16': I-URL
          '17': B-PERCENT
          '18': I-PERCENT
          '19': B-LEN
          '20': I-LEN
          '21': B-AGO
          '22': I-AGO
          '23': B-LAW
          '24': I-LAW
          '25': B-PHONE
          '26': I-PHONE
          '27': B-EMAIL
          '28': I-EMAIL
          '29': B-ZIP
          '30': B-TEMPERATURE
          '31': I-TEMPERATURE
          '32': B-DTAE
          '33': I-DTAE
          '34': B-DATA
          '35': I-DATA
  splits:
  - name: train
    num_bytes: 3736419
    num_examples: 3938
  - name: validation
    num_bytes: 1214580
    num_examples: 1313
  - name: test
    num_bytes: 1242609
    num_examples: 1313
  download_size: 974230
  dataset_size: 6193608
license: cc-by-3.0
task_categories:
- token-classification
language:
- th
---
# Dataset Card for "thainer-corpus-v2"

## News!!!
> Thai NER v2.2 is released! Please use Thai NER 2.2 instead This corpus.
> Thai NER v2.2: [https://huggingface.co/datasets/pythainlp/thainer-corpus-v2.2](https://huggingface.co/datasets/pythainlp/thainer-corpus-v2.2)

Thai Named Entity Recognition Corpus

Home Page: [https://pythainlp.github.io/Thai-NER/version/2](https://pythainlp.github.io/Thai-NER/version/2)

Training script and split data: [https://zenodo.org/record/7761354](https://zenodo.org/record/7761354)

**You can download .conll to train named entity model in [https://zenodo.org/record/7761354](https://zenodo.org/record/7761354).**

**Size**

- Train: 3,938 docs
- Validation: 1,313 docs
- Test: 1,313 Docs

Some data come from crowdsourcing between Dec 2018 - Nov 2019. [https://github.com/wannaphong/thai-ner](https://github.com/wannaphong/thai-ner)

**Domain**
- News (It, politics, economy, social)
- PR (KKU news)
- general

**Source**
- I use sone data from Nutcha’s theses (http://pioneer.chula.ac.th/~awirote/Data-Nutcha.zip) and improve data by rechecking and adding more tagging.
- Twitter
- Blognone.com - It news
- thaigov.go.th
- kku.ac.th

And more (the lists are lost.)

**Tag**

- DATA - date
- TIME - time
- EMAIL - email
- LEN - length
- LOCATION - Location
- ORGANIZATION - Company / Organization
- PERSON - Person name
- PHONE - phone number
- TEMPERATURE - temperature
- URL - URL
- ZIP - Zip code
- MONEY - the amount
- LAW - legislation
- PERCENT - PERCENT

Download: [HuggingFace Hub](https://huggingface.co/datasets/pythainlp/thainer-corpus-v2)

## Cite

> Wannaphong Phatthiyaphaibun. (2022). Thai NER 2.0 (2.0) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.7761354

or BibTeX

```
@dataset{wannaphong_phatthiyaphaibun_2022_7761354,
  author       = {Wannaphong Phatthiyaphaibun},
  title        = {Thai NER 2.0},
  month        = sep,
  year         = 2022,
  publisher    = {Zenodo},
  version      = {2.0},
  doi          = {10.5281/zenodo.7761354},
  url          = {https://doi.org/10.5281/zenodo.7761354}
}
```