def METHOD_NAME(lPairs, oTokenMap):
    lReturn = []
    for lPair in lPairs:
        lStart, lEnd = oTokenMap.get_token_pair_indexes(lPair[0], lPair[1])
        for iStart, iEnd in zip(lStart, lEnd):
            lReturn.append([iStart, iEnd])
    return lReturn