singnet / language-learning

OpenCog Unsupervised Language Learning
https://wiki.opencog.org/w/Language_learning
MIT License
32 stars 11 forks source link

Unit test for LG parser using sql dictionary #246

Closed glicerico closed 2 years ago

glicerico commented 5 years ago

This test is currently skipped. Should work when LG version is >= 5.6.2

Added an sql-formatted LG dictionary to test LG-parser functionality with it.

To solve issue: https://github.com/singnet/language-learning/issues/245

glicerico commented 5 years ago

Andres, you made a copy of unit test that makes sure LGParseError exception is raised when improper parammeters are specified. What sort of check you intended your unit test to perform?

Ah, I guess I didn't understand the workings of that test correctly. I just want a test that passes as long as pr.parse() with a db dictionary works fine, and doesn't pass otherwise.

akolonin commented 5 years ago

@alexei-gl - please guide @glicerico how to resolve this.