'A module to find REPP tokenizer binary and its *repp.set* config file.'

def find_repptokenizer(self, repp_dirname):

    if os.path.exists(repp_dirname):
        _repp_dir = repp_dirname
    else:
        _repp_dir = find_dir(repp_dirname, env_vars=(u'REPP_TOKENIZER',))
    assert os.path.exists((_repp_dir + u'/src/repp'))
    assert os.path.exists((_repp_dir + u'/erg/repp.set'))
    return _repp_dir
