Releases: mlverse/lang
Releases · mlverse/lang
lang 0.1.1
lang 0.1.1
New features
lang_use()andlang_help()gain acontext_sizeargument (.context_size
inlang_use()). When set, a short summary of the full help page is generated
and injected into the translation prompt for every field, giving the LLM
consistent terminology across sections. Defaults to100words; set to0
to disable.
Improvements
- Rd parsing has been rewritten to use a structured intermediate list
(rd_to_list()/list_to_rd()) instead of regex-based text manipulation.
This makes translations more reliable and eliminates a class of edge-case
formatting errors.
lang 0.1.0
Translates R help documentation on the fly by using a Large Language model of your choice. If you are using 'RStudio' or 'Positron'
the translated help will appear in the help pane.