Tobias Neef | 1 Aug 11:51 2011
Picon

Issues with the ontology plugin in an embedded / maven environment

Hi,

I am working with GATE now for about 6 month and it is a really nice
piece of software but there are some annoying issues I ran into
related to the "interesting" classpath handling when initializing the
plugins.

I would like to use the Ontology-Plugin which is not part of the
standard distribution. Because I am using maven I wanted to include
this plugin as a maven dependency, but there was no repository I found
which included this resource therefore I put the jar in my local
repository and registered the plugin like that:

Gate.getCreoleRegister().registerComponent(OWLIMOntology.class);

But when I want to load the plugin with a given rdfXml Ontology like:

FeatureMap ontoSettings = Factory.newFeatureMap();
ontoSettings.put("rdfXmlURL", "http://remotefile");
OWLIMOntology ontologyLR =
(gate.creole.ontology.impl.sesame.OWLIMOntology) Factory
				.createResource("gate.creole.ontology.impl.sesame.OWLIMOntology",
						ontoSettings);

I get an exception:

gate.creole.ResourceInstantiationException:
java.lang.IllegalArgumentException: URI is not hierarchical
	at gate.creole.ontology.impl.sesame.OWLIMOntology.load(OWLIMOntology.java:370)
	at gate.creole.ontology.impl.sesame.OWLIMOntology.init(OWLIMOntology.java:195)
(Continue reading)

Alexander Dean | 1 Aug 12:04 2011

Looking for an agency/contractor to help us with GATE

Hi all,


Long time lurker, finally posting to see if there is anyone on the list who is available to help us our GATE project.

We're building a software product which predicts what media a user is interested in based upon their reading habits. To accomplish this, keywords are extracted from media consumed by the user, and these keywords are then clustered around related topics.

To date our developers have developed a prototype for this using GATE to extract keywords for an English-speaking audience, and next we need to:
* Improve the quality of the keywords extracted
* Develop techniques to identify related keywords and clusters of keywords (aka topics)
* Implement effective and low-friction language detection

So we're looking for a GATE guru to help us on the theory and implementation of the above. It could be an individual or a company - ideally in the UK or at least in Europe (so in a similar timezone to the rest of the team, who are in London/Milan/Madrid).

