dsntk-recognizer 0.3.0

ÐecisionToolkit | Decision table recognizer
Documentation

dsntk | ÐecisionToolkit

dsntk-recognizer

crates.io docs coverage build-linux-gnu build-linux-musl build-macos build-macos-aarch64 build-windows mit-license apache-license cc

Decision table recognizer

Overview

Decision table recognizer used by dsntk crate.

Recognizes decision tables defined as Unicode or Markdown text. To be properly recognized, the structure of the decision table must be conformant to DMN™ standard.

Example of decision table defined using Unicode characters:

  ┌───┬────────────┬───────╥──────────┐
  │ U │  Customer  │ Order ║ Discount │
  ╞═══╪════════════╪═══════╬══════════╡
  │ 1 │ "Business" │  <10  ║   0.10   │
  ├───┼────────────┼───────╫──────────┤
  │ 2 │ "Business" │ >=10  ║   0.15   │
  ├───┼────────────┼───────╫──────────┤
  │ 3 │ "Private"  │   -   ║   0.05   │
  └───┴────────────┴───────╨──────────┘

Example of decision table defined using Markdown:

U Customer Order Discount
i i o
1 "Business" <10 0.10
2 "Business" >=10 0.15
3 "Private" - 0.05

License

Licensed under either of

at your option.

Contribution

Any contributions to ÐecisionToolkit are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.