List Info

Thread: 2 JAPE FILES




2 JAPE FILES
user name
2006-02-12 23:56:35
Hi all,
 
I'm working with the GATE UI, and I've a doubt! Could I create two or more JAPE Transducers and execute it together?
 
I have two JAPE files, the first one detect the taggs that I want and define some macros for kind-of-phrase detection, and the second one uses this macros to obtain concepts and subclases. My problem is that when I want to load the second JAPE file, appears an error. The error is that in the second file there are not the macros definied, and  I can not load it. What can I do when the macros used in a JAPE file are defined in another JAPE file??
 
Another problem is that I have some taggs that not appears in my tagger set. I'm working with the spanish tager. The bad taggs are: NN,NNP and NNS. There are more people that ask for this quiestion in the mailing list, but the have not any answer.
 
At the moment that's all.
 
Thank you very much.
 
Best regards.
 
Sergi Fernandez
2 JAPE FILES
user name
2006-02-13 14:30:05
Hi Sergi
Are you loading the two grammar files independently of each
other?
I think if you do it this way the macros will not hold from
one grammar to the 
other.
If you load a main.jape which lists the relevant JAPE
grammars to be loaded 
(as is done with ANNIE) I think the macros should hold from
one grammar to the 
other.

As for your second question, I don't understand your
problem. Please can you 
clarify exactly what PRs you are using and what the problem
is.
Regards
Diana


Sergi Fernandez wrote:
> Hi all,
>  
> I'm working with the GATE UI, and I've a doubt! Could
I create two or 
> more JAPE Transducers and execute it together?
>  
> I have two JAPE files, the first one detect the taggs
that I want and 
> define some macros for kind-of-phrase detection, and
the second one uses 
> this macros to obtain concepts and subclases. My
problem is that when I 
> want to load the second JAPE file, appears an error.
The error is that 
> in the second file there are not the macros definied,
and  I can not 
> load it. What can I do when the macros used in a JAPE
file are defined 
> in another JAPE file??
>  
> Another problem is that I have some taggs that not
appears in my tagger 
> set. I'm working with the spanish tager. The bad taggs
are: NN,NNP and 
> NNS. There are more people that ask for this quiestion
in the mailing 
> list, but the have not any answer.
>  
> At the moment that's all.
>  
> Thank you very much.
>  
> Best regards.
>  
> Sergi Fernandez
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )