[08:41:20] *** Quits: vin-ivar (~vinit@122.170.45.192) (Read error: No route to host) [08:51:41] *** Joins: vin-ivar (~vinit@122.170.45.192) [16:52:15] *** Joins: BobL (5ae10636@gateway/web/freenode/ip.90.225.6.54) [19:36:04] *** Quits: BobL (5ae10636@gateway/web/freenode/ip.90.225.6.54) (Ping timeout: 246 seconds) [20:00:48] *** Joins: BobL (5ae10636@gateway/web/freenode/ip.90.225.6.54) [20:34:45] Good evening all. [20:35:02] I have a question regarding a possible Parse Tree for a sentence I have... [20:35:06] hey! [20:35:27] Hello :) [20:35:33] If I have a sentence, say, "I ran in the park"... [20:35:37] I'm on mobile so i cant test or google, byt if you habe aimple question i can answer [20:35:49] also lots if typos :-p [20:36:22] Thansk Inari, I do my best to make it simple. and please just help a little, enough to get me thinking :) [20:37:01] If I have the sentence: "I ran in the park"... [20:37:14] Can I have a parse that looks like this: [20:37:18] S (Who(I)) (What(ran) (quality(where1(in)) (where2(det(the)) place(park))) [20:37:56] :) [20:38:32] what is your grammar lke? [20:39:05] are Who , What, Where and so on categories? [20:39:18] do you know tje diff between parse tree and ast? [20:39:57] see for instance pages 47-48 from the bpok [20:40:17] i cant just say without seeing grammar if this is a correct parse tree :p [20:41:36] I see :) Regarding the last question, the difference between abstract and parse tree, my answer would be: "the abstract" is the generalization of the type of sentence, so it would be: "who", "what", "where", And the "parse" tree is the concrete look [20:43:21] And then I have categories that make up the "what" and the "where" in the concrete file, so that makes the parse tree. [20:43:49] hmm not really; in AST you still have the things that are of category who, what etc; AST for "i ran in the park" and "you ran in the pub" would be different [20:44:20] as long as Iand you (or pub and park) are not just variants of same fun [20:45:20] but for instance, ast for i ran in the park is just one thing, but psrse tree for tjat in english and swedish are different [20:49:34] Okay. Thanks. So I have the "S", "who","what","where" in "cat", the "I","ran","park", in the fun, and in the concrete, I have the linearization as in "NP: I, Where: det place, and a dictionary of the words I am using. Also, the linearizations are different in Swedish and English. [20:50:05] Do I have it right? [20:50:55] If it is too much to explain, please say, and I continue my study from another point. [20:51:07] yeah its abit hard on mobile [20:51:11] do you have the vook [20:51:13] boon [20:51:19] Thanks Inari. Yes I have the book [20:51:19] the pirated [20:51:25] ok [20:51:28] Yes the printed one [20:52:06] haha that wasnt a typo, i mean do you have the pdf that o shared illegally or an actual printed book [20:52:44] I have bought the actual book :) and I have it and I have marked several points where I do my studies [20:53:12] the page numbers i said were from the preprint copy, i dont lnow if its the same in the printed [20:53:24] but its section 2.3 [20:53:29] hmm [20:53:32] Thanks [20:53:55] and it has example sentence this italian cjeese is expensove [20:54:42] so just look at them and try to make similar with your gramnar [20:55:48] Thanks for your help this evening Inari. Much appreciate it. Even on mobile, you answer :) [20:55:58] is parse tree, you can have lots of lines going from the same category [20:56:00] I may come back with some other questions [20:56:24] Okay, thanks! [20:56:31] even if the abdtract function only takes 2 args or so, you vould stiöö have more lines going in tje parse tree [20:56:47] and tjey would just lead to strings [20:56:56] without any intermediate catwgory [20:57:27] i mean it doesn't ha e to be like that, but it *can* be [20:57:35] and theres nothog weird i it [20:57:53] ok good luck, leacing irc :) [20:59:38] :) Thank you. One last quick question on this: I can have several possible parses for a grammar that may create more than, say, one or two grammar rules, right? One abstract, several parses [21:00:30] several possible parses for what? [21:00:49] a single string? if the grammar is ambigupus, then yes [21:01:09] For a grammar that can use several words say as in NP [21:01:22] So you have several parses [21:01:46] ummm [21:01:49] so you mean like [21:01:53] i ran in the park [21:01:58] bov ran in the park [21:02:03] yes Inari [21:02:05] toni ran on the park [21:02:09] yes [21:02:17] ok so those are also different abstract syntax trees [21:02:23] right [21:02:44] provided that I, Bob and Toni are different functiond [21:02:54] but if you gave just one NP [21:03:09] that had variants I, bob, toni [21:03:27] thrn its alk the aame ast [21:04:08] okay thank you Inari and I will do better with my next questions :) Thanks for your help. [21:04:22] no worries! [21:04:33] :) Thanks for your help. [21:37:29] *** Quits: vin-ivar (~vinit@122.170.45.192) (Quit: WeeChat 1.1.1) [21:38:38] *** Joins: vin-ivar (~vinit@122.170.45.192) [22:18:07] *** Quits: BobL (5ae10636@gateway/web/freenode/ip.90.225.6.54) (Ping timeout: 246 seconds) [23:23:05] *** Joins: BobL (5fd14b02@gateway/web/freenode/ip.95.209.75.2)