Datasets:
Tasks:
Text Classification
Languages:
English
Size:
1K<n<10K
Tags:
'source code comments'
'java class comments'
'python class comments'
'
smalltalk class comments'
License:
Pooja Rani
commited on
Commit
·
b491491
1
Parent(s):
4249c38
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,106 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
It contains the dataset extracted from various projects of three programming languages Java, Smalltalk, and Python.
|
| 5 |
- #### Java/
|
| 6 |
-
Contains the extracted class comments of six java projects.
|
| 7 |
- [Eclipse.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Java/) - Extracted class comments from the Eclipse project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub [Eclipse](https://github.com/eclipse).
|
| 8 |
|
| 9 |
- [Guava.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Java/Guava.csv) - Extracted class comments from the Guava project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub [Guava](https://github.com/google/guava).
|
|
@@ -19,7 +116,7 @@ It contains the dataset extracted from various projects of three programming lan
|
|
| 19 |
- [Parser_Details.md](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Java/Parser_Details.md) - Details of the parser used to parse class comments of Java [ Projects](https://doi.org/10.5281/zenodo.4311839)
|
| 20 |
|
| 21 |
- #### Smalltalk/
|
| 22 |
-
Contains the extracted class comments of seven Pharo projects.
|
| 23 |
- [GToolkit.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Pharo/GToolkit.csv) - Extracted class comments from the GToolkit project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo.
|
| 24 |
|
| 25 |
- [Moose.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Pharo/Moose.csv) - Extracted class comments from the Moose project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo.
|
|
@@ -37,7 +134,7 @@ It contains the dataset extracted from various projects of three programming lan
|
|
| 37 |
- [Parser_Details.md](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Pharo/Parser_Details.md) - Details of the parser used to parse class comments of Pharo [ Projects](https://doi.org/10.5281/zenodo.4311839)
|
| 38 |
|
| 39 |
- #### Python/
|
| 40 |
-
Contains the extracted class comments of seven Python projects.
|
| 41 |
- [Django.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Python/Django.csv) - Extracted class comments from the Django project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub [Django](https://github.com/django)
|
| 42 |
|
| 43 |
- [IPython.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Python/IPython.csv) - Extracted class comments from the Ipython project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub[IPython](https://github.com/ipython/ipython)
|
|
@@ -53,3 +150,53 @@ It contains the dataset extracted from various projects of three programming lan
|
|
| 53 |
- [Requests.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Python/Requests.csv) - Extracted class comments from the Requests project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub [Requests](https://github.com/psf/requests/)
|
| 54 |
|
| 55 |
- [Parser_Details.md](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Python/Parser_Details.md) - Details of the parser used to parse class comments of Python [ Projects](https://doi.org/10.5281/zenodo.4311839)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- expert-generated
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
language_creators:
|
| 7 |
+
- crowdsourced
|
| 8 |
+
license:
|
| 9 |
+
- cc-by-nc-sa-4.0
|
| 10 |
+
multilinguality:
|
| 11 |
+
- monolingual
|
| 12 |
+
pretty_name: 'Code-comment-classification
|
| 13 |
+
|
| 14 |
+
'
|
| 15 |
+
size_categories:
|
| 16 |
+
- 1K<n<10K
|
| 17 |
+
source_datasets:
|
| 18 |
+
- original
|
| 19 |
+
tags:
|
| 20 |
+
- '''source code comments'''
|
| 21 |
+
- '''java class comments'''
|
| 22 |
+
- '''python class comments'''
|
| 23 |
+
- '''
|
| 24 |
+
|
| 25 |
+
smalltalk class comments'''
|
| 26 |
+
task_categories:
|
| 27 |
+
- text-classification
|
| 28 |
+
task_ids:
|
| 29 |
+
- intent-classification
|
| 30 |
+
- multi-label-classification
|
| 31 |
---
|
| 32 |
+
|
| 33 |
+
# Dataset Card for [Dataset Name]
|
| 34 |
+
|
| 35 |
+
## Table of Contents
|
| 36 |
+
- [Table of Contents](#table-of-contents)
|
| 37 |
+
- [Dataset Description](#dataset-description)
|
| 38 |
+
- [Dataset Summary](#dataset-summary)
|
| 39 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
| 40 |
+
- [Languages](#languages)
|
| 41 |
+
- [Dataset Structure](#dataset-structure)
|
| 42 |
+
- [Data Instances](#data-instances)
|
| 43 |
+
- [Data Fields](#data-fields)
|
| 44 |
+
- [Data Splits](#data-splits)
|
| 45 |
+
- [Dataset Creation](#dataset-creation)
|
| 46 |
+
- [Curation Rationale](#curation-rationale)
|
| 47 |
+
- [Source Data](#source-data)
|
| 48 |
+
- [Annotations](#annotations)
|
| 49 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 50 |
+
- [Additional Information](#additional-information)
|
| 51 |
+
- [Dataset Curators](#dataset-curators)
|
| 52 |
+
- [Licensing Information](#licensing-information)
|
| 53 |
+
- [Citation Information](#citation-information)
|
| 54 |
+
|
| 55 |
+
## Dataset Description
|
| 56 |
+
|
| 57 |
+
- **Homepage: https://github.com/poojaruhal/RP-class-comment-classification**
|
| 58 |
+
- **Repository: https://github.com/poojaruhal/RP-class-comment-classification**
|
| 59 |
+
- **Paper: [Rani et al., JSS, 2021](https://doi.org/10.1016/j.jss.2021.111047)**
|
| 60 |
+
- **Leaderboard:**
|
| 61 |
+
- **Point of Contact: Pooja Rani (https://poojaruhal.github.io)**
|
| 62 |
+
|
| 63 |
+
### Dataset Summary
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
### Supported Tasks and Leaderboards
|
| 68 |
+
|
| 69 |
+
Single-label text classification and Multi-label text classification
|
| 70 |
+
|
| 71 |
+
### Languages
|
| 72 |
+
|
| 73 |
+
Java, Python, Smalltalk
|
| 74 |
+
|
| 75 |
+
## Dataset Structure
|
| 76 |
+
|
| 77 |
+
### Data Instances
|
| 78 |
+
|
| 79 |
+
[More Information Needed]
|
| 80 |
+
|
| 81 |
+
### Data Fields
|
| 82 |
+
|
| 83 |
+
class: class name
|
| 84 |
+
comment: class comment
|
| 85 |
+
categories: a category that sentence is classified to. It indicated a particular type of information.
|
| 86 |
+
|
| 87 |
+
### Data Splits
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
## Dataset Creation
|
| 92 |
+
|
| 93 |
+
### Curation Rationale
|
| 94 |
+
|
| 95 |
+
To identify the infomation embedded in the class comments across various projects and programming languages.
|
| 96 |
+
|
| 97 |
+
### Source Data
|
| 98 |
+
|
| 99 |
+
#### Initial Data Collection and Normalization
|
| 100 |
+
|
| 101 |
It contains the dataset extracted from various projects of three programming languages Java, Smalltalk, and Python.
|
| 102 |
- #### Java/
|
| 103 |
+
Contains all the extracted class comments of six java projects.
|
| 104 |
- [Eclipse.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Java/) - Extracted class comments from the Eclipse project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub [Eclipse](https://github.com/eclipse).
|
| 105 |
|
| 106 |
- [Guava.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Java/Guava.csv) - Extracted class comments from the Guava project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub [Guava](https://github.com/google/guava).
|
|
|
|
| 116 |
- [Parser_Details.md](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Java/Parser_Details.md) - Details of the parser used to parse class comments of Java [ Projects](https://doi.org/10.5281/zenodo.4311839)
|
| 117 |
|
| 118 |
- #### Smalltalk/
|
| 119 |
+
Contains all the extracted class comments of seven Pharo projects.
|
| 120 |
- [GToolkit.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Pharo/GToolkit.csv) - Extracted class comments from the GToolkit project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo.
|
| 121 |
|
| 122 |
- [Moose.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Pharo/Moose.csv) - Extracted class comments from the Moose project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo.
|
|
|
|
| 134 |
- [Parser_Details.md](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Pharo/Parser_Details.md) - Details of the parser used to parse class comments of Pharo [ Projects](https://doi.org/10.5281/zenodo.4311839)
|
| 135 |
|
| 136 |
- #### Python/
|
| 137 |
+
Contains all the extracted class comments of seven Python projects.
|
| 138 |
- [Django.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Python/Django.csv) - Extracted class comments from the Django project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub [Django](https://github.com/django)
|
| 139 |
|
| 140 |
- [IPython.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Python/IPython.csv) - Extracted class comments from the Ipython project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub[IPython](https://github.com/ipython/ipython)
|
|
|
|
| 150 |
- [Requests.csv](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Python/Requests.csv) - Extracted class comments from the Requests project. The version of the project referred to extract class comments is available as [Raw Dataset](https://doi.org/10.5281/zenodo.4311839) on Zenodo. More detail about the project is available on GitHub [Requests](https://github.com/psf/requests/)
|
| 151 |
|
| 152 |
- [Parser_Details.md](https://github.com/poojaruhal/RP-class-comment-classification/tree/main/Dataset/RQ1/Python/Parser_Details.md) - Details of the parser used to parse class comments of Python [ Projects](https://doi.org/10.5281/zenodo.4311839)
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
#### Who are the source language producers?
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Annotations
|
| 160 |
+
|
| 161 |
+
#### Annotation process
|
| 162 |
+
|
| 163 |
+
Manual annoation. The details are given in the paper [Rani et al., JSS, 2021](https://doi.org/10.1016/j.jss.2021.111047)
|
| 164 |
+
|
| 165 |
+
#### Who are the annotators?
|
| 166 |
+
|
| 167 |
+
[Rani et al., JSS, 2021](https://doi.org/10.1016/j.jss.2021.111047)
|
| 168 |
+
|
| 169 |
+
### Personal and Sensitive Information
|
| 170 |
+
|
| 171 |
+
Author information embedded in the text
|
| 172 |
+
|
| 173 |
+
## Additional Information
|
| 174 |
+
|
| 175 |
+
### Dataset Curators
|
| 176 |
+
|
| 177 |
+
[Pooja Rani, Ivan, Manuel]
|
| 178 |
+
|
| 179 |
+
### Licensing Information
|
| 180 |
+
|
| 181 |
+
[license: cc-by-nc-sa-4.0]
|
| 182 |
+
|
| 183 |
+
### Citation Information
|
| 184 |
+
|
| 185 |
+
@article{RANI2021111047,
|
| 186 |
+
title = {How to identify class comment types? A multi-language approach for class comment classification},
|
| 187 |
+
journal = {Journal of Systems and Software},
|
| 188 |
+
volume = {181},
|
| 189 |
+
pages = {111047},
|
| 190 |
+
year = {2021},
|
| 191 |
+
issn = {0164-1212},
|
| 192 |
+
doi = {https://doi.org/10.1016/j.jss.2021.111047},
|
| 193 |
+
url = {https://www.sciencedirect.com/science/article/pii/S0164121221001448},
|
| 194 |
+
author = {Pooja Rani and Sebastiano Panichella and Manuel Leuenberger and Andrea {Di Sorbo} and Oscar Nierstrasz},
|
| 195 |
+
keywords = {Natural language processing technique, Code comment analysis, Software documentation}
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
|