Ejemplo n.º 1
0
def execute_bigrams ():
    # Generate the baseline results for bigrams
    generate_baseline_results.execute(ds.output_bigrams, "bigrams")
    # Generate the inital experiment results for bigrams
    generate_initial_experimental_results.execute(ds.output_bigrams, "bigrams")
    # Create the next experiments for bigrams
    create_next_experiments.run(ds.output_bigrams, "bigrams")
    # Generate the created experiment results for bigrams
    generate_further_experimental_results.execute(ds.output_bigrams, "bigrams")
    # Sort and store best results in separate file
    results_sorting.import_results(ds.output_bigrams)
    results_sorting.import_best_results_and_sort(ds.output_bigrams)
def execute_not_negated_dataset ():
    # Generate the baseline results for unigrams, bigrams & trigrams
    generate_baseline_results.negation_not_handled(ds.not_negate_output_unigrams_bigrams_trigrams, "unigrams_bigrams_trigrams")
    # Generate the inital experiment results for unigrams, bigrams & trigrams
    generate_initial_experimental_results.negation_not_handled(ds.not_negate_output_unigrams_bigrams_trigrams, "unigrams_bigrams_trigrams")
    # Create the next experiments for unigrams, bigrams & trigrams
    create_next_experiments.run(ds.not_negate_output_unigrams_bigrams_trigrams, "negation_not_handled", "unigrams_bigrams_trigrams")
    # Generate the created experiment results for unigrams, bigrams & trigrams
    generate_further_experimental_results.process_negation_not_handled_experiments(ds.not_negate_output_unigrams_bigrams_trigrams, "unigrams_bigrams_trigrams")
    # Sort and store best results in separate file
    results_sorting.import_results(ds.not_negate_output_unigrams_bigrams_trigrams)
    results_sorting.import_best_results_and_sort(ds.not_negate_output_unigrams_bigrams_trigrams)