Capafy
Empezar
Soften a Draft with Send-Check

Soften a Draft with Send-Check

Catch spots in a draft that may read as harsh, cold, or ambiguous before you send it. #Escritura

Valoración
Se necesitan más valoraciones
Vendidos
0
Cómo se usa
Descargar

Catch spots in a draft that may read as harsh, cold, or ambiguous before you send it.
Get a list of flagged wording and a gentler phrasing where a safe rewrite is supported.

Send-Check — How a Message Will Land Before You Send It

Paste a draft message and one line about who will receive it. Get a list of the spots that may read as harsh, cold, or ambiguous, with a gentler phrasing where a safe rewrite is possible. The tool never changes your meaning: when it has no supported rewrite for a spot, it says no suggestion instead of guessing.

Five ways to use it

  • Check a pasted message: python3 scripts/send_check.py --text "You need to reply ASAP." gives a flagged list with suggestions.
  • Check a message file with context: python3 scripts/send_check.py --input examples/message.txt --relationship "a client" gives flags plus a tone note for the relationship.
  • Export a table: --format markdown, --format csv, or --format html.
  • Look at one concern at a time: --only harsh, --only cold, or --only ambiguous.
  • Count or save: --summary or --output report.txt.

Requirements

Python 3.8 or later. The tool uses only the Python standard library. It reads UTF-8 text and makes no network calls.

Quick start

python3 scripts/send_check.py --input examples/message.txt --relationship "a client I just started working with"

Actual output from the included example:

Relationship: a client I just started working with (client)
Note: A client message carries extra weight; soften blunt or vague wording.
Flags: harsh 4, cold 1, ambiguous 2
- line 1 [harsh] "You need to" -> Could you
- line 1 [harsh] "ASAP" -> as soon as possible
- line 1 [harsh] "Obviously" -> no suggestion
- line 2 [cold] "Per my last email" -> To follow up on my earlier note
- line 2 [harsh] "this is unacceptable" -> no suggestion
- line 2 [ambiguous] "Maybe" -> no suggestion
- line 2 [ambiguous] "soon" -> no suggestion

Each spot is listed once; when the same words read two ways, the stronger reading is shown. A suggestion is cased for its place in the sentence, so an emphatic ASAP yields as soon as possible, not a shouted AS SOON AS POSSIBLE.

What it looks for

  • harsh: blunt commands and sharp phrasing, such as you need to, do it now, obviously, or why didn't you.
  • cold: curt phrasing that can read as distant, such as per my last email, noted, or FYI.
  • ambiguous: vague timing or references, such as asap, soon, maybe, or a bare it/that before a verb.

Each flagged spot reports the line number, the category, the exact matched words, and a suggestion. A suggestion is shown only when a plain, meaning-preserving replacement exists; otherwise the suggestion is no suggestion and you decide how to reword it. Two cases always get no suggestion: a sentence that refuses or forbids (We can't do it now, Don't reply immediately, You must not go), and a command phrase that does not open its clause (I think you need to leave). A suggestion also never changes who is acting: We will ship your order ASAP becomes as soon as possible, not a request to you. The relationship line is matched against common words — boss, manager, client, customer, colleague, coworker, teammate, partner, friend, parent, and similar. A word the tool does not recognize is reported as unknown, not mapped to a default, so you know the tone note is generic.

Options

  • --text TEXT: check pasted text
  • --input FILE: read a UTF-8 text file
  • --relationship TEXT: one line about the recipient
  • --output FILE: write the report to a file
  • --format text|json|markdown|csv|html: choose the output format; default is text
  • --only all|harsh|cold|ambiguous: limit the report to one category
  • --summary: print flag counts instead of the full report

Limits

The tool reads words, not intent. It cannot judge whether a message is fair, true, or wise, and it does not rewrite the whole message. Flags are hints to reread a spot, not verdicts. It performs no sentiment scoring, no translation, and no network calls.

The rules are English phrases. A draft with no English letters at all (for example only Japanese) is reported as Checked: no (English only) rather than as clean, so an unreadable message is never mistaken for a safe one. A draft that carries any non-English character, even one (a Japanese note ending in FYI, or an English note with café), is reported as Partly checked (English parts only): the English words are scanned, but the non-English text is not, so it is never passed off as clean. Even when nothing is flagged, the report adds that finding nothing does not prove the message is safe — re-read it yourself. The csv, markdown, and html formats carry the same note so an empty table is never read as "all clear".

Errors

Invalid or unreadable input prints one error: ... line and exits with status 2. Examples include an empty document, a missing file, unsupported text encoding (such as UTF-16 or cp932), an output path that is a directory or an unwritable location, and an output path that is the same file as the input.

Run tests

python3 -m unittest discover -s tests