Coder Social home page Coder Social logo

Implement a spellchecker about blightmud HOT 3 CLOSED

LiquidityC avatar LiquidityC commented on June 26, 2024
Implement a spellchecker

from blightmud.

Comments (3)

LiquidityC avatar LiquidityC commented on June 26, 2024 1

Anything GPL, MIT or Apache2 licensed should work here. I definitely think these files should be provided by lua through the lua bindings we build. It's best if users can change languages and provide their own dictionaries if they want to.

from blightmud.

cpu avatar cpu commented on June 26, 2024

One aspect that might need some thought is how users will provide dictionary data and whether they need to source the data themselves or if it'll be bundled somehow.

In the Hunspell case (assuming that's what library #724 ends up using) the code will need to provide paths to both an affix file and a dictionary file. I found https://github.com/wooorm/dictionaries when I was looking around briefly. In my initial testing I followed the example from the Hunspell README and wget'd the OpenOffice en_US files to reference.

from blightmud.

cpu avatar cpu commented on June 26, 2024

I put up a WIP PR with the Spellchecking API for: #736

Concurrent with that, I built a spellchecker plugin that uses the Spellchecking API to resolve this issue: https://github.com/cpu/blightspell

If you'd rather this be built-in to Blightmud I'm open to that but it felt better to build this separately as a plugin that we can iterate on faster than the Blightmud release schedule. LMK what you think.

The basic user experience is already pretty good. I think I can make it better still if #737 is also implemented.

from blightmud.

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.