Repository navigation
Setting annotation functions for rules #24
|
Hello! I'm trying to setup pyreason to be used in my university project. I've notice that some of the functionality described in tutorials is no longer directly available (e.g. loading rules and labels from yaml files). I've been trying to piece together how to give annotation functions to rules via the pyreason format. Here's what I have so far: yet when I run the code, I get a TypeError with the following stacktrace: Is there something wrong with my rule syntax or the way I'm adding the annotation function? |
Answered by
dyumanaditya
May 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mikkohu Please see this for an example on how you can create your own annotation functions, the internal ones are not working currently.