question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latin syllabifier mishandles 'gu' digraph

See original GitHub issue

Currently the syllabifier returns ['lin', 'gu', 'a'] for lingua instead of ['lin', 'gua'].

I tried to get around this by treating g the same as q in lines 185 and 198, but that only gets us to ['li', 'ngua'] and may have other side effects that I’m not aware of.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
TylerKirbycommented, Jan 9, 2018

@lukehollis thanks for all those resources! I just checked @todd-cook’s syllabifier and it seems to have the same problem.

I agree that we should have a single Latin syllabifier. Fr. Matthew’s syllabifier handles lingua perfectly. My vote is that we update the current Latin syllabifier with Fr. Matthew’s most recent code. We could even improve on it a bit by handling some edge cases like suavis and perduellio (currently syllabified as su-a-vis and per-du-el-li-o respectively).

What are everyone else’s thoughts?

1reaction
diyclassicscommented, Jan 8, 2018

I see here that @lukehollis cites a workflow: “Split Latin words into a list of syllables, based on a set of Latin language syllable specifications and the original work of Father Matthew Spencer in C# and Javascript. Original documentation from Fr. Spencer is preserved where applicable.” Two questions:

  1. Does this original workflow produce this result? (cc: @lukehollis)
  2. As long as this remains the syllabifier, it would be a good idea to note addition/deletions from the original workflow in comments. Thoughts here?
Read more comments on GitHub >

github_iconTop Results From Across the Web

Syllabifier - marello.org
Syllabification Rules for Latin (Grammatical) · In compound words the consonants stay together (e.g., "de-scribo"). · A mute consonant (b, c, d, g,...
Read more >
Classical (reconstructed) pronunciation of gu, cu, etc : r/latin
Placui is trisyllabic. The cu- for "kw-" in cui/cuius and hu- in huic/huius are only commonly in those specific words and are pronounced...
Read more >
Counterfoil crossword answer
Norman French from Latin contrā against, opposite; see contra-Collins English ... et eu ex fa fc fd fe ff fl fm fr fs...
Read more >
Spelling dictionary - Wharton Statistics
... Lafayette Larry Larson Latin Laura Laurel Laurie Lawrence Lawson Lebanese ... dignitary dignities dignity digoxin digraph digraphes digraphic digraphs ...
Read more >
orchy.txt - Puzzles
... Digo-Suarez digoxin digram digraph digraphes digraphs digress digressed ... Gta gteau Gteborg Gterdmerung Gtersloh Gtingen gu guacamole guacharo guaco ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found