Crates.io | dsntk-recognizer |
lib.rs | dsntk-recognizer |
version | 0.0.8 |
source | src |
created_at | 2023-11-05 15:04:56.922983 |
updated_at | 2024-09-18 07:53:03.937125 |
description | dsntk | Decision Toolkit | Decision table recognizer |
homepage | |
repository | https://github.com/DecisionToolkit/dsntk-rs.git |
max_upload_size | |
id | 1026024 |
size | 158,947 |
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 │
└───┴────────────┴───────╨──────────┘
Licensed under either of
at your option.
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.