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.1.3.dev0.tar.gz
(8.6 kB
view hashes)