Send files or text to local Ollama model for fixing typos
4. 4. 2026Example:
cat myfile.txt | ollama run gemma4 "Fix all typos and grammatical errors in this text and return the corrected version." --think=false
There is also much slower, but I guess much smarter:
--hidethinking
Tipos script can take typed text or files as input.
Examples:
tipos "what th hec is thi?
=== Checking text: "what th hec is thi?" ===
What the heck is this?
tipos "on plus one is three, two pls two in five.
=== Checking text: "on plus one is three, two pls two in five." ===
One plus one is two, two plus two is four.