def naiveSampler(samplePairs):
    """ Checks whether the samples should be accepted based on a threshold """

    ## Implements the simpler version suggested in Hopkins and May (2011)
    global alpha
    candPool = []
    for hypPairItem in samplePairs:
        if (hypPairItem[0] >= alpha):
            candPool.append( hypPairItem[:] )

    return candPool
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/mert-scripts/PRO.py/naiveSampler/operator `>` -> `>=`