# Path: segeval/util/lang.py
# def enum(*sequential, **named):
#     '''
#     http://stackoverflow.com/a/1695250/2134
#     '''
#     enums = dict(zip(sequential, range(len(sequential))), **named)
#     return type('Enum', (), enums)


from itertools import groupby
from segeval.util.lang import enum
'''
Segmentation encoding format converstion utilities.

.. moduleauthor:: Chris Fournier <chris.m.fournier@gmail.com>
'''
from __future__ import absolute_import



# Path: segeval/util/lang.py
# def enum(*sequential, **named):
#     '''
#     http://stackoverflow.com/a/1695250/2134
#     '''
#     enums = dict(zip(sequential, range(len(sequential))), **named)
#     return type('Enum', (), enums)


# Path: segeval/format.py
from itertools import groupby
from segeval.util.lang import enum

'''
Segmentation encoding format converstion utilities.

.. moduleauthor:: Chris Fournier <chris.m.fournier@gmail.com>
'''
from __future__ import absolute_import



BoundaryFormat = enum(position='position', mass='mass', sets='sets', nltk='nltk')