[Attempto] Add new terms in ACE?

Jean-Marc Vanel jeanmarc.vanel at gmail.com
Fri May 25 20:40:52 CEST 2012


Hi Camla

You don't need Java to run APE .
Command line is very convenient .

Anyway , your first sentence works fine :

 ape -text  "A customer gives a card to a clerk." -solo paraphrase
There is a customer X1.
The customer X1 gives a card to a clerk.

Your second sentence is just a relative proposition, and APE, just like a
human, cannot make sense with it . But this works :

ape.exe -text "John who knows Mary is big."  -solo paraphrase
John knows Mary.

John is big.

If you wanted to tell APE where the nouns and verbs are, you could do this
, wich is often necessary for words not in the default lexicon :

A n:customer v:gives a n:card to a n:clerk.

And you can create your own lexicon in Prolog, it's explained in the
documentation.

Hope that helps .

2012/5/25 Camila Bezerra <camila.bezerra.br at gmail.com>

> Hi,
>
> Can I add terms like nouns and verbs in the ACE?
>
> I has realized that some terms from a sentence the ACE doesn't
> recognize....
>
> For example, the sentences "John who knows Mary."  and "A customer gives a
> card to a clerk." ...
>
> I am using the APE api to work with ACE from Java.
>
>  [ ]s
>
> *Camila Bezerra*
> Professor - Federal University of Recôncavo of Bahia (UFRB)
> MSc in Artificial Intelligence - Federal University of Pernambuco (UFPE)
> Bsc in Computer Science - Federal University of Alagoas (UFAL)
>
> “*Quanto a mim, não acreditaria no Evangelho se não me movesse a isso a
> autoridade da Igreja católica*.” (Santo Agostinho)
>
> "*O fruto da luz consiste em toda Bondade, Justiça e Verdade*."(Ef 5,9)
>
> ‎*"Onde estiver o bispo, ali estarão também as multidões, da mesma forma
> que onde estiver Jesus Cristo, ali estará a Igreja Católica".* (Santo
> Inácio de Antioquia)
>
>
>
> _______________________________________________
> attempto mailing list
> attempto at lists.ifi.uzh.ch
> https://lists.ifi.uzh.ch/listinfo/attempto
>
>


-- 
Jean-Marc Vanel
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/ - EulerGUI, a turntable GUI for Semantic Web +
rules, XML, UML, eCore, Java bytecode
+33 (0)6 89 16 29 52
chat :  irc://irc.freenode.net#eulergui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ifi.uzh.ch/pipermail/attempto/attachments/20120525/3c693fd5/attachment.html>


More information about the attempto mailing list