Coder Social home page Coder Social logo

Comments (6)

kylebgorman avatar kylebgorman commented on July 19, 2024

from latin_scansion.

jillianchang avatar jillianchang commented on July 19, 2024
File "scansion_test.py", line 66, in test_aen_1_247
    self.assertEqual(
AssertionError: 'hiːk tamillurbẽː patawiː seːdeːskwe lokaːwit' != 'hiːk tame nillurbẽː patawiː seːdeːskwe lokaːwit'
- hiːk tamillurbẽː patawiː seːdeːskwe lokaːwit
+ hiːk tame nillurbẽː patawiː seːdeːskwe lokaːwit

One problem that I've noticed is the grammar overapplying elision and resyllabification. In this specific case, only resyllabification needs to be applied for the line to scan (DSDSDS). The variable grammar, however, applies elision after the resyllabification as the resyllabification just so happens to present the correct left and right contexts for it. It therefore incorrectly scans the line as SSDSDS. What I'm perplexed about is why it feels like it needs to use elision, since the line does scan properly once resylllabification is in place.

from latin_scansion.

kylebgorman avatar kylebgorman commented on July 19, 2024

from latin_scansion.

kylebgorman avatar kylebgorman commented on July 19, 2024

Just looked at this (by adding what I assume that unit test to be; it's not in your PR yet).

It's obvious to me how to scan the last four feet (...bem Patavī sēdēsque locāvit). Nothing fancy there. But I'm a bit at loss of how to get two feet out of Hīc tamen ille ur.... I think this is actually a defective line (probably an error by the poet or in manuscript transmission). You propose resyllabification but I'm not sure you can resyllabify a final n like that: certainly our grammars don't allow you to do that, because nasalization has already applied. I am now wondering whether n is different than m in this regard.

Then, the only way I see to make this work is to elide the en in tamen and lengthen it its first syllable via diastole. I checked: the weight for the output pronunciation is 10,200. This means it applied elision twice and diastole once.

This might be a good question for one of those online fora where people discuss Latin scansion...there's one on Stack Overflow for instance. I asked on Twitter: https://twitter.com/wellformedness/status/1428049166287114241

from latin_scansion.

kylebgorman avatar kylebgorman commented on July 19, 2024

Yeah everybody is telling me that the n elides. So I guess I'm wrong: it doesn't do nasal lengthening, that's just m. Can you fix the pronunciation grammar to reflect?

from latin_scansion.

kylebgorman avatar kylebgorman commented on July 19, 2024

Closed in #44.

from latin_scansion.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.