def-gthill / lexurgy

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

(1/2) syllable boundary deletion with optional segment causes programming error #60

Closed AdamantConlanger closed 2 years ago

AdamantConlanger commented 2 years ago

(kinda) minimal example:

Feature type(consonant, vowel)
Feature (syllable) stress(*unstressed, stress)

Symbol t [consonant]
Symbol i [vowel]
Diacritic ˈ (before) (floating) [stress]

Syllables:
  explicit

schwa-loss-errors:
  [vowel] [consonant]? . [consonant] ə => [] [] * [] *

#schwa-loss-works-but-no-optional-consonant:
#  [vowel] . [consonant] ə => [] * [] *

#schwa-loss-loses-stress:
#  . [consonant] ə => * [] * / [vowel] [consonant]? _  # [consonant]? not required

input: ˈi.tə.ti Running this causes a programming error. I'll be opening another issue regarding this same file right after this.

def-gthill commented 2 years ago

Fixed in commit d0c4503e60fd1ea068fad9f8e76b79670c8928ca