[developers] a toy grammar not working in LKB FOS and logon dist
Ann Copestake
aac10 at cl.cam.ac.uk
Fri May 31 09:56:39 CEST 2019
I don't have time to look at it, but it looks like the sort of thing
that used to happen when a file had windows end of line encoding and the
system was expecting Linux or vice versa. Dan wouldn't see it because
the file would be autoconverted. I thought we had made the systems
robust to that, but maybe it's similar but not actually end of line.
Ann
On 31/05/2019 08:44, Dan Flickinger wrote:
>
> Hi Olga,
>
>
> I cannot reproduce the misbehavior you describe. I loaded your
> grammar into each of the two systems (LOGON LKB and LKB-FOS), and in
> each system I saw no errors on loading, and I was able to successfully
> parse the sentence "Kim adores snow in Oslo" (two parses produced, as
> expected). Note that there is no attempt to define a type "null"
> (without asterisks) in your user-fns.lsp, so I also don't understand
> how you could get the error messages you report about that undefined type.
>
>
> I hope you can provide more details about your setup if the problem
> persists for you.
>
>
> Dan
>
>
>
>
> ------------------------------------------------------------------------
> *From:* developers-bounces at emmtee.net <developers-bounces at emmtee.net>
> on behalf of Olga Zamaraeva <olzama at uw.edu>
> *Sent:* Wednesday, May 29, 2019 10:24 AM
> *To:* developers at delph-in.net
> *Subject:* [developers] a toy grammar not working in LKB FOS and logon
> dist
> Dear developers,
>
> We've been using a toy grammar (attached) in an introductory CompLing
> class here at UW for a number of years. Mostly we've been using it
> with a VM that was built for the grammar engineering class, but I seem
> to be remembering very positively that I used to be able to use it
> with e.g. LKB FOS a year ago.
>
> This year at least, it seems like I cannot use it with either LKB FOS
> or the logon distribution of the LKB. On both versions of the LKB, I
> observe the following:
>
> 1) The grammar doesn't load, complaining about the NULL type:
>
> Screen Shot 2019-05-29 at 9.13.14 AM.png
>
> 2) I suspected that this is because, in types.tdl, *null* has
> asterisks but in e.g. user-fns.lsp it does not? Removing asterisks
> around null seems to help with the errors but it doesn't look like the
> grammar is working: there are no parses or even parse charts produced.
>
> Would anyone be so kind to take a look and advise me as to how to
> update the toy grammar so it is working? Or perhaps this sounds like
> something in my (two!) setups?..
>
> Thank you,
> --
> Olga Zamaraeva
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> Virus-free. www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20190531/9efc439b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-05-29 at 9.13.14 AM.png
Type: image/png
Size: 87054 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/developers/attachments/20190531/9efc439b/attachment-0001.png>
More information about the developers
mailing list