[good] Re: [MUD-Dev] Parser engines
efindel at earthlink.net
Tue Mar 30 22:32:28 New Zealand Daylight Time 2004
On Friday 12 March 2004 03:29, Manuel Lanctot wrote:
> That's the biggest challenge IMO. The English language is absurdly
> simple compared to some others. Sticking with French, this
> language has two possible genders for every noun: "masculin"
> (male) and "feminin" (female). Some nouns, like table, chair,
> river, etc. are "feminine" - which changes the pronoun in front of
> it. I simply can't imagine a dynamic parser recognizing which word
> is which gender. And I'm not even talking about singular/plural -
> there are hundreds
> of exceptions. Basically, you'd need a dictionnary database with
> all the exceptions (I think there are around 10,000 syntax
> exceptions in French). And I guess French is not the worst
Why worry about it? The genders of inanimate objects are utterly
arbitrary. Simply accept both forms of the pronouns as valid. (For
that matter, trying to accept only the "grammatically correct"
version is likely to cause problems, since people will make
mistakes... and since different dialects may have differences in the
gender they assign to things.)
Now, it is a problem for sentence generation... but for parsing, it
shouldn't be much of one.
|\ _,,,---,,_ Travis S. Casey <efindel at earthlink.net>
ZZzz /,`.-'`' -. ;-;;,_ No one agrees with me. Not even me.
|,4- ) )-,_..;\ ( `'-'
MUD-Dev mailing list
MUD-Dev at kanga.nu
More information about the MUD-Dev