CLI for mowen authorship attribution toolkit
Project description
mowen-cli
Command-line interface for mowen, the authorship attribution toolkit.
Install
pip install mowen-cli
This installs the mowen command and the core library.
Usage
# 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
# Cross-genre evaluation (CSV needs genre column: filepath,author,genre)
mowen evaluate -d corpus.csv -e character_ngram:n=3 --distance cosine --train-genre formal --test-genre informal
# Topic-controlled evaluation (requires topic metadata)
mowen evaluate -d corpus.csv -e word_events --distance cosine --topic-controlled
# Detect style changes within a document
mowen detect-changes document.txt -e character_ngram:n=3 --distance cosine --threshold 0.5
# 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 for full documentation, the web UI, and the REST API server.
License
MIT — Copyright 2026 John Noecker Jr.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mowen_cli-2.0.0.tar.gz.
File metadata
- Download URL: mowen_cli-2.0.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91e04e275426ea97fee48d9ad5c5c10b4ac1abe15df6eb47726955b1630a0748
|
|
| MD5 |
e3781e9983d66eeda4af006a6fdb11be
|
|
| BLAKE2b-256 |
59da4bc30e74c442ba1038e62d2a93540d020f0a617250b0abb42b258d4cf110
|
Provenance
The following attestation bundles were made for mowen_cli-2.0.0.tar.gz:
Publisher:
publish.yml on jnoecker/mowen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mowen_cli-2.0.0.tar.gz -
Subject digest:
91e04e275426ea97fee48d9ad5c5c10b4ac1abe15df6eb47726955b1630a0748 - Sigstore transparency entry: 1119308302
- Sigstore integration time:
-
Permalink:
jnoecker/mowen@a1b762a33841a406b83bdf389835d48c5211b55a -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/jnoecker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1b762a33841a406b83bdf389835d48c5211b55a -
Trigger Event:
push
-
Statement type:
File details
Details for the file mowen_cli-2.0.0-py3-none-any.whl.
File metadata
- Download URL: mowen_cli-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b550dbc01cc9fca3a1731e99ab37bec80fcebb843cdf2df99f93ce9adc3f37f0
|
|
| MD5 |
fe820cca400f27879caac0a8e6b12c54
|
|
| BLAKE2b-256 |
4462227e46e154f96a86d45a64a0971f1bd931c50eaaae489f9d3a3f9d92db2b
|
Provenance
The following attestation bundles were made for mowen_cli-2.0.0-py3-none-any.whl:
Publisher:
publish.yml on jnoecker/mowen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mowen_cli-2.0.0-py3-none-any.whl -
Subject digest:
b550dbc01cc9fca3a1731e99ab37bec80fcebb843cdf2df99f93ce9adc3f37f0 - Sigstore transparency entry: 1119308303
- Sigstore integration time:
-
Permalink:
jnoecker/mowen@a1b762a33841a406b83bdf389835d48c5211b55a -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/jnoecker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1b762a33841a406b83bdf389835d48c5211b55a -
Trigger Event:
push
-
Statement type: