Comments (5)
I understand, don't worry about it! 🙂
from spellchecker-cli.
Hi there! Thanks for the issue. Dictionaries are case-sensitive - that's why your lowercase dictionary entry isn't matching the capitalized word in the file being spellchecked. I think this behaviour makes sense - it allows the program to detect mis-capitalizations of words in the dictionary, but also allows users to ignore different capitalizations by including them in the dictionary.
To fix this, I'd suggest adding the capitalized version of the word to the dictionary. Let me know if that helps 🙂
from spellchecker-cli.
Hi, thanks for your suggestion, as far as I can check, most of the errors occurred when I run the spellcheck are issues with "capitalized word". I have tried to add that in my personal dictionary and it's fixed. Thanks for your help. 🙂
There is only a problem with repeated word
As you see here, some languages have some phrase words. In my case, for example, the phrase word is song song
(Vietnamese) which mean parallel
(English) but the retext-repeated-words recognize it as 2 separate words instead of a phrase word only which lead to the error shown below, I've tried to add this in the dictionary but didn't help
from spellchecker-cli.
I'm glad that was helpful! And thanks for bringing up this other issue. As far as I can tell, retext-repeated-words
isn't powerful enough to recognize phrase words from non-English languages. I think it's only intended to be run on English text, unfortunately. I think the best option would be to disable that plugin.
Also I just found that retext-spell
can integrate with this Vietnamese dictionary. I'd accept a PR to add support for that dictionary to spellchecker-cli
. I think that'd be as simple as adding dictionary-vi
as a dependency, adding a couple of tests, and documenting the change.
from spellchecker-cli.
Also I just found that
retext-spell
can integrate with this Vietnamese dictionary. I'd accept a PR to add support for that dictionary tospellchecker-cli
. I think that'd be as simple as addingdictionary-vi
as a dependency, adding a couple of tests, and documenting the change.
Sorry that I don't have much knowledge about coding (information technology) just enough skill to create a vuepress site follow their site so I don't know how to add support for vietnamese dictionary to spellchecker-cli
, I've tried to read the index.js here as well as reading about the retext-spell's API section but haven't found out the way add another language. I'm really sorry for this
from spellchecker-cli.
Related Issues (20)
- Thinks an empty space " " is misspelt in some occasions HOT 2
- Automate the process of updating CHANGELOG.md
- HTML Entity HOT 1
- Add more technology words HOT 2
- Test fails on Windows(?) HOT 6
- Avoid spelling checking superscript numbers
- Allow to save dictionary by HTTP method or S3 standard compatible HOT 1
- Enhancement: Make available as `pre-commit` hook HOT 1
- Before Release of `pre-commit` Addition HOT 16
- pre-commit hook installation issue HOT 3
- Not getting output for UK spelling when running with en-US HOT 1
- Add library of common dictionaries HOT 1
- Upgrade from 4.8.1 to 4.10.0 fails on non-windows machines HOT 2
- Gear emoji is seen as misspelt HOT 5
- Upgrade to latest version of Remark and related packages HOT 2
- "TypeError: Cannot read properties of undefined (reading 'filename')" when globally installed on Ubuntu HOT 8
- When installed globally, Spellchecker CLI will read config from .spellcheckerrc.yml in spellchecker-cli's root directory HOT 3
- GitHub Action - TypeError: Cannot read properties of undefined (reading 'filename') HOT 3
- Upgrade to 5.0.0 breaks on non-windows machines HOT 2
- Deprecation warning for date-format 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 spellchecker-cli.