wooorm / dictionaries

Hunspell dictionaries in UTF-8
MIT License
1.21k stars 398 forks source link

Suggestion is not working for Swedish #45

Closed TharinduK97 closed 2 years ago

TharinduK97 commented 2 years ago

I have used Syncfusion spellchecker with the Humspell using Asp .net core. but I tried to get suggestions from swediish I could not receive any result, as well as spell-checking function, is not working properly. but while not using the suggestion it is working properly and both the suggestion and checking functions are working with other languages like English variants, Russian, French etc.. so is there any limitations in the Swedish dictionary ???

wooorm commented 2 years ago

Duplicate of #35

mkdir example
npm i dictionary-sv
cp node_modules/dictionary-sv/index.aff sv.aff; cp node_modules/dictionary-sv/index.dic sv.dic
hunspell -d sv <<< 'a bunch of things'

Yields:

Hunspell 1.7.0
*
& bunch 2 2: brunch, lunch
& of 10 8: o, f, or, os, om, ok, ob, oh, oj, o-
& things 3 11: tings, tvings, hingst

^-- Seems to work.