An open API service indexing awesome lists of open source software.

https://github.com/lwflouisa/maisette

A demonstration of Maisette, a DSL of Ruby.
https://github.com/lwflouisa/maisette

cettemaisettesinon parallelconditionals ruby

Last synced: 9 months ago
JSON representation

A demonstration of Maisette, a DSL of Ruby.

Awesome Lists containing this project

README

          

# Maisette
A demonstration of combining Maisette with getting statistics using my AI system.

## Version
Ruby 3.2.3

## Usage
~~~ruby

a1 = :pomme_rouge_vert
a2 = cette("pomme", "rouge-vert")

b1 = :pomme_rogue_jaune
b2 = maisette("pomme", "rouge-jaune")

c1 = :pomme_rogue_ou_vert
c2 = sinon("pomme", "rouge", "vert")

get_statistics(a1, a2,
b1, b2,
c1, c2)

reasses
reasses
reasses
reasses

puts $current_information
puts $current_probability

representation = [ $current_probability, $current_information ]

puts "For #{representation[0]} of #{representation[1]}: #{4.times do reasses end}"
~~~

## Output
~~~
The probability is either to low or to large, so I can't determine exactly.
I'm confident it is not [ pomme_rogue_ou_vert Sinon pomme es ne rouge ou vert. ].
pomme_rogue_ou_vert Sinon pomme es ne rouge ou vert.
0.14374800000000001
~~~