How to dictate a double equals comparison
Say “double equals” or “equal equals” to produce ==, spaced on both sides, so “if status double equals ready” assembles as if status == ready. Longest-first matching means the two-word phrase is found before either word is considered alone, so you cannot get a single equals by accident.
A ten-word equality check costs about 12 seconds to type and about 3.7 seconds to speak. (sources: Dhakal, Feit, Kristensson & Oulasvirta, “Observations on Typing from 136 Million Keystrokes”, CHI 2018, 168,000 participants, 136 million keystrokes; Yuan, Liberman & Cieri, “Towards an Integrated Understanding of Speaking Rate in Conversation”, Interspeech 2006, 2,438 American English telephone conversations (Switchboard corpus). The speech figure is conversational rate, not a measured dictation rate — no such measurement exists.)
if response.status == 200 {This tool runs entirely in your browser. Nothing you type is sent anywhere, stored, or logged.
Step by step
- 1
Say the two-word phrase as one unit
Speak “double equals” without pausing between the words. VoiceGem tries three-word phrases, then two-word, then single words, so the pair is matched before either half is looked up alone.
- 2
Put it between the operands
Say the left side, the phrase, then the right side. The operator keeps spaces on both sides, which is how every common formatter lays out a comparison.
- 3
Reach for “equal equals” if the first phrase fails
Use the alternative when the transcription step mishears. Both phrases are in the table and both produce the identical two characters.
- 4
Doing it manually
Press the equals key twice. For a single comparison this is quicker than speaking, and most linters will warn you if you meant the strict form instead.
Longest-first matching is what stops == becoming =
The single most common worry about dictating comparisons is getting an assignment instead, which is a bug that compiles. VoiceGem cannot make that substitution: at each position the Deterministic Pass tries a three-word phrase, then a two-word phrase, then one word, so “double equals” is consumed as a unit before the word “equals” is ever considered on its own.
Matching order is fixed in the table walk rather than decided per sentence. That is the difference between a lookup and a prediction — there is no temperature, no context window and no version of the model that behaves differently next month.
Where the manual way breaks
Two keystrokes on an unmodified key is about as cheap as typing gets. A single equality check is not a dictation problem.
Comparisons rarely arrive alone. A guard clause with a status check, a string literal and a brace is a line of mixed quoting and punctuation, and the classic typing error in it is the single equals that assigns instead of comparing. Dictating it in VoiceGem removes that particular error class entirely, because the phrase you said maps to exactly one pair of characters.
Doing this somewhere else? the speech-to-code converter on this site, the assignment equals sign, step by step, what changes for the greater-than sign and closing angle bracket, or the less-than sign and opening angle bracket specifically.
Common questions
No. VoiceGem matches longest-first, so the two-word phrase “double equals” is consumed before the word “equals” is considered alone.
Say “triple equals” for ===. It is a separate entry in the table with a single phrasing and no alias.
Yes. The double equals attaches on neither side, so the spaces between your spoken words survive and the comparison reads like formatted source.
Try to make it produce a single equals — it will not.
Open the tool