-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failing tests : miscomparision #287
Comments
Yes, this is the case, and it's been like that for a very long time. (more than 5 years?) These are all "fixable", in that the rules are specified in 2-3 files, and once you get a general feeling for how the rules work, it is not that hard to fix them up. Unfortunately, it takes a while to understand how the rules work, and fixing them is tedious. Constructing the grammar of language by hand is hard work. For this reason, most energy these days goes into developing algorithms that can learn these rules automatically. Of course, these algorithms don't work all that well, and developing them is hard. :-/ |
Was using ant for building and I never run relex tests. The migration to maven was the change that exposed them for me. |
I mean, you can keep this open. We have two choices: someone should either fix relex, or we should decrease and remove dependency on it. The problem, though is that ghost depends on R2L and R2L depends on relex ... its stove-piped. |
yeah, right! keeping this open would encourage a fix |
I just realized that relex unit tests doesn't have asserts actually. I would propose dividing them on two sets:
|
On reason that the URE (unified rule engine) was developed for opencog was so that the relex rules could run on it (that is what made it "unified"). In the end, the relex rules were never actually ported to the URE. But they should be. Or, at least someone should try porting a handful of them to see how hard it is, and see what issues pop up. Also: most or all relex rules to identify the head-verb are no longer needed: LG was changed to do this automatically. So a lot of simplification of the relex ruleset is possible. Much or most of the complexity in the relex rules was to identify the head-verb. If this is removed, most of the remaining rules are really very simple, almost trivial. |
many of the tests are failing with this type of miscomparision
Ubuntu: 18.04 with OpenJDK 11.0.4 and Link Grammar 5.7.0
full error message here
The text was updated successfully, but these errors were encountered: