dsntk-recognizer

Crates.iodsntk-recognizer
lib.rsdsntk-recognizer
version0.0.9
sourcesrc
created_at2023-11-05 15:04:56.922983
updated_at2024-11-13 16:46:48.965793
descriptiondsntk | Decision Toolkit | Decision table recognizer
homepage
repositoryhttps://github.com/DecisionToolkit/dsntk-rs.git
max_upload_size
id1026024
size158,947
core (github:decisiontoolkit:core)

documentation

https://docs.rs/dsntk-recognizer

README

dsntk | Decision Toolkit

Decision table recognizer

Crates.io docs Code coverage
build Linux build Windows build MacOs
MIT licensed Apache 2.0 licensed Contributor Covenant

Overview

Decision table recognizer used by components of dsntk crate.

Recognizes decision tables defined as Unicode text. To be properly recognized, the structure of the decision table must be conformant to DMN™ standard. Example of the decision table defined using only Unicode characters is shown below:

  ┌───┬────────────┬───────╥──────────┐
  │ U │  Customer  │ Order ║ Discount │
  ╞═══╪════════════╪═══════╬══════════╡
  │ 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 Decision Toolkit 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.

Commit count: 434

cargo fmt