[DGD] grammar voodoo questions
Noah Gibbs
noah_gibbs at yahoo.com
Wed Sep 20 21:40:45 CEST 2006
DGD recompiles grammars quite quickly. But it does have some funny
attributes in terms of new nouns and adjectives being recognized as soon as one
object that uses them exists anywhere.
I think you'll hit problems with maximum string size before you hit real
problems with speed, though. New words are mostly only added as new items are
created that use new nouns and adjectives - common during development, when you
don't care about a minor speed hiccup once an hour, but very rare for a
finished, deployed server.
--- Shentino <shentino at gmail.com> wrote:
> Was having an internal debate about whether or not to hard-code
> vocabulary into the parser. As in nouns vs adjectives vs adverbs vs
> articles.
>
> Phantasmal "recompiles" the parser everytime a new word is added or
> removed, and I'm not sure I want to do that.
>
> On 9/19/06, Mikael Lind <mikkelin at gmail.com> wrote:
> > 2006/9/20, Shentino <shentino at gmail.com>:
> > > Guess I'll have to write a parse grammar for parse grammars
> >
> > What is it that you want to do? I mean, what kind of stuff will be
> > frequently changing? Could you handle the frequently changing stuff in
> > LPC callbacks instead of hardwiring it into the grammar?
> >
> > Regards,
> > Mikael
> > __________________________________________
> > http://mail.dworkin.nl/mailman/listinfo/dgd
> >
> __________________________________________
> http://mail.dworkin.nl/mailman/listinfo/dgd
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the DGD
mailing list