word_count_with_exclusions
Count words in a document minus references, captions, footnotes, and other selectable zones. Get the included count and per-zone excluded breakdown, with totals that always balance.
Instructions
Count words minus named zones: the number a journal actually wants. exclude any of: references, captions, footnotes, endnotes, block_quotes, tables, headings, front_matter, abstract (unknown names rejected with the allowed list). Returns total, per-zone excluded breakdown, and the included count; total = included + sum(excluded) always. Same whitespace tokenization as word_count's file mode; detected zone locations are reported for review. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||