SpeakLeash agnostic dataset for Polish
Project description
SpeakLeash
SpeakLeash agnostic dataset for Polish
Basic Usage
from speakleash import Speakleash
import os
base_dir = os.path.join(os.path.dirname(__file__))
replicate_to = os.path.join(base_dir, "datasets")
sl = Speakleash(replicate_to)
for d in sl.datasets:
print(d.name)
for doc in d.data:
print(doc[:10])
or
from speakleash import Speakleash
import os
base_dir = os.path.join(os.path.dirname(__file__))
replicate_to = os.path.join(base_dir, "datasets")
sl = Speakleash(replicate_to)
wiki = sl.get("plwiki").data
for doc in wiki:
print(doc[:40])
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
speakleash-0.0.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for speakleash-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1aed1a53506b4727d19f0d4a192b5db6222e58b25eb45de101b1080bb92d73ce |
|
MD5 | 9e229076f7e1fdafbc4e971a59deea00 |
|
BLAKE2b-256 | 4dac11b449fe30f0b7acf83c42586cf7d40932d8e3429305b1473cc5bfce7965 |