Code Monkey home page Code Monkey logo

Comments (5)

ftyers avatar ftyers commented on July 30, 2024

The -t option is related, but is currently broken I think, see #8.

from lttoolbox.

unhammer avatar unhammer commented on July 30, 2024

89c2a06 can probably be simplified (-t code looked simpler, but doesn't seem to have support for word blanks), but seems to DTRT and runs in 0.7s on something that regular analysis uses 3.2s on while wake-up-mark-pgen takes 0.2s, seems acceptable. Still have to check @khannatanmai 's extensive pgen test suite

from lttoolbox.

mr-martian avatar mr-martian commented on July 30, 2024

@unhammer I've made the relevant modifications to the tests in abc337d. It currently fails the first wblank test and I haven't made enough sense of the wblank logic to track down the issue.

from lttoolbox.

mr-martian avatar mr-martian commented on July 30, 2024

Say for all words in your dictionary, you want to apply the rule …inh t……is…. It's just noisy to have to add a <a/> (or explicit ~ in hfst/lexc) to the RL form-side of every place in your dictionary where that happens, and it's especially noisy if the parts of the form inh are generated by different pardefs.

It occurs to me that this could also be fixed by composing

"postgen"
0:%~ <=> _ i n h .#. ;

with the generator (though making postgen able to handle this directly is probably still a good idea).

from lttoolbox.

mr-martian avatar mr-martian commented on July 30, 2024

fix reverted in 957bc09 due to #123

from lttoolbox.

Related Issues (20)

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.