bnl.ops.SalByCount

class bnl.ops.SalByCount[source]

Bases: SalienceStrategy

Salience based on frequency of occurrence.

Public Methods:

Inherited from Strategy

register(name)

A class method to register strategies in a central registry.


__call__(ms)[source]

The salience of each unique boundary time is the number of layers in the MultiSegment that it appears in.

Parameters:

ms (MultiSegment)

Return type:

BoundaryHierarchy