def-gthill / lexurgy

A high-powered sound change applier
GNU General Public License v3.0
44 stars 5 forks source link

Confusing Error Message #28

Closed Benausert closed 3 years ago

Benausert commented 3 years ago

So I was trying to apply a simple sound change, and I have tested this with multiple sound changes. The error message that I get is: " => " doesn't make sense in the line "l => j / $ @consonant _" (line 14) I'm confused as to why it's having trouble with its own divider.

def-gthill commented 3 years ago

So the expression itself, l => j / $ @consonant _, works when I try it. Can you show me the full rule that this expression is in, including the rule name?

def-gthill commented 3 years ago

Any update on this? I can't help if I can't reproduce the problem.

Benausert commented 3 years ago

Sorry. Didn't see the first message. Unfortunately I can't seem to find the file with the proper syntax. I think I had rewritten everything for sca2. I think I might have gotten rid of the file, but I'm pretty sure I was just alternating every second sound change of Italian and Spanish from Vulgar Latin, using this. This should be all of the sound changes in the original, incompatible source syntax: r → ∅ / aju# {tj,kj} {tːj,kːj,ptj,ktj,skj} → ts tːs {t,k} → ∅ / # au → u / #_ V → ∅ / {r,l}_C when unstressed and not at a word boundary k ɡ → tʃ dʒ / _E V → ∅ / s_C when unstressed and not at a word boundary (sporadic) kt → tː ɡ → ∅ / a_V pt {ɾs,ps} → tː sː j → dʒ / VV mb mn → mː nː ɔ → uo / stressed ! j or {dʒ,L} bj → ʝː (sporadic) l → j / #C — e → i / Cj ! C = p sj → dʒ — ɛ ɔ u → e o u / (C)j r → ∅ / _# (in polysyllables only) oj → we t k → d ɡ / Vr ”je.o ”je.a → {”i.o,”jo} ”i.a tj ks w → ts sː ɡw f → h / ! {ue,L}

def-gthill commented 3 years ago

Without the original file I can't help, sorry!

Benausert commented 3 years ago

Understandable. Thanks for trying.

JaOszka commented 1 year ago

I've got "" => " doesn't make sense in the line "({aː, eː, iː, ɨː, oː, uː} => {a, e, i, u, o, w} / $, {b, d, g, {@F !ɬ}" (line 175)"

def-gthill commented 1 year ago

@JaOszka Why does your line start with (?

JaOszka commented 1 year ago

It's in Romanizer

сб, 23 июл. 2022 г., 21:38 Graham Hill @.***>:

@JaOszka https://github.com/JaOszka Why does your line start with (?

— Reply to this email directly, view it on GitHub https://github.com/def-gthill/lexurgy/issues/28#issuecomment-1193152557, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2GHGW7RBG6JFCSZ3HQRVATVVQNW3ANCNFSM42PBDKWQ . You are receiving this because you were mentioned.Message ID: @.***>

def-gthill commented 1 year ago

@JaOszka Why do you think you need a line starting with ( in a romanizer?

JaOszka commented 1 year ago

I'll just give you the file, okay?

сб, 23 июл. 2022 г., 23:05 Graham Hill @.***>:

@JaOszka https://github.com/JaOszka Why do you think you need a line starting with ( in a romanizer?

— Reply to this email directly, view it on GitHub https://github.com/def-gthill/lexurgy/issues/28#issuecomment-1193165369, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2GHGW2PNQ55UGOZM7ZAKV3VVQX65ANCNFSM42PBDKWQ . You are receiving this because you were mentioned.Message ID: @.***>

Feature long Feature stress Diacritic ː (floating) [+long] Diacritic ˈ (floating) (before) [+stress]

Class S {p, b, bʰ, t, d, dʰ, k, g, gʰ, kʷ, gʷ, gʷʰ} Class N {m, n, ŋ, m̥, n̥, ŋ̊} Class F {f, θ, s, x, v, ð, ɣ, ɬ} Class O @., @F} Class J {j, w} Class R {r, r̥, l, @J} Class H {h, χ, ʁ} Class C @., @N, @F, @R, @H} Class V {o, e, a, i, ɨ, u, ə, r̩, l̩, m̩, n̩}

Coloring: {he, χe, ʁe} => {e, a, o} Then: {eh, eχ, eʁ} => {eː, aː, oː}

H-vocalization: @H => a / @C _ @C

S-ification: @S @S => sː

H-loss: @H => / @V _ @C Then: @H =>

Gw-B: ɡʷ => b

R-loss:

E-a: e => a / _ @R a

Q-p: p => kʷ / _ @V? kʷ

E-loss: eː => iː

O-u: oː => uː / _ @C? @C? $

CC: @. @., @.} @., s} => x @.***, s} / // $

P-b: p => b / _ {r, l}

P-w: p => w / {o, u, oː, uː} _ @N

Pf: p => f

Oa: {oː, ej} => {aː, eː}

Eo: e => o / _ w

Uo: u => o / _ w @O

Pq: kʷ => p

Stss: st => sː / @V _ @V

Aie: aj => e

S-loss: s [-long] => * / @V _ @V

Ve: @V [-long] => ə / _ @C? $

Sxx: s => * / x _

Au: {au, eu, ou} => uː

Uoi: {uː, {oi, oː}} => {yː, uː}

Jd: j => ð / @V _

