zehei-clause <- pre-clause zehei-clause-no-pre zehei-clause-no-pre <- pre-zei-bu (zehei-tail? zei-tail / zehei-tail? bu-tail)* zehei-tail post-clause
zei-clause-no-pre <- pre-zei-bu (zei-tail? bu-tail / zei-tail? zehei-tail)* zei-tail post-clause bu-clause-no-pre <- pre-zei-bu (bu-tail? zei-tail / bu-tail? zehei-tail)* bu-tail post-clause
zehei-tail <- ZEhEI-clause+
pre-zei-bu <- (!ZEhEI-clause !BU-clause !ZEI-clause !SI-clause !SA-clause !SU-clause !FAhO-clause any-word-SA-handling) si-clause?
; turns any word into a BAhE modifier
ZEhEI-clause <- ZEhEI-pre ZEhEI-post ZEhEI-pre <- pre-clause ZEhEI spaces? ZEhEI-post <- spaces?; next word intensifier BAhE-clause <- (BAhE-pre BAhE-post)+ / zehei-clause+ BAhE-pre <- BAhE spaces? BAhE-post <- si-clause? !ZEI-clause !BU-clause !ZEhEI-clause
I haven't tested any of this, and it may require further tweaking, but that's the general idea. It may also be necessary to add !ZEhEI-clause wherever there's a !ZEI-clause !BU-clause, but I suspect many of those are actually redundant.
mu'o mi'e xorxes
--
You received this message because you are subscribed to the Google Groups "BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bpfk-list+...@googlegroups.com.
To post to this group, send email to bpfk...@googlegroups.com.
Visit this group at http://groups.google.com/group/bpfk-list.
For more options, visit https://groups.google.com/d/optout.
That still adds a lot of strings to the grammar.Can you think of a better way with a different grammar that will allow us to glue semantics from one word and grammar from another word?2015-04-01 2:45 GMT+03:00 Jorge Llambías <jjlla...@gmail.com>:gleki asked about incorporating selma'o ZEhEI to PEG and I said it would require modifying lots and lots of rules, basically all the selma'o rules. But maybe not.I was thinking of ZEhEI as being similar to ZEI, but that's probably not the best way to think about it. ZEhEI is actually much more like BU. The only difference is that instead of creating something like BY, it creates something like BAhE. So we only need to do for ZEhEI wrt to BAhE what we do for BU wrt to BY.This is still not trivial, because BU interacts with ZEI in weird ways, and now we'd be adding a third ingredient into the mix, which makes it all even more messy. But the required modifications would probably look something like this:zehei-clause <- pre-clause zehei-clause-no-pre zehei-clause-no-pre <- pre-zei-bu (zehei-tail? zei-tail / zehei-tail? bu-tail)* zehei-tail post-clausezei-clause-no-pre <- pre-zei-bu (zei-tail? bu-tail / zei-tail? zehei-tail)* zei-tail post-clause bu-clause-no-pre <- pre-zei-bu (bu-tail? zei-tail / bu-tail? zehei-tail)* bu-tail post-clausezehei-tail <- ZEhEI-clause+pre-zei-bu <- (!ZEhEI-clause !BU-clause !ZEI-clause !SI-clause !SA-clause !SU-clause !FAhO-clause any-word-SA-handling) si-clause?; turns any word into a BAhE modifierZEhEI-clause <- ZEhEI-pre ZEhEI-post ZEhEI-pre <- pre-clause ZEhEI spaces? ZEhEI-post <- spaces?; next word intensifier BAhE-clause <- (BAhE-pre BAhE-post)+ / zehei-clause+ BAhE-pre <- BAhE spaces? BAhE-post <- si-clause? !ZEI-clause !BU-clause !ZEhEI-clauseI haven't tested any of this, and it may require further tweaking, but that's the general idea. It may also be necessary to add !ZEhEI-clause wherever there's a !ZEI-clause !BU-clause, but I suspect many of those are actually redundant.mu'o mi'e xorxes
--
Hmm, I don't know about this. I definitely see the motivation to avoid modifying a bunch of parser rules (though what xorxes wrote really isn't that many), but I'm not sure that MAI matches. A ((number / lerfu-string) MAI-clause) is just an indicator, which binds to the previous word. So if you write {zo'e bu ze'ei pa} with ze'ei in MAI, then it parses as {((zo'e bu) ze'ei) pa}, with the zo'ebuze'ei attached to whatever precedes, rather than the {pa}. Then to match the semantics to the grammar you'd want to swap the order of {ze'ei} and make it {pa zo'e bu ze'ei}. Thoughts?- mu'o mi'e durkavore
If you don't mind changing the order of words around {ze'ei}, we could modify the definition of {ze'ei} of MAI so that the usage should be "X Y bu ze'ei". So the definition of {xo'e} will be as you said:pa zo'e bu ze'ei
On Wed, Apr 1, 2015 at 6:51 PM, guskant <gusni...@gmail.com> wrote:If you don't mind changing the order of words around {ze'ei}, we could modify the definition of {ze'ei} of MAI so that the usage should be "X Y bu ze'ei". So the definition of {xo'e} will be as you said:pa zo'e bu ze'eiNotice though that "pa zo'e bu" is a number, so "pa zo'e bu ze'ei" with "ze'ei" in MAI, would be a free modifier, not a digit.(I think PA and lerfu should not mix together to form numbers/lerfu-strings, but that's a different discussion.)
Other selma'o that couldn't be extended by this method, besides PA, would be ZO, LOhU, ZOI, ZEI, BY, BU, UI, tags, and maybe a few others. That's because free modifiers are not all that free.
.e'u ru'e cmavo ma'oi simi'e .tel.
.e'u ru'e cmavo ma'oi simi'e .tel.
Le jeudi 2 avril 2015 07:52:00 UTC+9, xorxes a écrit :On Wed, Apr 1, 2015 at 6:51 PM, guskant <gusni...@gmail.com> wrote:If you don't mind changing the order of words around {ze'ei}, we could modify the definition of {ze'ei} of MAI so that the usage should be "X Y bu ze'ei". So the definition of {xo'e} will be as you said:pa zo'e bu ze'eiNotice though that "pa zo'e bu" is a number, so "pa zo'e bu ze'ei" with "ze'ei" in MAI, would be a free modifier, not a digit.(I think PA and lerfu should not mix together to form numbers/lerfu-strings, but that's a different discussion.)ua lupa boi zo'e bu ze'eili'udrani .eiOther selma'o that couldn't be extended by this method, besides PA, would be ZO, LOhU, ZOI, ZEI, BY, BU, UI, tags, and maybe a few others. That's because free modifiers are not all that free.ieIn order to apply {ze'ei} to those cmavo, keeping {zo'e bu ze'ei pa} form seems better, permitting the difference between semantics and syntax. Actually, {ze'ei} is used only for definitions of experimental cmavo
, and it means that {X bu ze'ei} cluster is always put at the beginning of statement or fragment. Such {X bu ze'ei} cluster then can be naturally regarded as covering the whole line of definition. I don't know if any selma'o other than MAI can bring a better solution.
--
Le jeudi 2 avril 2015 12:44:55 UTC+9, la stela selckiku a écrit :.e'u ru'e cmavo ma'oi simi'e .tel.
.uanai xu va'o lo nu da'i go'i kei la tersmu ka'e sanji lo lidne be zo ze'ei .i ganai na go'i gi ty srera lo ka jimpe
However, in considering the definitions of cmavo using {ze'ei}, I am inclined to make it of selma'o {GOI} rather than {MAI}.It is because definitions like {iu bu ze'ei ku} are not grammatical. There are many cmavo that cannot stand alone. Those cmavo should be defined with a statement, not with an expanded form of the defined cmavo.Using {ze'ei} of GOI, the definition of {xo'e} will be:zo pa ze'ei zo zo'e
mu'o mi'e xorxes
,ui go'i iseki'ubo mi tugni lo du'u zo ze'ei cmavo ma'oi si
ni'oru'e lo cilce pe'a jbobau zo'u: mi zgana so'i nu ma'oi {si} srana lo nu gerna je nai smuni ku'i vimcu .i mu'a lo jbopre ca lo cafne cu xalbo je ciska cusku lo simsa be lu mi mutce lo ka xebni si nelci li'u (to .u'u ru'e no'e melbi mupli .i ku'i .a'o lo morna cu slabu do .i mutce cafne selpli toi) .i ciska ke'u .i kakne je'u lo nu mulno vimcu .i ku'i .irci ciska pilno zo {si} lo nu xalbo .i pe'i no'e jbosarxe gi'e milxe lo kamymalrelsmu se mu'i lo nu mi finti zo {si'u'i} te zu'e lo nu sepli .i zo {si'u'i} simsa zo {ze'ei} po ma'oi {si} lo ka rinka lo nu lo valsi cu pilno fi lo nunsmuni .e nai lo ku'i nungensu'a .i zo {bu} milxe simsa gi'e jai pruce fi lo ku'i sumti .i zo {si'u'i} ca'e .e zo {ze'ei} .e'u ru'e jai pruce fi lo gerna kunti fi'o simsa zo {to} .e zo {sei}mi'e .telselkik.
.u'u mi no'e jimpe lo do mupli .i xu jongau lo smuni be zo pruxi lo gerna be fi zo la'eOn Thursday, April 2, 2015 at 5:12 PM, guskant wrote:
Le jeudi 2 avril 2015 23:42:33 UTC+9, la stela selckiku a écrit :ni'oru'e lo cilce pe'a jbobau zo'u: mi zgana so'i nu ma'oi {si} srana lo nu gerna je nai smuni ku'i vimcu .i mu'a lo jbopre ca lo cafne cu xalbo je ciska cusku lo simsa be lu mi mutce lo ka xebni si nelci li'u (to .u'u ru'e no'e melbi mupli .i ku'i .a'o lo morna cu slabu do .i mutce cafne selpli toi) .i ciska ke'u .i kakne je'u lo nu mulno vimcu .i ku'i .irci ciska pilno zo {si} lo nu xalbo .i pe'i no'e jbosarxe gi'e milxe lo kamymalrelsmu se mu'i lo nu mi finti zo {si'u'i} te zu'e lo nu sepli .i zo {si'u'i} simsa zo {ze'ei} po ma'oi {si} lo ka rinka lo nu lo valsi cu pilno fi lo nunsmuni .e nai lo ku'i nungensu'a .i zo {bu} milxe simsa gi'e jai pruce fi lo ku'i sumti .i zo {si'u'i} ca'e .e zo {ze'ei} .e'u ru'e jai pruce fi lo gerna kunti fi'o simsa zo {to} .e zo {sei}mi'e .telselkik..i .iesai zo si'u'i je'u mapti lo mukti no'u la'e di'u.i .iesai zo si'u'i jo'u zo ze'ei simsa zo to jo'u zo sei.i semu'ibo ge zu'u mi na tugni fi lo du'u zo ze'ei cu se pilno tezu'e lo nu tamgaugi zu'unai pe'i lo mi mupli no'u lupruxi ze'ei la'e lo te pemci noi morsi cu ru'i jmive ne'i lo pemcili'u cu mapti lo jai tai pilno be zo ze'eimu'o
On Thu, Apr 2, 2015 at 1:23 AM, guskant <gusni...@gmail.com> wrote:Le jeudi 2 avril 2015 12:44:55 UTC+9, la stela selckiku a écrit :.e'u ru'e cmavo ma'oi simi'e .tel.xamgu sidbo
mu'o mi'e xorxes
2015-04-03 17:31 GMT+03:00 Jorge Llambías <jjlla...@gmail.com>:.i lo valsi zei si cu snipa lo li'erla'i .e nai lo se li'erla'i .i la'a .ei la'o gerna si_clause gerna cu se vasru la'oi gy pre_clause gy .e nai la'oi gy post_clause gy .i ku'i lo ca tcini cu duktixu nabmi i ke'u lo cmavo enai lo se cmavo cu se jalge lo smunii seki'ubo da'i zo si mutce frica zo ze'ei poi cnino vau lo ka cupra makau poi smunii ku'i gerna dunli
On Fri, Apr 3, 2015 at 11:35 AM, Gleki Arxokuna <gleki.is...@gmail.com> wrote:2015-04-03 17:31 GMT+03:00 Jorge Llambías <jjlla...@gmail.com>:.i lo valsi zei si cu snipa lo li'erla'i .e nai lo se li'erla'i .i la'a .ei la'o gerna si_clause gerna cu se vasru la'oi gy pre_clause gy .e nai la'oi gy post_clause gy .i ku'i lo ca tcini cu duktixu nabmi i ke'u lo cmavo enai lo se cmavo cu se jalge lo smunii seki'ubo da'i zo si mutce frica zo ze'ei poi cnino vau lo ka cupra makau poi smunii ku'i gerna dunlipe'i lo du'u lo gerna stura cu drani vajni si cu vajni(pe'i [lo {du'u <(¹lo [gerna stura] KU¹) (¹cu [drani {vajni si}] VAU¹)> KEI} KU] [cu {vajni VAU}])
pe'i lo du'u lo gerna stura cu drani vajni ze'ei cu vajni(pe'i [lo {du'u <(¹lo [gerna stura] KU¹) (¹cu [drani {vajni ze'ei}] VAU¹)> KEI} KU] [cu {vajni VAU}])xu do jinvi lo di'u gerna stura cu dranimu'o mi'e xorxes
Can we rewrite how {zei} works and postulate that the last part of words glued together with {zei} determines its grammar?Thus, {panpi zei coi} will become a vocative but {coi zei panpi} will be a brivla as well as {broda zei brode zei panpi}?This will eliminate at least one usage of {ze'ei}.I'm not sure what {coi zei coi} could mean as a brivla and what would it be its place structure.
mi'e la stela selckiku
--
Can we rewrite how {zei} works and postulate that the last part of words glued together with {zei} determines its grammar?Thus, {panpi zei coi} will become a vocative but {coi zei panpi} will be a brivla as well as {broda zei brode zei panpi}?This will eliminate at least one usage of {ze'ei}.
I'm not sure what {coi zei coi} could mean as a brivla and what would it be its place structure.
I'm not sure what {coi zei coi} could mean as a brivla and what would it be its place structure.Like any lujvo, it could be defined as anything, it could mean "x1 says 'hi!' to x2", for example. In actual usage, most of the uses of "zei" are with a brivla as the second word, so I don't think it would be a great loss to restrict zei-compounds to only be brivla when the last element is a brivla.
Or this hardcoding of {zo coi} could be expressed with {mi coi ze rinsa do lo ka bacru makau} = I hi-greet you in what I'm uttering.
2015-04-03 23:59 GMT+03:00 Jorge Llambías <jjlla...@gmail.com>:Like any lujvo, it could be defined as anything, it could mean "x1 says 'hi!' to x2", for example. In actual usage, most of the uses of "zei" are with a brivla as the second word, so I don't think it would be a great loss to restrict zei-compounds to only be brivla when the last element is a brivla.
It'd be ideologically not lujvo but some kind of fu'ivla since the place structure magically comes out of nothing.
ni'o as for your PEG modifications on zei/ze'ei I need time. I'm not sure if the goal of finishing PEG is close (then I'll try implementing them) or not (and then I probably think of this tool instead).
I tried to do this (delete ZEI, add {zei} and {ze'ei} to SI, and move SI from post_clause to pre_clause) but I was unable to complete the last step without introducing left recursion into the pre_clause rule. So it seems easier said than done. I am not an expert in these dark corners of the PEG, though.
You also need to remove SA_clause from si_clause for the same reason. I heven't bothered to think what it should be replaced with, since I'd like SA out of the grammar altogether, but it probably should be some sort of sa_clause_no_pre added to erasable_clause.
to zoizoizoi.i pau lo nu mi galfi pe la'o zoi pre_zei_bu zoi cu xamgu xu ma'i lo si'o melbi fa lo gerna
.i ta'oru'e pe'i va'o lo nu zo zei cmima ma'oi SI keila'o zoi pre_zei_bu zoi cu .ei se cmene lo drata.i ma noi cmene cu mapti
On Sat, Jun 20, 2015 at 9:49 PM, guskant <gusni...@gmail.com> wrote:to zoizoizoi.i pau lo nu mi galfi pe la'o zoi pre_zei_bu zoi cu xamgu xu ma'i lo si'o melbi fa lo gernasi'au da spofu .i mu'a lu pa bu li'u .e lu zo da bu li'u .e lu lo'u da de di le'u zei da li'u .i mi na jimpe lo du'u ki'u ma zo pa frica lo cmavo be lo drata lo ka tarti ma kau
.i ta'oru'e pe'i va'o lo nu zo zei cmima ma'oi SI keila'o zoi pre_zei_bu zoi cu .ei se cmene lo drata.i ma noi cmene cu maptidunli la'o zoi si_word zoi .i pe'i na sarcu fa lo nu lo re javni cu zasti