6 releases

0.0.5 Apr 19, 2024
0.0.4 Feb 4, 2024
0.0.3 Dec 31, 2023
0.0.2 Nov 14, 2023

#269 in Text processing

Download history 7/week @ 2024-02-01 17/week @ 2024-02-15 42/week @ 2024-02-22 11/week @ 2024-02-29 8/week @ 2024-03-07 7/week @ 2024-03-14 22/week @ 2024-03-28 21/week @ 2024-04-04 123/week @ 2024-04-18 8/week @ 2024-04-25

154 downloads per month
Used in 3 crates

MIT/Apache

610KB
8K SLoC

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.

Dependencies

~26MB
~507K SLoC