def naiveSampler(samplePairs):

    ## 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
Checks whether the samples should be accepted based on a threshold
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/mert-scripts/PRO.py/naiveSampler