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 files1234567899 unmodified lines1920212223242511 unmodified lines373839404142439 unmodified lines535455---license: cc-by-nc-sa-4.0---It contains the dataset extracted from various projects of three programming languages Java, Smalltalk, and Python.- #### Java/Contains the extracted class comments of six java projects.- [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).- [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).9 unmodified lines- [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)- #### Smalltalk/Contains the extracted class comments of seven Pharo projects.- [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.- [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.11 unmodified lines- [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)- #### Python/Contains the extracted class comments of seven Python projects.- [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)- [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)9 unmodified lines- [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/)- [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)1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051069 unmodified lines11611711811912012112211 unmodified lines1341351361371381391409 unmodified lines150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---annotations_creators:- expert-generatedlanguage:- enlanguage_creators:- crowdsourcedlicense:- cc-by-nc-sa-4.0multilinguality:- monolingualpretty_name: 'Code-comment-classification'size_categories:- 1K<n<10Ksource_datasets:- originaltags:- '''source code comments'''- '''java class comments'''- '''python class comments'''- '''smalltalk class comments'''task_categories:- text-classificationtask_ids:- intent-classification- multi-label-classification---# Dataset Card for [Dataset Name]## Table of Contents- [Table of Contents](#table-of-contents)- [Dataset Description](#dataset-description)- [Dataset Summary](#dataset-summary)- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)- [Languages](#languages)- [Dataset Structure](#dataset-structure)- [Data Instances](#data-instances)- [Data Fields](#data-fields)- [Data Splits](#data-splits)- [Dataset Creation](#dataset-creation)- [Curation Rationale](#curation-rationale)- [Source Data](#source-data)- [Annotations](#annotations)- [Personal and Sensitive Information](#personal-and-sensitive-information)- [Additional Information](#additional-information)- [Dataset Curators](#dataset-curators)- [Licensing Information](#licensing-information)- [Citation Information](#citation-information)## Dataset Description- **Homepage: https://github.com/poojaruhal/RP-class-comment-classification**- **Repository: https://github.com/poojaruhal/RP-class-comment-classification**- **Paper: [Rani et al., JSS, 2021](https://doi.org/10.1016/j.jss.2021.111047)**- **Leaderboard:**- **Point of Contact: Pooja Rani (https://poojaruhal.github.io)**### Dataset Summary### Supported Tasks and LeaderboardsSingle-label text classification and Multi-label text classification### LanguagesJava, Python, Smalltalk## Dataset Structure### Data Instances[More Information Needed]### Data Fieldsclass: class namecomment: class commentcategories: a category that sentence is classified to. It indicated a particular type of information.### Data Splits[More Information Needed]## Dataset Creation### Curation RationaleTo identify the infomation embedded in the class comments across various projects and programming languages.### Source Data#### Initial Data Collection and NormalizationIt contains the dataset extracted from various projects of three programming languages Java, Smalltalk, and Python.- #### Java/Contains all the extracted class comments of six java projects.- [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).- [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).9 unmodified lines- [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)- #### Smalltalk/Contains all the extracted class comments of seven Pharo projects.- [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.- [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.11 unmodified lines- [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)- #### Python/Contains all the extracted class comments of seven Python projects.- [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)- [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)9 unmodified lines- [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/)- [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)#### Who are the source language producers?[More Information Needed]### Annotations#### Annotation processManual annoation. The details are given in the paper [Rani et al., JSS, 2021](https://doi.org/10.1016/j.jss.2021.111047)#### Who are the annotators?[Rani et al., JSS, 2021](https://doi.org/10.1016/j.jss.2021.111047)### Personal and Sensitive InformationAuthor information embedded in the text## Additional Information### Dataset Curators[Pooja Rani, Ivan, Manuel]### Licensing Information[license: cc-by-nc-sa-4.0]### Citation Information@article{RANI2021111047,title = {How to identify class comment types? A multi-language approach for class comment classification},journal = {Journal of Systems and Software},volume = {181},pages = {111047},year = {2021},issn = {0164-1212},doi = {https://doi.org/10.1016/j.jss.2021.111047},url = {https://www.sciencedirect.com/science/article/pii/S0164121221001448},author = {Pooja Rani and Sebastiano Panichella and Manuel Leuenberger and Andrea {Di Sorbo} and Oscar Nierstrasz},keywords = {Natural language processing technique, Code comment analysis, Software documentation}}
README.md+151-4