def nbclassify():
    test_filename = sys.argv[1]
    sent_model, auth_model = read_models(nbmodel_filename)
    nb_test(test_filename,
            sent_model=sent_model,
            auth_model=auth_model,
            output_filename=output_filename)
def test_nb_test():
    sent_model, auth_model = read_models(nbmodel_filename)
    nb_test(dev_data_filename, sent_model, auth_model, output_filename)
def dev_sentiment():
    sent_model, auth_model = read_models(nbmodel_filename)
    print(nb_dev_test_sentiment(sent_model))
def dev_auth():
    sent_mode, auth_model = read_models(nbmodel_filename)
    nb_dev_test_authenticity(auth_model)
def dev_test():
    sent_model, auth_model = read_models(nbmodel_filename)
    nb_dev_test_sentiment(sent_model)
    nb_dev_test_authenticity(auth_model)
def funny(text):
    print(text)
    import string
    punctuations = set(string.punctuation)
    text = [letter for letter in text if letter not in punctuations]
    print("".join(text))


if __name__ == '__main__':
    # funny("wow, this is ? a test!! onlye. To see if, tihs works")
    dev_learn()
    # dev_sentiment()
    # dev_auth()
    # dev_test()
    sent_model, auth_model = read_models(nbmodel_filename)
    nb_test(dev_data_filename, sent_model, auth_model, output_filename)
    # dev_test_autheiticity()
    # dev_test_sentiment()


def nbclassify():
    test_filename = sys.argv[1]
    sent_model, auth_model = read_models(nbmodel_filename)
    nb_test(test_filename,
            sent_model=sent_model,
            auth_model=auth_model,
            output_filename=output_filename)


def nblearn():