| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. |
| 2 |
.TH SPIT "1" "January 2026" "GNU gettext-tools 1.0" "User Commands" |
| 3 |
.SH NAME |
| 4 |
spit \- translate some text through a Large Language Model |
| 5 |
.SH SYNOPSIS |
| 6 |
.B spit |
| 7 |
[\fI\,OPTION\/\fR...] |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Passes standard input to a Large Language Model (LLM) instance and prints |
| 12 |
the response. |
| 13 |
With the \fB\-\-to\fR option, it translates standard input to the specified language |
| 14 |
through a Large Language Model (LLM) and prints the translation. |
| 15 |
.PP |
| 16 |
Warning: The output might not be what you expect. |
| 17 |
It might be of the wrong form, be of poor quality, or reflect some biases. |
| 18 |
.SH OPTIONS |
| 19 |
.TP |
| 20 |
\fB\-\-species\fR=\fI\,TYPE\/\fR |
| 21 |
Specifies the type of LLM. The default and only |
| 22 |
valid value is 'ollama'. |
| 23 |
.TP |
| 24 |
\fB\-\-url\fR=\fI\,URL\/\fR |
| 25 |
Specifies the URL of the server that runs the LLM. |
| 26 |
.TP |
| 27 |
\fB\-m\fR, \fB\-\-model\fR=\fI\,MODEL\/\fR |
| 28 |
Specifies the model to use. |
| 29 |
.TP |
| 30 |
\fB\-\-to\fR=\fI\,LANGUAGE\/\fR |
| 31 |
Specifies the target language. |
| 32 |
.TP |
| 33 |
\fB\-\-prompt\fR=\fI\,TEXT\/\fR |
| 34 |
Specifies the prompt to use before standard input. |
| 35 |
This option overrides the \fB\-\-to\fR option. |
| 36 |
.TP |
| 37 |
\fB\-\-postprocess\fR=\fI\,COMMAND\/\fR |
| 38 |
Specifies a command to post\-process the output. |
| 39 |
.PP |
| 40 |
Informative output: |
| 41 |
.TP |
| 42 |
\fB\-h\fR, \fB\-\-help\fR |
| 43 |
Display this help and exit. |
| 44 |
.TP |
| 45 |
\fB\-V\fR, \fB\-\-version\fR |
| 46 |
Output version information and exit. |
| 47 |
.SH AUTHOR |
| 48 |
Written by Bruno Haible. |
| 49 |
.SH "REPORTING BUGS" |
| 50 |
Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext> |
| 51 |
or by email to <bug\[email protected]>. |
| 52 |
.SH COPYRIGHT |
| 53 |
Copyright \(co 2025\-2026 Free Software Foundation, Inc. |
| 54 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> |
| 55 |
.br |
| 56 |
This is free software: you are free to change and redistribute it. |
| 57 |
There is NO WARRANTY, to the extent permitted by law. |
| 58 |
.SH "SEE ALSO" |
| 59 |
The full documentation for |
| 60 |
.B spit |
| 61 |
is maintained as a Texinfo manual. If the |
| 62 |
.B info |
| 63 |
and |
| 64 |
.B spit |
| 65 |
programs are properly installed at your site, the command |
| 66 |
.IP |
| 67 |
.B info spit |
| 68 |
.PP |
| 69 |
should give you access to the complete manual. |