dsntk-recognizer

Crates.iodsntk-recognizer
lib.rsdsntk-recognizer
version0.0.5
sourcesrc
created_at2023-11-05 15:04:56.922983
updated_at2024-04-19 16:12:21.065239
descriptionDecision Toolkit | Decision table recognizer
homepage
repositoryhttps://github.com/DecisionToolkit/dsntk-rs.git
max_upload_size
id1026024
size148,949
core (github:decisiontoolkit:core)

documentation

https://docs.rs/dsntk-recognizer

README

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 other components of Decision Toolkit.

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: 311

cargo fmt