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.5.tar.gz
(9.2 kB
view hashes)
Built Distribution
Close
Hashes for pyedictor-0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37cf3e2bdf83a420d7205e2b827341cb6f13735ed0e0086ac7bbf3b7d536641d |
|
MD5 | 5d6d307efffac16b5311ce1b87820a33 |
|
BLAKE2b-256 | 2b99b71100df9c42136406c727d2a3602b0e5e2c6add0780446602e48622aeee |