Samuel Douglas

Results 7 comments of Samuel Douglas

Hi @sjhuskey, I've been having similar problems. Here are my non-expert thoughts from testing. The syllabifier doesn't syllabify the way you might want, but tries to end a "syllable" with...

The solution I am currently trying out for my own research adds an enumerator to prevent the index function fetching the wrong syllable, so changing: line 266 to: def _long_by_position(self,...

@kylepjohnson sure I'll sort that, I just need to get around to a little more testing in real text examples.

Hi @sjhuskey my changes have been integrated. I would love to know what you think if you get a chance to test it! I am planning to look at the...

The (quick and dirty) solution for this would be to just put "\n" in the list of stops recognised by the _tokenizer function. For me this gives for: `Scansion().scan_text("""Εἴθ᾽ ὤφελ᾽...

@sjhuskey That's quite a neat way of running that. The first version at least has the right number of syllables. It is checking for double consonants across the line break,...

Output comparison, spaced for easy reading: ` yours:['˘˘¯˘¯¯˘˘¯¯ ¯˘¯¯¯¯¯˘¯ ˘˘¯˘˘¯¯˘˘¯¯ ¯˘˘¯¯ ¯¯˘˘¯˘˘˘x'] ` ` mine :['˘˘¯˘¯¯˘˘¯¯ ¯˘¯¯¯¯¯˘˘ ˘˘¯˘˘¯¯˘˘¯¯ ¯˘˘¯˘ ¯¯˘˘¯˘˘˘x'] `