[07:09:03] *** Quits: proteusguy (~proteus-g@111.93.87.130) (Remote host closed the connection) [16:25:19] *** Joins: JuanDaugherty (~juan@98.4.124.117) [16:36:23] *** Joins: idaroermann (3ec62de0@gateway/web/freenode/ip.62.198.45.224) [16:41:50] Hello GF'ers :-). I have this "Warning: no linearization type for ListAP, inserting default {s : Str}"... So I want to make a list of things (for ListAP, ListAdv, ListNP, ListS ) that can be combined with conjunctions. So that a ConjS is made from Conj and ListS. Is it possible to just use 'or' as the pipe? Then it takes the first sample I guess. How do we make lists in GF? :) [17:14:20] hello! [17:14:28] so let's see, I'll find an example of list [17:17:16] so basically like this: https://github.com/GrammaticalFramework/GF/blob/master/lib/src/english/ConjunctionEng.gf#L52 [17:17:52] lists in GF are really very restricted, you just have access to the first and the rest, and the only operation you're supposed to do is to place a comma or a conjunction between the first and the rest [17:18:24] you can start with ListAdv and ListS, that can just be as easy as { s1,s2 : Str } [17:19:02] then if you import Prelude, you can use the functions twoSS and consrSS [17:19:12] just like here: https://github.com/GrammaticalFramework/GF/blob/master/lib/src/english/ConjunctionEng.gf#L33-L36 [17:19:22] this is not a very satisfactory answer as to "how does it all work" [17:19:34] but just try those first and see if it works [17:19:42] then I can explain more ^^ [17:20:21] you can also have a look at Prelude how those functions are defined, or look at the rest of the functions in ConjunctionEng [17:21:14] Adv and S are simple, because their lincats are just {s : Str}, and you don't need anything fancy, just put strings together [17:23:11] but NP has a more complex lincat, { s : SomeParam => OtherParam => Str ; someField : Something }, then you can't just put strings together, you have to keep the table structure -- so the result of ConjNP still contains a list [17:23:46] so ConjNP of i_NP, we_NP, she_NP would be an NP with the following strings on the right-hand side of the table [17:24:03] s = table { Nom => "I, we and she" ; Acc => "me, us and her" } [18:27:35] Thank you! I will try that :) [18:32:00] *** Quits: idaroermann (3ec62de0@gateway/web/freenode/ip.62.198.45.224) (Ping timeout: 260 seconds) [22:17:52] *** Quits: JuanDaugherty (~juan@98.4.124.117) (Quit: Ex Chat)