I have another table which contains proper names, which users will query. I’m having a similar problem, as in the system does not recognize the entry as a noun, much less a proper noun. This was expected given most names are international. So how to tackle the problem?
What I’m expecting is to catch the proper names as e.g.
(What is _~dude cooking)
where ~dude has a list of last names and full names (full names for cases of repeated last names).
So if the user enters one or two nouns my code handles it all well (even for partial matches which is a plus).
In a few cases the noun is also a dictionary defined non-proper noun, so I do a
^pos(noun _1 proper)
and problem fixed.
But again, how to force a catch of unknown nouns?
I tried adding the names to the dict files with:
name ( NOUN_HUMAN NOUN_FIRSTNAME NOUN_HE NOUN NOUN_PROPER_SINGULAR )
but it has no effect. I suppose if I could define the word as a proper noun, problem fixed…
Thanks!