Git Product home page Git Product logo

Comments (3)

ProfessorO avatar ProfessorO commented on July 4, 2024

Genesis 4:3, BTW. :)

from esperanta-analizisto.

ProfessorO avatar ProfessorO commented on July 4, 2024

This will connect with the parsing of kia/kiam, kio/kiom, tia/tiam, tio/tiom. Right now the shorter root is in the database, and I can add "m" as a separate root, but it doesn't actually have its own meaning. However, with tiam in the list, tiamaniere (in Genesis 6:15), which should parse to tia-manier-e (in such a manner), instead parses as tiam-a-ni-er-e, which isn't even sort of right (it would mean at-that-time + adjective + we + part-of-the-whole + adverb).

I'm beginning to think the greedy algorithm is correct, but needs to select the biggest root that fits ANYWHERE in the word first (and then recursively parse the remaining pieces as two separate words, if that piece is in the middle of the word). Or perhaps try all possible parsings and pick the one with fewest roots. Or something like that. :/

from esperanta-analizisto.

ProfessorO avatar ProfessorO commented on July 4, 2024

Another interesting example: aliris in Genesis 19:9. It should parse as al-ir-is, but since ali is a root (meaning other), it instead parses as ali-{ris} (where ris doesn't parse). This one would be fixed not by being greedy (ali is the longest root that fits in the word), but by backtracking until you find at least one collection of roots that allows parsing to complete.

from esperanta-analizisto.

Related Issues (19)

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.