unit_length

ucca_db.api.unit_length(u)[source]

Returns the number of terminals (excluding remote units and punctuations) that are descendants of the unit u.