This gist provides my personal note and experience (as a non-Python [but a long-term R] user) in trying to provide clts-conformant initial orthography profile from a cldf dataset using the profile
command as part of the lingpy
Python package.
- The tutorial to generate initial orthography profile (after generating a valid cldf dataset under the cldf directory) is available here
- I have created a valid cldf dataset for Enggano Holle List using R
- I have created a Python virtual environment in the directory for the Enggano Holle List in this line of code
- I have activated this virtual environment with this code
- For this orthography work, I re-installed
pylexibank
,pycldf
,cldfbench
(withpip install cldfbench[clts]
) in that virtual environment
- Then, I run the initial creation of orthography python code provided here
- HOWEVER it produces an error that the CLTS configuration in cldf cannot be found
- Ensure that we intially clone the CLTS data using the following command
cldfbench catconfig
. There will be three options of catalogues to be cloned: Glottolog, Concepticon and CLTS. For the first two, I skipped by typing "N", but typing "y" for the CLTS. - After the previous step, running the orthography profile creation command here works!