(Separately we're also looking for someone who can help us to make our GATE system work with Japanese-language texts, but this is a separate requirement.)

Please get in touch, or pass on if you know anybody. Many thanks!

Alex <at> Keplar LLP


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
GATE-users mailing list
GATE-users@...
https://lists.sourceforge.net/lists/listinfo/gate-users
Valentin Tablan | 1 Aug 13:59 2011
Picon

Re: Trouble importing classes into jape

    Hi William,

As far as I remember, the Imports support in JAPE was added in GATE 6.1, so that may be why it's not working for you.

    HTH,
    Valentin


On 29/07/11 16:31, William.Meyer-2pWtS8vgnRFWk0Htik3J/w@public.gmane.org wrote:
Thanks for responding, Hamish,

I should have indicated that I have indeed been using the statement you mentioned:

Imports: {
     import gate.creole.orthomatcher.*;
}

I get various error messages like "type cannot be resolved" and "_____ resolves to a package"

Primarily I've been trying to load the creole.orthomatcher functions, and I notice that orthomatcher is not a choice in the "Manage Creole Plugins" section of the Gate GUI, which I guess is where I would expect the orthomatcher type librar(ies) to reside. (I'm not clear on the relationship between the Annie orthomatcher and orthomatcher JavaDoc code that I've been finding online.)

I should note I'm using Gate Developer 5.1, build 3431

Regards,
William




From:        "hamish ( <at> laterthan.net)" <hamish-13EvjJdAXpwcWVvVuXF20w@public.gmane.org>
To:        William.Meyer-2pWtS8vgnRFWk0Htik3J/w@public.gmane.org
Cc:        gate-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Date:        07/29/2011 05:30 AM
Subject:        Re: [gate-users] Trouble importing classes into jape
Sent by:        hamishagain-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org



quoting from http://gate.ac.uk/sale/tao/splitch8.html#chap:jape

you need the Import statement:

In order to add additional Java import or import static statements to
all Java RHS’ of the rules in a JAPE grammar file, you can use the
following code at the beginning of the JAPE file:

Imports: {
import java.util.logging.Logger;
import java.sql.*;
}


hth

h

On 29 July 2011 04:46,  <William.Meyer-2pWtS8vgnRFWk0Htik3J/w@public.gmane.org> wrote:
> Hello,
>
> In order to get access to String methods (.forString, or
> .getStringForAnnotation, etc.) I've been trying to do "includes" at the top
> of .jape files.
>
> import gate.creole.orthomatcher.* ;   and     import static gate.Utils.*;
>
> are the two main libraries I've tried but they appear not to be found when I
> load the jape module into Processing Resources.
>
> TIA,
> William Meyer
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> GATE-users mailing list
> GATE-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/gate-users
>
>



--
Hamish                                  http://www.dcs.shef.ac.uk/~hamish/

If it is not economically viable to save the
planet, then the economic system must be wrong.
http://www.monthlyreview.org/nfte090701.php

Saying that Israel is justified in assaulting Palestine because of
Hamas' rockets is like saying the UK should have bombed Belfast when
the IRA was active.                 http://stopwar.org.uk/

------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ GATE-users mailing list GATE-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/gate-users


-- Valentin Tablan --------------------------------------------- Senior Researcher - University of Sheffield Department of Computer Science Regent Court 211 Portobello Street, S1 4DP, Sheffield, UK phone: +44 (0)114 2221932 mailto: V.Tablan-HubRg+hx8ZxeXsq7+8kxVA@public.gmane.org web: http://www.dcs.shef.ac.uk/~valyt http://valentin.tablan.net ---------------------------------------------
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
GATE-users mailing list
GATE-users@...
https://lists.sourceforge.net/lists/listinfo/gate-users
Sébastien Druon | 1 Aug 15:09 2011
Picon

Re-Setting LR properties

Hi!

I am looking for a way to re-set LR properties.
When I instantiate a LR, I can set its parameters, which are not 
possible to change afterwards. It makes testing and parameter tuning 
very painful.

Is there a standard way to do that?

When not, is it anyhow possible to create a visual resource overriding 
the default behaviour or only a patch to gate-core would do the trick?

Thanks a lot in advance,

Sébastien Druon

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
srecko joksimovic | 2 Aug 15:50 2011
Picon

Text annotation tool

Hello,


I have a research project, and I need text annotation tool. The idea is to load my ontology, post text and return found concepts, based on uploaded ontology.
I have tried KIM platform and that works great, but I need another tool in order to continue my research. 
Tool should have Java API, because my application is written using Java programming language.

Could you please tell me is StringAnnotation plugin tool that I could use for described purpose? Or, is there any other tool that is easy to configure, which has Java API, supports load ontology and string annotation?

I appreciate your help.

Best regards,
Srecko Joksimovic 
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
GATE-users mailing list
GATE-users@...
https://lists.sourceforge.net/lists/listinfo/gate-users
Bill Gosse | 2 Aug 16:58 2011

Re: Text annotation tool

Here’s  guy who used KIM, onoText’s tool, and liked it.

 

From: srecko joksimovic [mailto:sreckojoksimovic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: Tuesday, August 02, 2011 9:51 AM
To: GATE-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [gate-users] Text annotation tool

 

Hello,

 

I have a research project, and I need text annotation tool. The idea is to load my ontology, post text and return found concepts, based on uploaded ontology.

I have tried KIM platform and that works great, but I need another tool in order to continue my research. 

Tool should have Java API, because my application is written using Java programming language.

 

Could you please tell me is StringAnnotation plugin tool that I could use for described purpose? Or, is there any other tool that is easy to configure, which has Java API, supports load ontology and string annotation?

 

I appreciate your help.

 

Best regards,

Srecko Joksimovic 

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
GATE-users mailing list
GATE-users@...
https://lists.sourceforge.net/lists/listinfo/gate-users
Bill Gosse | 2 Aug 16:59 2011

Recall: Text annotation tool

Bill Gosse would like to recall the message, "[gate-users] Text annotation
tool".
Attachment (winmail.dat): application/ms-tnef, 1468 bytes
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
GATE-users mailing list
GATE-users@...
https://lists.sourceforge.net/lists/listinfo/gate-users
Johann Petrak | 3 Aug 00:58 2011
Picon

Re: Parameters to Jape transducer

(sorry for the delay I was on vacation ...)

The plugin that does this is available here:
  http://www.ofai.at/~johann.petrak/GATE/JapeParms.html

Please note that this is an early alpha version, may change
in the future, and is not very well documented. Hope it
is still useful!

Cheers,
  johann

On 2011-07-25 10:13, Sébastien Druon wrote:
> Thanks for the answer,
> 
> Your approach seems interesting. Perhaps you have a piece of code you
> could send me to exemplify it?
> 
> Thanks a lot,
> 
> Sébastien Druon
> 
> 
> On 07/22/2011 04:32 PM, Johann Petrak wrote:
>>> On 22/07/2011 11:36, Sébastien Druon wrote:
>>>> I would like to use the parameter in the LHS of the rule, for example
>>>> ({Token}) [2,parameter]
>>>> with parameter being the parameter to pass to the jape rule
>> JAPE grammars are compiled into a FSM when the transducer
>> PR is (re-)initialized -- everything that would need to be
>> compiled into a different FSM must therefore be known before
>> the grammar is compiled.
>>
>> However, I found that in practice, one often wants to reuse typical
>> JAPE "templates" where only small variations need to be changed
>> (like the maximum repetition parameter in your case).
>> My approach was therefore to preprocess the grammar using a
>> template substitution mechanism. I have had some code for doing
>> this laying around for a while which I plan to publish as a plugin
>> sometime soon (in the next days).
>>
>> Cheers,
>>    johann
>>
>> ------------------------------------------------------------------------------
>>
>> 10 Tips for Better Web Security
>> Learn 10 ways to better secure your business today. Topics covered
>> include:
>> Web security, SSL, hacker attacks&  Denial of Service (DoS), private
>> keys,
>> security Microsoft Exchange, secure Instant Messaging, and much more.
>> http://www.accelacomm.com/jaw/sfnl/114/51426210/
>> _______________________________________________
>> GATE-users mailing list
>> GATE-users@...
>> https://lists.sourceforge.net/lists/listinfo/gate-users
> 
> 

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
srecko joksimovic | 3 Aug 08:49 2011
Picon

Re: Text annotation tool

Hello,

I use KIM, and it is very good. But I need another tool. Just for research... do you have an example, or tutorial for any other tool?

Thank you.

Srecko

On Tue, Aug 2, 2011 at 4:58 PM, Bill Gosse <Bill.Gosse-2bn1JSwCxd+rG/iDocfnWg@public.gmane.org> wrote:

Here’s  guy who used KIM, onoText’s tool, and liked it.

 

From: srecko joksimovic [mailto:sreckojoksimovic <at> gmail.com]
Sent: Tuesday, August 02, 2011 9:51 AM
To: GATE-users-5NWGOfrQmneHXe+LvDLADg@public.gmane.orgrceforge.net
Subject: [gate-users] Text annotation tool

 

Hello,

 

I have a research project, and I need text annotation tool. The idea is to load my ontology, post text and return found concepts, based on uploaded ontology.

I have tried KIM platform and that works great, but I need another tool in order to continue my research. 

Tool should have Java API, because my application is written using Java programming language.

 

Could you please tell me is StringAnnotation plugin tool that I could use for described purpose? Or, is there any other tool that is easy to configure, which has Java API, supports load ontology and string annotation?

 

I appreciate your help.

 

Best regards,

Srecko Joksimovic 


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
GATE-users mailing list
GATE-users@...
https://lists.sourceforge.net/lists/listinfo/gate-users
Bill Gosse | 3 Aug 21:01 2011

HTML vs. Text

Which better for a GATE document, html or plain text? I was pulling the body out of the html files I retrieve and the convert them to plain text by using a utility that essential removes the html tags from it.  I then annotated this with GATE with left me with one original annotation, a paragraph. I was assuming that this was the most optimal approach.  Is this a correct assumption?

 

Bill Gosse | Chief Technology Officer | SalesQuest “Find Decision Makers Faster”
(978) 749.9999 x110 | www.salesquest.com | Inc. 500

This is a PRIVATE and CONFIDENTIAL message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.

 

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
GATE-users mailing list
GATE-users@...
https://lists.sourceforge.net/lists/listinfo/gate-users

Gmane