Giter Club home page Giter Club logo

Comments (6)

Wulf avatar Wulf commented on June 5, 2024

hey @ChrisChinchilla, hope things are well and happy new year :)

Check this out and see if it helps: https://www.npmjs.com/package/hunspell-asm

It seems to be missing a few methods but maybe you can add them in yourself!

from nodehun.

ChrisChinchilla avatar ChrisChinchilla commented on June 5, 2024

Thanks @Wulf ! Though looking at this, this line stands out to me…

Hunspell exposes few interfaces allow to add words, or dictionaries in existing dictionary in runtime. This is runtime behavior, so it doesn't persist over once instance is disposed.

This might be an issue as people using our extension would kind of expect what they add to suggestions to persist.

Is there a way I could maybe create a fork of your repo to get it to work with web pack, or of you think that's more work than it's worth?

from nodehun.

Wulf avatar Wulf commented on June 5, 2024

Yeah that’s standard hunspell behaviour —
nodehun is the same. It’s the library user’s responsibility to load extra dictionaries or words when initializing.

from nodehun.

ChrisChinchilla avatar ChrisChinchilla commented on June 5, 2024

Ah, I misread that to mean it was wasm that made that a factor, saving words to dictionary files is totally expected.

For the second part of my last question. What would it take to make your code webpack compatible? Or is it an impossibility? I can also see if vscode extensions need webpack top of course, that's just our current process.

from nodehun.

Wulf avatar Wulf commented on June 5, 2024

hey Chris, sorry I dropped the ball here -- what do you mean by webpack compatible?

from nodehun.

ChrisChinchilla avatar ChrisChinchilla commented on June 5, 2024

@Wulf I honestly don't know, the whole ecosystem confuses me, but I have got hunspell-asm working anyway, so thanks!

from nodehun.

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.