def read_alternates(which):
    with open(file('data/awkward_%s'%which), 'r') as baddies:
        return '|'.join([e.strip() for e in baddies.readlines() if len(e.strip()) > 0])
dataset/ETHPy150Open jdf/haikufinder/haikufinder/__init__.py/read_alternates/original