Re: Robert...EDS - questions/comments
- Posted by Michael Sabal <mikes at notations.com> Feb 13, 2001
- 517 views
I'm going to make a few assumptions about your dictionary format that may = be way off. If they are, then probably most of what I say will be = useless; but here goes anyway. I assume you have a dictionary that Tiggr can look in to determine the = meaning of words she reads, and in which she can find appropriate words = with which to respond. In order to know the appropriateness of a word, I = assume you have a class field as part of the dictionary entry. For = example, a homonym with both a casual class entry and a technical class = entry, but different meanings, would have to be decided between based on = the context of the discussion. You must have a means for Tiggr to learn new vocabulary based on the = context. Why not allow Tiggr to learn typos in the same way she learns = other vocabulary, but with a class that prevents her from using the typo = in her own responses? Also consider that about half the words in a sentence are grammatical. = That means that, based on the position in the sentence, grammatical typos = need only be compared to grammatical words and not the other half-million = nouns,verbs, adjectives, etc. in the dictionary. If the word expected is = a noun, compare the typo to only nouns, etc. This is a large reason why I = chose to go with a hex-based language for internal processing, even though = the overhead of translating to that language would be a bit higher. As for my statement about sorting during down-times, I was referring only = to sorting, not to comparing. The compare would obviously have to happen = during the conversation. Michael J. Sabal >>> gertie at PELL.NET 02/12/01 04:41PM >>> If one assumes every word in the sentence is a typo, then every word must = be=20 compared to find a tree of possible correct words for the entire sentence. = Anything=20 else is throwing away info. >(NB: the sort routine could be run when Tiggr recognizes she's > the only one in the room. =20 Sorta useless to reply to conversation only after everyone leaves, isn't = it? Kat