class documentation

class Meaning(dict): (source)

Constructor: Meaning(mn, attr)

View In Hierarchy

Represents a single PanLex meaning. A meaning is a translation set derived from a single source.

Method __init__ Undocumented
Method expressions No summary
Method id No summary
Method quality No summary
Method source No summary
Method source_group No summary
def __init__(self, mn, attr): (source)

Undocumented

def expressions(self): (source)
Returns
dictthe meaning's expressions as a dictionary whose keys are language variety uniform identifiers and whose values are lists of expression texts.
def id(self): (source)
Returns
intthe meaning's id.
def quality(self): (source)
Returns
intthe meaning's source's quality (0=worst, 9=best).
def source(self): (source)
Returns
intthe meaning's source id.
def source_group(self): (source)
Returns
intthe meaning's source group id.