Comments (7)
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.
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.
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.
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.
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.
Nope. Perhaps retext- spell could be formed to allow it tho
from nspell.
Any updates on this?
from nspell.
Related Issues (20)
- Not able to use nspell at client side HOT 1
- Swedish dictionary seems to not load correctly HOT 2
- Typescript Rewrite HOT 1
- Question: how to overwrite nspell.personal dictionary? HOT 6
- nspell.add fails to add word to german dictionary HOT 1
- Question re: adding extra dictionaries HOT 2
- Call stack size exceeded HOT 5
- TypeError: Read is not a function HOT 1
- Undoing addition and removal of words HOT 6
- "hasSuggestions" API HOT 8
- Pre-parsed dictionaries HOT 10
- How to change the aff file
- Suggestions are all caps for word missing apostrophe HOT 2
- Unexpected capital letters returned for certain capitalized misspellings HOT 3
- Broken keyboard groups logic for initial edits HOT 1
- Output case should follow more consistent rules
- Spell check for group of word HOT 1
- Not loading big dictionary HOT 6
- Korean language always return true, when using correct function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nspell.