PGAnnotationType

class polyglotdb.io.types.standardized.PGAnnotationType(name)[source]

Methods

__init__(name)

add(annotation)

adds annotation to PGAnnotationType object

lookup(timepoint[, speaker])

Searches the lookup_dict for a particular begin time, and optionally a speaker

lookup_range(begin, end[, speaker])

Searches the lookup_dict for objects between begin time, end time, and optionally a speaker

optimize_lookups()

optimizes the lookup dictionary