Thursday, October 19, 2006

 

Is there anything outside the grammar?


Employing a tree adjoining grammar (TAG) in an ALG system isn't so hard. Just climbing and falling down trees, a common pattern and tight. Lots of recursion, but that's OK--it makes it hard for novices to duplicate and they're the only real threat to getting to the demon grail of computationally expressed texts that look "normal." Seasoned and grizzled old timers either already know or don't care. It's the young are always on the attack.

But it gets me to thinking, not so much about TAG as LTAG (lexicalized tree adjoing grammer) how they admit to the place of semantics inside a grammar. Turns out context sensitivity is a real thing after all.

If the lexicon can find a place in the grammer, couldn't affect also? And style? Is there anything that can't be defined within a grammar?

Comments:
Hmmm.. lots to ponder on in this post...

Nearly everything can have some theory applied to it, which can be formalized into a computational model. Grammars are particularily nice in that they naturally break problems down from larger abstract entities (e.g. Sentence) to more specific instances (eg. S->NP VP, NP->ADJ N, ADJ->"furry", N->"cat" etc..).

I haven't seen any specific grammar representations of style.. but there is a tonne of papers on the topic of style analysis, looking for syntactic and lexical patterning that are specific to an author. Most of this research is dedicated to author attribution. It would be neat to take some of the more interesting patterns discovered from this research, and create grammars out of them, or some kind of constraints which could be applied to the grammar evaluation process.

This paper by Dr. Ozlem Uzuner provides an interesting analysis of computer detection of style & expression: "Style versus Expression in Literary Narratives".

Related to style, a work by Pablo Gervas on modelling creativity: Exploring Quantitative Evaluations of the Creativity of Automatic Poets. He looks at a variety of generation systems, the template based work of the ALAMO group, an analysis of Hisar Manurung's work, an evolutionary model and finally a case based reasoning system. I haven't seen the output from the system he built, it's in Spanish and i'm sadly monolingual so can't really assess it's finesse.

I'm looking forward to seeing this new version you are working on. I'm still stuck with some architectual and GUI bugs. I'm thinking the approach i'd take is grammar based with some kind of exhaustive constraint based system... for creating more interesting aethetic effects I've got some goofy modules that do some funky things on their own, but nothing is integrated yet.

Keep on posting !
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?