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.3.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for pyedictor-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04f4da5be7caa246a185e008f22c6620ce36f2af68580991efaca6280bf0185c |
|
MD5 | 6a7eb28c623f8cd7627b2f2b697f4ca3 |
|
BLAKE2b-256 | 5ef8a82e6b99483dec5f73fa151f2a89de09d245171b2e6dfd4bda1143960125 |