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.5.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for speakleash-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18fcacd9c4d5a2849d49e8f82fdef8bc155cc9ded7dd721b95881954d7581627 |
|
MD5 | b55fd71d4922ddc14e8db92f6f0c7109 |
|
BLAKE2b-256 | c4c7e3168597c5fa3bc6dba5fede0ca7d42aef4e1916882ce6c9749d1b8f2504 |