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.3.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for speakleash-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 453c9ae484e1fdcbc4c674839b09d8f1586446fa7f79b17ebd28a045fa150006 |
|
MD5 | 6938c43f28e9325860c515301a06d49d |
|
BLAKE2b-256 | 5a7d62d00100f37965e55778b0603010ced733299affaddac215b66da3033439 |