NAME
Wordsmith::Claude::Options - Configuration options for text rewriting
SYNOPSIS
use Wordsmith::Claude::Options;
my $options = Wordsmith::Claude::Options->new(
model => 'haiku', # Use faster/cheaper model
language => 'Spanish', # Translate while rewriting
);
my $result = rewrite(
text => $input,
mode => 'casual',
options => $options,
)->get;
DESCRIPTION
Configuration options for the Wordsmith::Claude rewrite function.
ATTRIBUTES
model
Claude model to use. Options: 'sonnet', 'opus', 'haiku'. Defaults to the Claude Agent default.
max_length
Hint for maximum output length in characters. Not strictly enforced.
preserve_formatting
Boolean. If true, attempt to preserve the original formatting (paragraphs, lists, etc.) in the output.
language
Output language for translation. If set, the rewritten text will be in this language regardless of the input language.
AUTHOR
LNATION, <email at lnation.org>
LICENSE AND COPYRIGHT
This software is Copyright (c) 2026 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)