Source code for benchmarkstt.segmentation
from benchmarkstt.factory import Factory
[docs]class Base:
def __iter__(self):
"""
Each segmentation class should be accessible as iterator, each iteration should
return a Item, so the input format is essentially usable and can be easily
converted to a :py:class:`benchmarkstt.schema.Schema`
"""
raise NotImplementedError()
factory = Factory(Base)