[00:06:20] *** Quits: proteusguy (~proteus-g@2605:6000:151a:801c:4982:6373:eedb:99e4) (Remote host closed the connection) [00:07:50] *** Joins: proteusguy (~proteus-g@2605:6000:151a:801c:245b:1c0d:5aea:5eba) [00:24:04] *** Joins: freeside (~mengwong@host86-171-144-89.range86-171.btcentralplus.com) [02:13:02] *** Quits: freeside (~mengwong@host86-171-144-89.range86-171.btcentralplus.com) (Ping timeout: 260 seconds) [06:12:01] *** Quits: JuanDaugherty (~juan@98.4.124.117) (Quit: Hibernate, reboot, exeunt, etc.) [08:01:43] *** Joins: venicecat (caa61422@gateway/web/freenode/ip.202.166.20.34) [08:27:23] *** Joins: fotonzade (~fotonzade@78.189.158.97) [08:49:35] *** Quits: fotonzade (~fotonzade@78.189.158.97) (Quit: Leaving) [09:17:04] Hi, is there a simpler way to learn how to build a sentence in the concrete syntax using the library? [09:18:10] hmm i may not be doing it correctly but i find that i have to hunt for the right combinations and still not able to use the library api well [09:28:36] *** Joins: arla (~arildm@80-244-92-229.customer.t3.se) [09:50:44] hi venicecat! [09:50:52] and hi arla! [09:51:33] venicecat: have you tried the LibraryBrowser in this? http://cloud.grammaticalframework.org/minibar/minibar.html [09:51:56] it has a small lexicon, but you can form a clause that looks approximately like you want [09:53:37] like I just made a sentence "I couldn't love everything" and it gives me both the abstract tree, and the API commands I need to use to build it [09:53:40] abstract tree: UttS (UseCl (TTAnt TPast ASimul) PNeg (PredVP i_NP (ComplVV can8know_VV (ComplSlash (SlashV2a love_V2) everything_NP)))) [09:53:53] API: mkUtt ( mkS pastTense negativePol ( mkCl i_NP can8know_VV ( mkVP love_V2 everything_NP ) ) ) [09:54:07] [09:54:33] (actually the can_VV is a better semantic match than can8know_VV, but otherwise like that!) [09:55:02] it could also be helpful to look at some existing grammars and see how they are used [09:56:04] for instance Phrasebook, here are some linearisations using the API https://github.com/GrammaticalFramework/gf-contrib/blob/master/phrasebook/SentencesI.gf#L150 [09:59:02] are you reading this page? http://www.grammaticalframework.org/lib/doc/synopsis.html#toc5 when you hover your mouse over the example sentences, you see also the API commands [09:59:11] e.g. "it is uncertain who sleeps" mkUtt (mkCl (mkVP (mkAP (mkAP uncertain_A) (mkQS (mkQCl who_IP sleep_V))))) [10:02:41] Hi inariksit :) [10:05:07] how's it going? [10:15:42] *** Quits: arla (~arildm@80-244-92-229.customer.t3.se) (Ping timeout: 255 seconds) [10:17:22] *** Joins: arla (~arildm@80-244-92-229.customer.t3.se) [10:22:35] Hiii inariksit, thanks for coming to my rescue! [10:22:49] Yes, the minibar was the first place i tried [10:23:52] okay [10:24:03] The sentence i was trying to structure doesn't seem to terminate in the minibar to show the API commands [10:24:04] it can be too limited for anything interesting you want to say though :-P [10:24:07] ok yeah [10:24:24] i was just trying to say John must give brother 9 dollars [10:25:57] the minibar was not able to provide any api commands [10:28:49] ok yeah [10:29:05] i have been using the synopsis page... that's where the hunting up and down came from :) [10:29:19] I'm going to see a talk right now, but I'd start with the core, VV, and try to make something simple [10:29:26] or actually you can also start from the ditransitive give [10:29:34] just form "John gives his brother X" [10:29:36] okie doks thanks much! [10:29:47] i will also check out the phrasebook link, thanks [10:54:08] *** Quits: drbean_ (~drbean@124.219.83.41) (Quit: ZNC 1.6.5 - http://znc.in) [10:54:24] *** Joins: drbean (~drbean@124.219.82.42) [11:04:47] inariksit: I'm fine! You? [11:47:37] *** Joins: freeside (~mengwong@109.144.214.131) [11:51:55] I'm just looking at airbnb flats for the GF summer school ^^ [11:53:33] yay [11:53:51] freeside: do you have accommodation yet? [11:54:12] i snagged https://www.airbnb.co.uk/rooms/9720497 [11:55:06] nice [11:55:11] I'm looking at this for 5 people https://www.airbnb.com/rooms/11342451 [12:09:06] *** Quits: arla (~arildm@80-244-92-229.customer.t3.se) (Ping timeout: 255 seconds) [12:19:29] *** Quits: venicecat (caa61422@gateway/web/freenode/ip.202.166.20.34) (Ping timeout: 260 seconds) [12:25:46] nice [12:25:55] have you already got 5 people to fill it? [12:41:22] *** Quits: freeside (~mengwong@109.144.214.131) (Ping timeout: 240 seconds) [12:45:31] *** Joins: arla (~arildm@80-244-92-229.customer.t3.se) [12:49:09] *** Joins: fotonzade (~fotonzade@88.244.244.93) [13:03:33] *** Quits: arla (~arildm@80-244-92-229.customer.t3.se) (Ping timeout: 255 seconds) [13:12:43] where do i implement copulas/auxiliaries? [13:12:50] does it go in VerbXXX too? [13:15:50] *** Joins: Jana (c325ea3e@gateway/web/freenode/ip.195.37.234.62) [13:22:00] Hej! For my extended mini resource, I am implementing auxiliar verb constuctions like "have seen". I am stuck with an error, complaining about the type of my auxiliar "haben_V". In the error message a "lock_V" is occurring, which I cannot trace back in my grammar. I would be super thankful for any advice. My grammars can be found here: https://pastebin.com/XVpK8Q6s; https://pastebin.com/N0KNpVY6 [13:32:08] vin-ivar: i have them in a separate file irreglat because they are very irregular in latin but i think they usually are implemented in res like in english auxBe and then exported e.g. in extra [13:32:19] extra D: [13:32:42] cheers daherb [13:32:56] daherb, are you staying in the uni residence at toulouse or do you get fancy hotels? :D [13:43:21] Jana: lock_V is an internal field that the compiler adds to all the lincats [13:46:20] can you paste the error message you get? [13:46:41] Thank you Inari! I remember I have had this error with my "temp" as well, but I am not sure anymore how to solve it. [13:47:05] ExtTry.gf: ExtTry.gf:1459-1479: Happened in linearization of AdvVP type of haben_V expected: ExtTry.MyTense => ExtTry.Agr => Str inferred: {s : ExtTry.MyTense => ExtTry.Agr => Str; impPl : Str; impSg : Str; inf : Str; lock_V : {}} [13:47:39] I get this error message for all verb phrase functions which contain 'haben_V'. [13:49:49] try haben_V.s ! MyTensePres ! ... [13:57:41] Ahhh that saves everything. Thank you! [13:59:42] ^^ [14:05:01] vin-ivar: i will stay at the uni residence [14:05:07] oh cool, which one? [14:09:51] *** Quits: Jana (c325ea3e@gateway/web/freenode/ip.195.37.234.62) (Quit: Page closed) [14:12:46] vin-ivar: Chapou [14:13:12] daherb: nice, me too. see you there! [14:44:49] *** Joins: freeside (~mengwong@31.25.4.17) [15:16:28] *** Quits: freeside (~mengwong@31.25.4.17) (Ping timeout: 240 seconds) [15:33:48] *** Quits: fotonzade (~fotonzade@88.244.244.93) (Ping timeout: 258 seconds) [15:49:11] *** Joins: freeside (~mengwong@host86-185-36-19.range86-185.btcentralplus.com) [16:26:20] *** Joins: fotonzade (~fotonzade@88.244.244.93) [17:04:19] *** Quits: fotonzade (~fotonzade@88.244.244.93) (Quit: Leaving) [17:36:50] *** Joins: fotonzade (~fotonzade@88.244.244.93) [17:56:25] grumble. [17:56:36] does GF 3.8 actually support reading .ebnf, or not? [17:59:19] I have no experience; if you tried and it doesn't work, it may be that the documentation on the web page is old [17:59:40] i need to figure out how to submit a pull request under, what is it, darcs? [18:00:04] i have found a small amount of documentation bit rot that i would be happy to clean up if i can submit patches [18:00:40] like, for example, the 3.8 distribution omits semicolons from chapter2/foodEng.cf [18:01:04] % perl -pi -le 's/$/;/' foodEng.cf [18:01:06] there, i fixed it [18:01:47] % cp foodEng.cf foodEng.ebnf [18:02:07] > i foodEng.cf [18:02:08] Languages: foodEng [18:02:08] 1 msec [18:02:08] foodEngAbs> e [18:02:08] 0 msec [18:02:08] > i foodEng.ebnf [18:02:08] foodEng.ebnf:1:5: [18:02:09] syntax error [18:02:09] > [18:03:10] it looks like the ebnf format does not recognize labels [18:04:03] % perl -ple 's/^.*\.\s*//' foodEng.cf > foodEng.ebnf [18:04:05] there, i fixed it [18:20:06] *** Quits: fotonzade (~fotonzade@88.244.244.93) (Quit: Leaving) [18:24:21] ah, i've figured out why the original .cf file lacked ; terminators [18:24:24] 20170629-17:23:36 mengwong@venice2:~/tmp/gf/bnf% gf --batch --make -f=bnf foodEng.cf [18:24:24] Writing foodEngAbs.pgf... [18:24:24] Writing foodEng.bnf... [18:24:34] 20170629-17:23:44 mengwong@venice2:~/tmp/gf/bnf% head -2 foodEng.bnf [18:24:34] Comment ::= Comment_1 [18:24:34] Comment_1 ::= Item_1 "is" Quality_1 [18:24:35] lol [19:02:04] ok, building GF from darcs [19:02:16] using ghc 8.0.2, i hope that's not too recent, else i'll have to go back to 7.10. [19:10:38] we moved to git! [19:10:42] just 2 days ago [19:10:52] I have also 8.0.2 [19:11:08] im at friends place, wont answer soon [19:23:22] no worries [19:23:26] i am continuing to perform software archaeology [19:23:39] i have discovered src/compiler/GF/Grammar/BNFC.hs which appears to be a partial implementation of LBNF [19:26:20] i have also introduced a bugfix to compiler/GF/Grammar/CFG.hs to append a semicolon [19:27:02] i will continue to accumulate patch to submit. [19:27:06] patches. [19:35:21] oh my goodness, it appears that .cf files get handled by the BNFC code, not the CFG code [19:47:04] *** Quits: freeside (~mengwong@host86-185-36-19.range86-185.btcentralplus.com) (Ping timeout: 276 seconds) [20:43:14] *** Joins: fotonzade (~fotonzade@88.244.244.93) [22:02:48] *** Quits: fotonzade (~fotonzade@88.244.244.93) (Ping timeout: 260 seconds) [23:50:47] *** Joins: JuanDaugherty (~juan@98.4.124.117)