LingPy

This documentation is for version 2.0.dev, which is not released yet.

lingpy.align.sca.Alignments.get_paps

Alignments.get_paps(ref='cogid', entry='concept', missing=0)

Function returns a list of present-absent-patterns of a given word list.

Parameters :

ref : string (default = “cogid”)

The reference entry which is used to store the cognate ids.

entry : string (default = “concept”)

The field which is used to check for missing data.

missing : string,int (default = 0)

The marker for missing items.