grammatica-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Grammatica-users] Case insensitive Grammar


From: paskal sanil
Subject: Re: [Grammatica-users] Case insensitive Grammar
Date: Tue, 22 Jan 2008 14:51:33 +0530

Hi,

   Thanks for your fast reply. But my question is

Fore example i have a formula:

 TOT_COUNT('ns1').

 The corresponding grammar is :

 FctA = FctB "(" QUOTE TOPO_TEXT  QUOTE ")" ;
 FctB = TOT_COUNT ;

 Is there a way we can ignore the "Case sensitvity" for only certain
tokens while comparing against the grammar?

 ie; Here in the above case the token "TOT_COUNT" can be any "case"
while 'ns1' (that appears in single quote - TOPO_TEXT) should strictly
follow the grammar.

 I have many token like FctB which needs exact match and hence i can't
go for Regular expression.

Can i define something like :

FctB = TOT_COUNT CASESENSITIVE = "no" ;


regards
paskal

On 1/22/08, Leszek Doniec <address@hidden> wrote:
> I would try to define tokens as case insensitive regular expressions.
> Leszek
>
> 2008/1/22, paskal sanil <address@hidden>:
> >
> > Hi,
> >
> > I read about the case-insensitive parsing in Grammatica by including
> >
> > CASESENSITIVE = "no"
> >
> > Could you please tell me, how can i apply this on only few tokens.
> > Could you give me a small example too.
> >
> > regards,
> > paskal sanil
> >
> >
> > _______________________________________________
> > Grammatica-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/grammatica-users
> >
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]