Re: [UIMA Type Mapper] Fwd: More about the CFE ?

10 views
Skip to first unread message

Nicolas Hernandez

unread,
Feb 9, 2010, 1:46:43 PM2/9/10
to Samuel NGAHANE, Charles, Emilien, Jérome, Warren, uima-typ...@googlegroups.com
En continuant mon investigation sur CFE...

ne trouvant pas de fichiers tests dans ce que je vous avais donné,
j'ai réalisé que dans la nouvelle distribution de Apache UIMA 2.3
(présente dans la version -v100205 de mon environnement) se trouvait
une version binaire et packager de CFE.

Regarder ici :
applications/apache-uima-addons-2.3.0-incubating-bin/annotator/ConfigurableFeatureExtractor

Je suis par ailleurs aller récupérer les sources sur le dépot svn
http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/

En attaché une version des sources que j'ai un peu modifié (notamment
en rajouter des lib et en précisant le build path)... il vous faudra
les respécifier par rapport à votre env.

Il me semble que maintenant pour tester CFE, il y a au moins trois pistes
* tester le binaire en lisant sa doc (disponible dans un de ses sous
répertoires)
* dans la version source, exécuter avec Eclipse le test junit de
ConfigurableFeatureExtractor/src/test/java/org/apache/uima/tools/cfe/test/CFETest.java
* dans la version source, la plupart des fichiers descripteurs et de
configuration d'un exemple d AE qui utilise CFE se trouvent dans
ConfigurableFeatureExtractor/src/test/resources... notamment ceux du
test. Il s'agit soit de réussir à faire tourner cet AE (n'ai pas
réussi pour l'instant personnellement), soit observer le code de
l'exemple qui est en fait un CAS Consumer (CC) (cad un AE terminal) et
de le changer en véritable AE. Si j'ai bien compris, le CFETest.java
// Run an aggregate with a person-title annotator and
// a CFE Cas Consumer
Il déclare utiliser le descripteur d'AE
PersonTitlePlusFeatureExtraction.xml qui en fait renvoie
(delegateAnalysisEngineSpecifiers) sur PersonTitleAnnotator.xml (pour
qu'il y ait un traitement à analyser) et sur UIMAFeatureConsumer.xml
lequel spécifie la classe
org.apache.uima.tools.cfe.UIMAFeatureConsumer. C'est donc à partir de
cette classe qu'il faudrait travailler pour produire un AE.

à voir si on peut mettre en parallèle un test avec jxpath pour savoir
si c'est plus simple à utiliser...

On Mon, Feb 8, 2010 at 9:14 PM, Nicolas Hernandez
<nicolas....@gmail.com> wrote:
> La réponse ne s'est pas fait attendre. Voici une piste pour utiliser le CFE.
>
> A voir donc
>
>
> ---------- Forwarded message ----------
> From: Igor Sominsky <somi...@us.ibm.com>
> Date: Mon, Feb 8, 2010 at 6:23 PM
> Subject: Re: More about the CFE ?
> To: nicolas....@univ-nantes.fr
> Cc: Michael A Tanenblatt <mt...@us.ibm.com>
>
>
> Dear Nicolas,
>
> I hope you will find CFE useful for your task and I'll be glad to help
> you with that.
> The distribution code has a test case (in src/test/*) that can serve
> as an example and be a good starting point.
> As for the improvements, we have expanded FESL to add functionality
> for processing math and logical expressions for evaluation and
> comparison feature values, but that is not checked-in yet
>
> Please let me know if you have further questions
>
> Thanks
> Igor Sominsky
>
>
> -----Nicolas Hernandez <nicolas....@gmail.com> wrote: -----
>
> To: Igor Sominsky/Watson/IBM@IBMUS
> From: Nicolas Hernandez <nicolas....@gmail.com>
> Date: 02/08/2010 11:09AM
> Subject: More about the CFE ?
>
> Dear Igor,
>
> I found your work on the CFE very interesting. I would like to test
> it. I am interested by the FESL part.
>
> I downloaded the sources from
> https://issues.apache.org/jira/browse/UIMA-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>
> managed to handle the multiple dependencies (by the way is there a
> more recent version somewhere ? are you still working on it ?)
>
> But now... how i am supposed to make it work ?
>
> I had a look at the consumer code... I have noticed there are tracks
> of examples too... but it is not enough.
>
> Please would you have some sort of README file (even very basic) or
> some more complete example codes that you could send me ?
>
> It would be very kind if you have
>
> Thanks in advance
>
> /Nicolas
>
> On Sun, Jan 31, 2010 at 10:02 PM, Igor Sominsky <somi...@us.ibm.com> wrote:
>>
>>
>> I am out of the office from Sun 01/31/2010 until Mon 02/08/2010.
>>
>>
>>
>>
>> Note: This is an automated response to your message  "[jira] Created:
>> (UIMA-1731) ResourceInitializationExceptions thrown by a deployed aggregate
>> are only partially logged" sent on 1/31/10 15:31:34.
>>
>> This is the only notification you will receive while this person is away.
>
>
>
> --
> Nicolas....@univ-nantes.fr
> --
> http://www.univ-nantes.fr/hernandez-n
> # Laboratoire LINA-TALN CNRS UMR 6241
> tel. +33 (0)2 51 12 58 55
> # Institut Universitaire de Technologie de Nantes - Département Informatique
> tel. +33 (0)2 40 30 60 67
>
>
>
>
> --
> Nicolas....@univ-nantes.fr
> --
> http://www.univ-nantes.fr/hernandez-n
> # Laboratoire LINA-TALN CNRS UMR 6241
> tel. +33 (0)2 51 12 58 55
> # Institut Universitaire de Technologie de Nantes - Département Informatique
> tel. +33 (0)2 40 30 60 67
>

--
Nicolas....@univ-nantes.fr
--
http://www.univ-nantes.fr/hernandez-n
# Laboratoire LINA-TALN CNRS UMR 6241
tel. +33 (0)2 51 12 58 55
# Institut Universitaire de Technologie de Nantes - Département Informatique
tel. +33 (0)2 40 30 60 67

Reply all
Reply to author
Forward
0 new messages