Aumlaut: {i, u} => {e, o} / _ @C a

Yi: yː => ɨː

Len: {p, t, k, {b, m}, d, g} => {b, d, g, v, ð, ɣ} / _ @V

Ao: aː => oː

Uml: @V => ɨ / j @C? $ Then: {a, o} => e / @C? {i, iː} Then: {a, o, e} => ei / _ @C? j

Loss: @V => * / _ $

Gemm: {m {b, v}, n {d, ð}, n {g, ɣ}} => {mː, nː, ŋː}

Ei: e => i / _ @N

H:

Ptk: {p, t, k} => {f, θ, x} / {r, l} _ Then: {pː, tː, kː} => {f, θ, x}

Gi: ɣ => i / _ @C

Ith: xt => iθ

Giv: ɣ => i / @C _ @V

Eoo: eː => ui Then: oː [+stress] => au

Lt: l => ɬ / _ t

W: w => gw / _ $

Mp: {m {p, f}, n {t, θ}, n {k, x}} => {m̥, n̥, ŋ̊}

Osc: o => ə / $ _ s @C

Lr: {l, r} => {ɬ, r̥} / $ _

Ge: ɣ => ə

Romanizer: k => c kː => cc {x, xː} => ch {ð, ðː} => dd v => f f => ff {ŋ, ŋː} => ng ɬ => ll mː => mm nː => nn r̥ => rh ə => y ({a, e, i, ɨ, o, u} => {a, e, i, u, o, w} / {p, t, k, ŋ}, @C @C Else: {à, è, ì, ù, ò, ẁ}) ({aː, eː, iː, ɨː, oː, uː} => {a, e, i, u, o, w} / $, {b, d, g, @.*** !ɬ} Else: {â, ê, î, û, ô, ŵ})

def-gthill commented 1 year ago
({a, e, i, ɨ, o, u} => {a, e, i, u, o, w} / _ {p, t, k, ŋ}, _ @C @C
Else: {à, è, ì, ù, ò, ẁ})

Replace this with

Then: (
{a, e, i, ɨ, o, u} => {a, e, i, u, o, w} / {_ {p, t, k, ŋ}, _ @C @C}
Else:
{a, e, i, ɨ, o, u} => {à, è, ì, ù, ò, ẁ}
)

Same with the second Else structure.

JaOszka commented 1 year ago

Now it's "", " doesn't make sense in the line "{a, e, i, ɨ, o, u} => {a, e, i, u, o, w} / {p, t, k, ŋ}, @C @C" (line 174)"

вс, 24 июл. 2022 г., 10:05 Graham Hill @.***>:

({a, e, i, ɨ, o, u} => {a, e, i, u, o, w} / {p, t, k, ŋ}, @C @C

Else: {à, è, ì, ù, ò, ẁ})

Replace this with

Then: (

{a, e, i, ɨ, o, u} => {a, e, i, u, o, w} / { {p, t, k, ŋ}, @C @C}

Else:

{a, e, i, ɨ, o, u} => {à, è, ì, ù, ò, ẁ}

)

Same with the second Else structure.

— Reply to this email directly, view it on GitHub https://github.com/def-gthill/lexurgy/issues/28#issuecomment-1193247933, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2GHGW32H5ZMULSHBQ2JXTDVVTFKVANCNFSM42PBDKWQ . You are receiving this because you were mentioned.Message ID: @.***>

def-gthill commented 1 year ago

You missed the braces: {_ {p, t, k, ŋ}, _ @C @C}

JaOszka commented 1 year ago

"" " doesn't make sense in the line "{à, è, ì, ù, ò, ẁ}" (line 176)" What

вс, 24 июл. 2022 г., 10:37 Graham Hill @.***>:

You missed the braces: { {p, t, k, ŋ}, @C @C}

— Reply to this email directly, view it on GitHub https://github.com/def-gthill/lexurgy/issues/28#issuecomment-1193251423, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2GHGW4ZCHYDPQOASFMOLHLVVTJCRANCNFSM42PBDKWQ . You are receiving this because you were mentioned.Message ID: @.***>

def-gthill commented 1 year ago

I reiterate:

Then: (
{a, e, i, ɨ, o, u} => {a, e, i, u, o, w} / {_ {p, t, k, ŋ}, _ @C @C}
Else:
{a, e, i, ɨ, o, u} => {à, è, ì, ù, ò, ẁ}
)

Put that in exactly as I gave it to you.

JaOszka commented 1 year ago

What about the next line? It gives me the same error

вс, 24 июл. 2022 г., 10:46 Graham Hill @.***>:

I reiterate:

Then: (

{a, e, i, ɨ, o, u} => {a, e, i, u, o, w} / { {p, t, k, ŋ}, @C @C}

Else:

{a, e, i, ɨ, o, u} => {à, è, ì, ù, ò, ẁ}

)

Put that in exactly as I gave it to you.

— Reply to this email directly, view it on GitHub https://github.com/def-gthill/lexurgy/issues/28#issuecomment-1193252188, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2GHGW4HNJUQUIGGDNH2BRDVVTKEJANCNFSM42PBDKWQ . You are receiving this because you were mentioned.Message ID: @.***>

def-gthill commented 1 year ago

The next line has the same problems. Put braces around the list of environments, put an arrow in the expression after the Else:.

A long-closed issue report isn't the place for this. If you're still having problems, please contact me directly.