Skip to main content

Crate nlcalc

Crate nlcalc 

Source
Expand description

Natural-language calculations with explicit, composable plugins.

Modules§

plugins
presentation

Structs§

Answer
Calculator
Context
Error
Span

Enums§

ModelPosition
Standalone model answers may retain an exact presentation directive.

Traits§

Plugin
Wording hooks run once in registration order, then operation hooks receive the final expression. Return None to decline; errors mean recognized but invalid.

Functions§

highlights
Byte offsets into the input; adapters can render these spans however they like.
number

Type Aliases§

Outcome