def main():
    global out_prfx
    global SENT_PER_FILE

    inFile = sys.argv[1]
    outDir = sys.argv[2]
    if( len(sys.argv) >= 4 ):
        SENT_PER_FILE = int( sys.argv[3] )
        if( len(sys.argv) > 4 ):
            out_prfx = sys.argv[4]

    if not outDir.endswith('/'): outDir = outDir + '/'
    splitSpanFile(inFile, outDir)
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/pre-process/splitDataFile.py/main/original