+++ PyEDICTOR is deprecated and superseded by the edictor
package.+++
$ pip install edictor[lingpy]
>>> from edictor.wordlist import fetch_wordlist as fetch
>>> wl = fetch("deepadungpalaung", to_lingpy=True)
>>> print(wl.width)
16
To load as a LexStat wordlist:
>>> from lingpy import *
>>> from edictor.wordlist import fetch_wordlist as 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
.