architxt.cli#

Functions

clear_cache(*[, force])

inspect([files])

Display overall statistics.

instance_generator(*[, sample, output])

Generate synthetic database instances.

mlflow_setup()

simplify([files, tau, epoch, min_support, ...])

ui(ctx)

Launch the web-based UI using Streamlit.

architxt.cli.clear_cache(*, force=typer.Option(False, help='Force the deletion of the cache without asking.'))[source]#
Return type:

None

architxt.cli.inspect(files=typer.Argument(..., exists=True, readable=True, help='Path of the data files to load.'))[source]#

Display overall statistics.

Return type:

None

architxt.cli.instance_generator(*, sample=typer.Option(100, help='Number of sentences to sample from the corpus.', min=1), output=typer.Option(None, help='Path to save the result.'))[source]#

Generate synthetic database instances.

Return type:

None

architxt.cli.mlflow_setup()[source]#
Return type:

None

architxt.cli.simplify(files=typer.Argument(..., exists=True, readable=True, help='Path of the data files to load.'), *, tau=typer.Option(0.7, help='The similarity threshold.', min=0, max=1), epoch=typer.Option(100, help='Number of iteration for tree rewriting.', min=1), min_support=typer.Option(20, help='Minimum support for tree patterns.', min=1), workers=typer.Option(None, help='Number of parallel worker processes to use. Defaults to the number of available CPU cores.', min=1), output=typer.Option(None, help='Path to save the result.'), debug=typer.Option(False, help='Enable debug mode for more verbose output.'), metrics=typer.Option(False, help='Show metrics of the simplification.'), log=typer.Option(False, help='Enable logging to MLFlow.'))[source]#
Return type:

None

architxt.cli.ui(ctx)[source]#

Launch the web-based UI using Streamlit.

Return type:

None

Modules