architxt.cli#
Functions
|
|
|
Display overall statistics. |
|
Generate synthetic database instances. |
|
|
|
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:
- architxt.cli.inspect(files=typer.Argument(..., exists=True, readable=True, help='Path of the data files to load.'))[source]#
Display overall statistics.
- Return type:
- 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:
- 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:
Modules