bnl.ops.LevelByUniqueSal

class bnl.ops.LevelByUniqueSal[source]

Bases: LevelStrategy

Find all distinct salience values and use their integer rank as level.

Public Methods:

Inherited from Strategy

register(name)

A class method to register strategies in a central registry.


__call__(bc)[source]

Quantize boundaries’ levels in a BoundaryContour.

Parameters:

bc (BoundaryContour)

Return type:

BoundaryHierarchy