Indic NLP dataset loader
Project description
Overview
This library provides Indian regional language datasets in an easy to use sklearn.dataset API format. You are free to use it in an application intended for commercial uses.
Installation
You can use pip to install this library
pip install indic-nlp-datasets
To install the latest version of the datasets, use
pip install git+https://github.com/rahul1990gupta/indic-nlp-datasets.git@master
Datasets Available
These are the datasets available in the library
| Name | Size | submodule | language |
|---|---|---|---|
| Wikipedia | 275 MB | load_wikipedia |
hi |
| Oscar Common Crawl | 17 GB | load_occ |
hi |
| News Crawl | 472 MB | load_news_crawl |
hi |
| Monlingual | 2.45 GB | load_monolingual |
hi |
| Tweet Corpus | 875 MB | load_tweets |
hi |
| Hinglish Corpus | 18 MB | load_hinglish |
hi |
| Devdas | 300 KB | load_devdas |
hi |
Getting started
After installation, you can start by importing the dataset
from idatasets import load_devdas
devdas = load_devdas()
print(devdas.desc) # prints description of the data
print(devdas.created_at) # date/year when dataset was created
for sent in devdas.data:
# process text chunks
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file indic-nlp-datasets-0.1.2.tar.gz.
File metadata
- Download URL: indic-nlp-datasets-0.1.2.tar.gz
- Upload date:
- Size: 41.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
594e9839b6e9f1101af2a55b82ee5282ab57d3285554029aa42ad11595dd3a09
|
|
| MD5 |
dc25e010092d31619c5cac545ae24c9d
|
|
| BLAKE2b-256 |
9a87c7033a4ed4f1e087eb61690938d80b9c8185e31252e9d1e6a0436ad4c1a7
|
File details
Details for the file indic_nlp_datasets-0.1.2-py3-none-any.whl.
File metadata
- Download URL: indic_nlp_datasets-0.1.2-py3-none-any.whl
- Upload date:
- Size: 131.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
893528c8f16583746fdcead1612bf8b6af15c1e33a15ac05c4ed1f390d5789fd
|
|
| MD5 |
e51369d497ed29b27420d21c72399cd0
|
|
| BLAKE2b-256 |
aa5805cec39d97a552f5b874a5c93073a66af9482c5bb250a1395026592ff053
|