condor.scripts package

Submodules

condor.scripts.bibliography module

Implements the populate script.

condor.scripts.cli module

class condor.scripts.cli.CondorCommand(name=None, invoke_without_command=False, no_args_is_help=None, subcommand_metavar=None, chain=False, result_callback=None, **attrs)[source]

Bases: click.core.MultiCommand

commands
get_command(ctx, name)[source]
list_commands(ctx)[source]

condor.scripts.contributor module

Functions to work with a contributed set of queries from the command line.

class condor.scripts.contributor.QueryProps(path, topic, contributor, query_string, extension)

Bases: tuple

contributor

Alias for field number 2

extension

Alias for field number 4

path

Alias for field number 0

query_string

Alias for field number 3

topic

Alias for field number 1

condor.scripts.contributor.prop_queries(file_names, warn)[source]
condor.scripts.contributor.query_props(path)[source]

Extracts a QueryProps object from a file name.

Parameters:path – Path to a query file
Returns:QueryProps of the file

condor.scripts.evaluate module

Scripts to evaluate rankins based on ground truth databases.

class condor.scripts.evaluate.PerformanceResult(true_positives, true_negatives, false_positives, false_negatives, precision, recall, f1_score)

Bases: tuple

f1_score

Alias for field number 6

false_negatives

Alias for field number 3

false_positives

Alias for field number 2

precision

Alias for field number 4

recall

Alias for field number 5

true_negatives

Alias for field number 1

true_positives

Alias for field number 0

condor.scripts.matrix module

Implements the condor matrix commands to create term document matrices from bibsets.

condor.scripts.model module

This script aims to build the model for the current state of a database, taking in all the present records.

condor.scripts.query module

Uses the latest model to query the database for the most important documents according to lsa.

condor.scripts.ranking module

Implements the condor matrix commands to create term document matrices from bibsets.

condor.scripts.utils module

This module includes utility scripts.

Such as creating and wiping the database and others in the future.

Module contents