[Attempto] Problem with If - then construction .

Kaarel Kaljurand kaljurand at gmail.com
Fri Nov 18 08:49:21 CET 2011


Hi,

On Fri, Nov 18, 2011 at 05:53, Jagadish Koneti
<Jagadish_Koneti at infosys.com> wrote:
>
>    I tried to parse the  if – then sentence gives in construction rules manual of ACE as an example but the online APE is showing an error message . Can any explain why is this error happening ??
>
> Sentence : “ If john enters a card then the automated-teller accepts it . ”

You have several options to get this sentence to parse:

Option 1: Capitalize 'john'

If John enters a card then the automated-teller accepts it.
guessing = off
clex = on

Option 2: Introduce 'john' to the lexicon

If john enters a card then the automated-teller accepts it.
guessing = off
clex = on
lexicon = pn_sg(john, john, masc).

Note that just switching guessing on does not work because propernames
are guessed only with they start with a capital letter, otherwise they
need to be declared in the lexicon.

> Actually I am trying write a sentence  ( “ If Fulfillment process completes then Accounts supplier initiates Freight billing process ” )  in ACE . Can any one who know ACE very well an suggest me how to write in ACE ?

One option is

    If Fulfillment-process v:completes then Accounts-supplier
initiates Freight-billing-process.

another is:

    If a n:fulfillment-process v:completes then an n:accounts-supplier
initiates a n:freight-billing-process.

but it would be better to define all the unknown words in the lexicon
(i.e. the words that I've prefixed in the examples).

Best regards,
Kaarel


More information about the attempto mailing list