link-grammar
link-grammar copied to clipboard
THe SQL dict and SUBSCRIPT_MARK
It turned out SUBSCRIPT_MARK
is not used with the SQL dict.
-
dictionary_lookup_list()
returnes subscripted words using a dot instead of SUBSCRIPT_MARK. - Words that are subscripted with
SUBSCRIPT_MARK
are not found. It can be seen with!!test.n
(the dot is converted to aSUBSCRIPT_MARK
before the lookup). - It seems that subscripted word lookups are not supported.
Of course, all of that can be fixed if desired.
I'll think about this tomorrow. My knee-jerk reaction is that this is a bug, probably due to laziness and maybe forgetfulness, when the sql dict was implemented. Yes, I suppose it should be fixed. It's not urgent.
In PR #1225 I added 2 tests - for (1) and (3). They are skipped for now.