Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "e.g." (abbreviation for "exempli gratia") marked as misspelled #120

Open
tad-lispy opened this issue Apr 12, 2022 · 0 comments
Open

Comments

@tad-lispy
Copy link

tad-lispy commented Apr 12, 2022

Reporting bugs

When reporting a bug you must tell us the state of your system and the
steps to reproduce the bug. For the state please specify the following:

key value
Operating system, distribution, version = NixOS unstable
Nuspell version = 5.0.1
Dictionary, package name, version = hunspell-dict-en-us-large-wordlist-2018.04.16
Command-line tool or GUI application = nuspell CLI

Steps to reproduce

Run a nuspell CLI on an input file like this:

I like many flavors of ice cream, e.g. vanilla, chocolate.

Bugged behavior (output)

$ nuspell -l sample.txt
INFO: Locale LC_CTYPE=en_US.UTF-8, Used encoding=UTF-8
INFO: Pointed dictionary /nix/store/b99hqd4l8ng3x3qb3n82687hh8s5i7d3-hunspell-dict-en-us-large-wordlist-2018.04.16/share/hunspell/en_US.{dic,aff}
e.g

Expected behavior (output)

No misspelled words reported.

Notes

The word reported as misspelled is "e.g", without the final dot.

I tried modifying the dictionary and adding the "e.g." word, but it didn't have any effect. Maybe I need some flags? I'm just beginning to learn about spell checking systems.

Hunspell with the same dictionary works correctly in this case:

$ hunspell -l sample.txt
$ # no output, as it should be

I've accidentally submitted this issue before I was done writing. Sorry for the noise.

@tad-lispy tad-lispy changed the title The e.g. (abbreviation for "exempli gratia" marked as The "e.g." (abbreviation for "exempli gratia") marked as misspelled Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant