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.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for speakleash-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cb218ad1c2f66fba350518dde620001f24076d6918618ceb3db356869c3eadc |
|
MD5 | e3b265b14ab18edb1b7d53e42130fe00 |
|
BLAKE2b-256 | c99aa25fe597dd0767c99c6cdf8e243d6c08b293d7d2e913e47f0e3628df88b6 |