Metadata-Version: 2.4
Name: mowen-cli
Version: 1.0.0
Summary: CLI for mowen authorship attribution toolkit
Project-URL: Homepage, https://github.com/jnoecker/mowen
Project-URL: Repository, https://github.com/jnoecker/mowen
Author: John Noecker Jr
License-Expression: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Text Processing :: Linguistic
Requires-Python: >=3.12
Requires-Dist: mowen>=1.0.0
Requires-Dist: typer>=0.9
Description-Content-Type: text/markdown

# mowen-cli

Command-line interface for [mowen](https://pypi.org/project/mowen/), the authorship attribution toolkit.

## Install

```bash
pip install mowen-cli
```

This installs the `mowen` command and the core library.

## Usage

```bash
# Run an attribution experiment
mowen run -d docs.csv -e word_ngram -e character_ngram:n=3 --distance cosine

# Evaluate accuracy via leave-one-out cross-validation
mowen evaluate -d corpus.csv -e character_ngram:n=3 --distance cosine --mode loo

# Evaluate with k-fold and export results
mowen evaluate -d corpus.csv -e word_events --mode kfold -k 10 --output-csv results.csv

# List all available pipeline components
mowen list-components
mowen list-components event-drivers --json
```

The CSV manifest format is one row per document: `filepath,author` (leave author empty for unknown documents).

## Documentation

See the [mowen repository](https://github.com/jnoecker/mowen) for full documentation, the web UI, and the REST API server.

## License

MIT — Copyright 2026 John Noecker Jr.
