path_to_group_id()

audfactory.path_to_group_id(path)[source]

Replaces / by . in group ID.

Parameters

path (str) – group ID path

Return type

str

Returns

group ID

Examples

>>> path_to_group_id('com/audeering/data/emodb')
'com.audeering.data.emodb'