Code Monkey home page Code Monkey logo

Comments (7)

wooorm avatar wooorm commented on May 22, 2024 1

Thanks, transferred to nspell.

I don‘t have time/priority to work on nspell currently, so unfortunately this will take a while.

If you’re fine with native dependencies, nodehun might be a good alternative for spell checking in Node!

from nspell.

wooorm avatar wooorm commented on May 22, 2024

Hmm, might be nspell related, as it’s not 100% compatible with hunspell.
It might be worth checking with hunspell, if the dictionary works there. I would appreciated it a lot if you could check that?

Looking at the .aff file here, it might be duplicated. Those lines are typically at the top, not half way into a document

from nspell.

nnmrts avatar nnmrts commented on May 22, 2024

C++ compiling and all that makefile spam is such a joke, but I guess that's how things are done there...

What I did after installing hunspell:

wget -O de.dic https://raw.githubusercontent.com/wooorm/dictionaries/main/dictionaries/de/index.dic
wget -O de.aff https://raw.githubusercontent.com/wooorm/dictionaries/main/dictionaries/de/index.aff

and then testing it:

hunspell -d de
Hunspell 1.7.0
markieren
*

markierend
+ markieren

Markieren
*

markierens
& markierens 8 0: Markierens, markierend, markieren, -markierens, markiere, maskieren, marinieren, massieren

As you can see, "markieren" is correct here. "markierens" is not, but it would be in retext-spell. But only the uppercase "Markierens" is correct.

It really seems like nspell has some issues with case.

from nspell.

nnmrts avatar nnmrts commented on May 22, 2024

Testing with nspell here:
https://runkit.com/nnmrts/nspell-de-test

yields this:

{
	"markieren": [
		false,
		[
			"Markieren"
			"markierend",
			"markierens",
			"-markieren",
			"markiere",
			"markierten",
			"maskieren"
		]
	],
	"markierend": [
		true,
		[]
	],
	"Markieren": [
		true,
		[]
	],
	"markierens": [
		true,
		[]
	]
}

from nspell.

nnmrts avatar nnmrts commented on May 22, 2024

If you’re fine with native dependencies, nodehun might be a good alternative for spell checking in Node!

Is there a way to plug nodehun into retext-spell?

from nspell.

wooorm avatar wooorm commented on May 22, 2024

Nope. Perhaps retext- spell could be formed to allow it tho

from nspell.

Joelius300 avatar Joelius300 commented on May 22, 2024

Any updates on this?

from nspell.

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.