cldf-clts / pyclts

Apache License 2.0
11 stars 2 forks source link

TranscriptionSystem should expose its feature system publicly #16

Closed xrotwang closed 4 years ago

xrotwang commented 4 years ago

Currently, accessing a TranscriptionSystem's features is cumbersome (see https://github.com/cldf-datasets/eurasianinventories/pull/1#discussion_r435823568). Something like

@property
def feature_system(self):
    return self._feature_values

might help here (or simply renaming _feature_values to feature_system - although this would be backwards incompatible).