fetch functionalities for EDICTOR
Project description
PyEDICTOR: Simple Access to EDICTOR Databases
Installation:
$ pip install pyedictor
Usage
>>> from pyedictor import fetch
>>> wl = fetch("deepadungpalaung", to_lingpy=True)
>>> print(wl.width)
16
To load as a LexStat wordlist:
>>> from lingpy import *
>>> from pyedictor import fetch
>>> lex = fetch("deepadungpalaung", to_lingpy=True, transform=LexStat)
To convert your dataset to EDICTOR format from CLDF:
$ edictor wordlist -d cldf/cldf-metadata.json mydataset
This will create a wordlist file mydataset.tsv
from your CLDF data located in cldf/cldf-metadata.json
.
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
pyedictor-0.4.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for pyedictor-0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8bb7ff3db9330a1b76acbbf85b725575f35f68cc9a7ecd3ab27b2efb20f5b12 |
|
MD5 | a50812aa98d3d76b09140a0a4b1f2bb2 |
|
BLAKE2b-256 | ae0f596ddb16ea5b8c5699a105c6f349534c81a1704722ca6549a42bff5ef97c |