<commit_before>#!/usr/bin/env python
import utils
import sys
import signal
import os
try:
    import argparse
    parsermodule = argparse.ArgumentParser
except:
    import optparse
    parsermodule = optparse.OptionParser
    parsermodule.add_argument = parsermodule.add_option

def getCommandLineArguments():
    # Command line arguments
    desc = "Framework for Image Processing on the GPU"
    parser = parsermodule(description=desc)
    parser.add_argument("-f", "--file",
                        help="Image Processing file *.ip")
    parser.add_argument("-p", "--param",
                        action="append",
                        nargs = 3,
                        metavar = ("kernel", "param", "value"),
                        help="Change value of a parameter.")
    parser.add_argument("-i", "--inbuffer",
                        action="append",
                        nargs = 2,
                        metavar = ("buffer", "path"),
                        help = "Set input image to a buffer")
    parser.add_argument("-o", "--outbuffer",
                        action="append",
                        nargs = 2,
                        metavar = ("buffer", "path"),
                        help = "Set output image to a buffer")
    parser.add_argument("-v","--verbose",
                        action="store_true",
                        help="Outputs information")
    parser.add_argument("--timestamp",
                        action="store_true",
                        help="Add timestamp in log output")
    parser.add_argument("--nogui",
                        action="store_true",
                        help="Command line version")

    if parsermodule.__name__  == "ArgumentParser":
        return parser.parse_args()
    else:
        return parser.parse_args()[0]<commit_msg>description in command line help<commit_after>#!/usr/bin/env python
import utils
import sys
import signal
import os
try:
    import argparse
    parsermodule = argparse.ArgumentParser
except:
    import optparse
    parsermodule = optparse.OptionParser
    parsermodule.add_argument = parsermodule.add_option

def getCommandLineArguments():
    # Command line arguments
    desc = "Framework for Image Processing on the GPU"
    parser = parsermodule("gpuip", description=desc)
    parser.add_argument("-f", "--file",
                        help="Image Processing file *.ip")
    parser.add_argument("-p", "--param",
                        action="append",
                        nargs = 3,
                        metavar = ("kernel", "param", "value"),
                        help="Change value of a parameter.")
    parser.add_argument("-i", "--inbuffer",
                        action="append",
                        nargs = 2,
                        metavar = ("buffer", "path"),
                        help = "Set input image to a buffer")
    parser.add_argument("-o", "--outbuffer",
                        action="append",
                        nargs = 2,
                        metavar = ("buffer", "path"),
                        help = "Set output image to a buffer")
    parser.add_argument("-v","--verbose",
                        action="store_true",
                        help="Outputs information")
    parser.add_argument("--timestamp",
                        action="store_true",
                        help="Add timestamp in log output")
    parser.add_argument("--nogui",
                        action="store_true",
                        help="Command line version")

    if parsermodule.__name__  == "ArgumentParser":
        return parser.parse_args()
    else:
        return parser.parse_args()[0]
{'fraction_non_alphanumeric': 0.11180973209404046, 'fraction_numerical': 0.002186987424822307, 'mean_word_length': 1.5803949224259521, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5167757', 'n_tokens_mistral': 895, 'n_tokens_neox': 878, 'n_words': 226}