How to say an equals sign for assignment when dictating
Say “equals”, “equal” or “assign” to produce a single =. The character keeps spaces on both sides, so “camel case retry count equals zero” assembles as retryCount = zero. Three phrasings reach it, and “assign” is the one worth learning if you keep getting the comparison operator by accident.
An eight-word initialisation takes about 9.2 seconds on the keyboard and about 2.9 seconds aloud. (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.)
retryCount = max attempts - 1This tool runs entirely in your browser. Nothing you type is sent anywhere, stored, or logged.
Step by step
- 1
Name the variable first
Say a casing command and the words of the name, then “equals”. VoiceGem builds the identifier, then places the operator with a space on each side.
- 2
Say “assign” if you keep getting a comparison
Use the third alias when dictating quickly. “Assign” has no overlap with any comparison phrase, so it cannot be misheard as “double equals” by the transcription step.
- 3
Compose compound assignment
Say “plus equals” or “minus equals” for the compound forms. Both come from two lookups landing adjacent rather than from a dedicated entry.
- 4
By hand
Press the equals key, unmodified on every common layout. For a single assignment this is faster than speaking and always will be.
Three phrases reach the assignment operator, and the third one is a workaround
“Equals”, “equal” and “assign” all produce a single =. The first two exist because people say both; the third exists because the transcription step, not the Deterministic Pass, sometimes hears “equals” inside a longer phrase and produces something adjacent.
Separating the two failure modes matters. VoiceGem's speech-to-text runs on a local model and can mishear; the Deterministic Pass that follows it cannot, because it is a lookup over exact strings. When a dictated assignment comes out wrong, the phrase that failed is almost always the one the model heard, and an alias with no near-neighbours is the practical fix.
Where the manual way breaks
One equals key is one keystroke and typing it is not a burden anyone needs solving. Nothing on this page suggests otherwise.
The line around the assignment is what costs. A declaration keyword, a cased identifier, an operator and a call with arguments is a full line of mixed hand positions, and dictating it means saying the name you already had in your head. VoiceGem builds the identifier from the casing command in the same pass that places the operator, so the whole line arrives at once.
Doing this somewhere else? speech-to-code converter, in one place, how the double equals comparison works, the greater-than sign and closing angle bracket, or the less-than sign and opening angle bracket, step by step.
Common questions
Say “plus equals”. VoiceGem looks both characters up separately and they land adjacent, because both keep their surrounding spaces.
It has no near-neighbours in speech, so the transcription step is less likely to confuse it with a comparison phrase. The lookup itself never confuses anything — it matches exact strings.
Say “colon equals”. The colon attaches left and the equals keeps its spaces, so the two characters arrive together at the start of the short declaration.
Dictate a declaration and watch the identifier and the operator land together.
Open the tool