hugosousa commited on
Commit
83be5a2
1 Parent(s): 69b2f82

Updated README.md

Browse files
Files changed (1) hide show
  1. README.md +72 -55
README.md CHANGED
@@ -1,81 +1,98 @@
1
  ---
2
- license: mit
 
3
  language:
4
  - en
 
5
  - pt
6
  - de
7
  - fr
8
  - it
9
  - es
 
 
 
 
 
 
10
  pretty_name: Professor HeidelTime
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
  # Professor HeidelTime
13
 
14
- [![License](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE)
15
- [![Download](https://img.shields.io/badge/-download-9cf)](https://drive.inesctec.pt/s/B4JojTJaMyR8wDN/download/professor_heideltime.zip)
16
-
17
 
18
  Professor HeidelTime is a project to create a multilingual corpus weakly labeled with [HeidelTime](https://github.com/HeidelTime/heideltime), a temporal tagger.
19
 
20
- ## Getting Started
21
-
22
- ### Download the Annotated Data
23
-
24
- To download the Professor HeidelTime corpus, click on the following link: [Professor HeidelTime corpus](https://drive.inesctec.pt/s/B4JojTJaMyR8wDN/download/professor_heideltime.zip).
25
-
26
- The downloaded archive contains six folders, each representing a different language. Inside each folder, there is one `.json` file for each annotated news article. The English, Italian, German, and French files contain `text`, `dct`, and `timexs` keys. However, due to licensing issues, the Portuguese and Spanish corpus files currently lack the `text` key. We are actively working with news sources to license these datasets for redistribution.
27
-
28
- In the meantime, you can access the texts by running the following scrapping scripts: [Spanish](https://github.com/hmosousa/elmundo_scraper) and [Portuguese](https://github.com/hmosousa/publico_scraper).
29
-
30
- ### Corpus Details
31
 
32
  The weak labeling was performed in six languages. Here are the specifics of the corpus for each language:
33
 
34
  | Dataset | Language | Documents | From | To | Tokens | Timexs |
35
  | ----------------------- | -------- | --------- | ---------- | ---------- | ---------- | -------- |
36
- | [All the News 2.0] | EN | 24,642 | 2016-01-01 | 2020-04-02 | 18,755,616 | 254,803 |
37
- | [Italian Crime News] | IT | 9,619 | 2011-01-01 | 2021-12-31 | 3,296,898 | 58,823 |
38
- | [ElMundo News] | ES | 33,266 | 2003-01-01 | 2022-12-31 | 21,617,888 | 348,011 |
39
- | [German News Dataset] | DE | 19,095 | 2005-12-02 | 2021-10-18 | 12,515,410 | 194,043 |
40
- | [French Financial News] | FR | 27,154 | 2017-10-19 | 2021-03-19 | 1,673,053 | 83,431 |
41
- | [Público News] | PT | 24,293 | 2000-11-14 | 2002-03-20 | 5,929,377 | 111,810 |
42
-
43
- ## Running Annotations
44
-
45
- ### Set up Development Environment
46
-
47
- To start with, set up a virtual environment and activate it. Then, install the necessary packages from the requirements file:
48
-
49
- ```shell
50
- virtualenv venv --python=python3.10
51
- source venv/bin/activate
52
- pip install -r requirements.txt
53
- ```
54
-
55
- Run pytest to ensure that everything is working correctly: `python -m pytest tests`
56
-
57
- ### Kaggle API Key
58
-
59
- To add the Kaggle API keys to your machine, follow the instructions provided on [kaggle-api](https://github.com/Kaggle/kaggle-api).
60
-
61
- ### Download Raw Data
62
-
63
- You can download the raw data by executing the following command:
64
-
65
- ```shell
66
- sh data/download.sh
67
- ```
68
-
69
- ### Execute the Annotation
70
-
71
- To run the annotation, use the following command (replace 'english' with the language you want to annotate):
72
-
73
- ```shell
74
- python src/run.py --language english
75
- ```
76
 
77
  ## Contact
78
 
79
  For more information, reach out to [Hugo Sousa](https://hugosousa.net) at <[email protected]>.
80
 
81
  This framework is a part of the [Text2Story](https://text2story.inesctec.pt) project. This project is financed by the ERDF – European Regional Development Fund through the North Portugal Regional Operational Programme (NORTE 2020), under the PORTUGAL 2020 and by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia within project PTDC/CCI-COM/31857/2017 (NORTE-01-0145-FEDER-03185).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - machine-generated
4
  language:
5
  - en
6
+ - fr
7
  - pt
8
  - de
9
  - fr
10
  - it
11
  - es
12
+ language_creators:
13
+ - found
14
+ license:
15
+ - mit
16
+ multilinguality:
17
+ - multilingual
18
  pretty_name: Professor HeidelTime
19
+ size_categories:
20
+ - 100K<n<1M
21
+ source_datasets:
22
+ - original
23
+ tags:
24
+ - Timex
25
+ - Timexs
26
+ - Temporal Expression
27
+ - Temporal Expressions
28
+ - Temporal Information
29
+ - Timex Identification
30
+ - Timex Classification
31
+ - Timex Extraction
32
+ task_categories:
33
+ - token-classification
34
+ task_ids:
35
+ - parsing
36
+ - part-of-speech
37
+ - named-entity-recognition
38
+ configs:
39
+ - config_name: portuguese
40
+ data_files: "portuguese.json"
41
+ - config_name: english
42
+ data_files: "english.json"
43
+ - config_name: french
44
+ data_files: "french.json"
45
+ - config_name: italian
46
+ data_files: "italian.json"
47
+ - config_name: spanish
48
+ data_files: "spanish.json"
49
+ - config_name: german
50
+ data_files: "german.json"
51
  ---
52
  # Professor HeidelTime
53
 
54
+ [![Paper](https://img.shields.io/badge/Paper-557C55)](https://dl.acm.org/doi/10.1145/3583780.3615130)
55
+ [![GitHub](https://img.shields.io/badge/GitHub-A6CF98)](https://github.com/hmosousa/professor_heideltime)
 
56
 
57
  Professor HeidelTime is a project to create a multilingual corpus weakly labeled with [HeidelTime](https://github.com/HeidelTime/heideltime), a temporal tagger.
58
 
59
+ ## Corpus Details
 
 
 
 
 
 
 
 
 
 
60
 
61
  The weak labeling was performed in six languages. Here are the specifics of the corpus for each language:
62
 
63
  | Dataset | Language | Documents | From | To | Tokens | Timexs |
64
  | ----------------------- | -------- | --------- | ---------- | ---------- | ---------- | -------- |
65
+ | All the News 2.0 | EN | 24,642 | 2016-01-01 | 2020-04-02 | 18,755,616 | 254,803 |
66
+ | Italian Crime News | IT | 9,619 | 2011-01-01 | 2021-12-31 | 3,296,898 | 58,823 |
67
+ | German News Dataset | DE | 33,266 | 2003-01-01 | 2022-12-31 | 21,617,888 | 348,011 |
68
+ | ElMundo News | ES | 19,095 | 2005-12-02 | 2021-10-18 | 12,515,410 | 194,043 |
69
+ | French Financial News | FR | 24,293 | 2017-10-19 | 2021-03-19 | 1,673,053 | 83,431 |
70
+ | Público News | PT | 27,154 | 2000-11-14 | 2002-03-20 | 5,929,377 | 111,810 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
  ## Contact
73
 
74
  For more information, reach out to [Hugo Sousa](https://hugosousa.net) at <[email protected]>.
75
 
76
  This framework is a part of the [Text2Story](https://text2story.inesctec.pt) project. This project is financed by the ERDF – European Regional Development Fund through the North Portugal Regional Operational Programme (NORTE 2020), under the PORTUGAL 2020 and by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia within project PTDC/CCI-COM/31857/2017 (NORTE-01-0145-FEDER-03185).
77
+
78
+ ## Cite
79
+
80
+ If you use this work, please cite the following [paper](https://dl.acm.org/doi/10.1145/3583780.3615130):
81
+
82
+ ```bibtex
83
+ @inproceedings{10.1145/3583780.3615130,
84
+ author = {Sousa, Hugo and Campos, Ricardo and Jorge, Al\'{\i}pio},
85
+ title = {TEI2GO: A Multilingual Approach for Fast Temporal Expression Identification},
86
+ year = {2023},
87
+ isbn = {9798400701245},
88
+ publisher = {Association for Computing Machinery},
89
+ url = {https://doi.org/10.1145/3583780.3615130},
90
+ doi = {10.1145/3583780.3615130},
91
+ booktitle = {Proceedings of the 32nd ACM International Conference on Information and Knowledge Management},
92
+ pages = {5401–5406},
93
+ numpages = {6},
94
+ keywords = {temporal expression identification, multilingual corpus, weak label},
95
+ location = {Birmingham, United Kingdom},
96
+ series = {CIKM '23}
97
+ }
98
+ ```