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

spellchecking dictionary size #2025

Closed
sakoula opened this issue Oct 26, 2017 · 1 comment
Closed

spellchecking dictionary size #2025

sakoula opened this issue Oct 26, 2017 · 1 comment

Comments

@sakoula
Copy link

sakoula commented Oct 26, 2017

Summary

In SublimeText 3 build 3143 when using a dictionary .dic with more than 710800 words (16MB) spelling does not work.

The dictionary is not munched (i.e. it has a simple list of words)

The same dictionary works for:

  • Openoffice
  • ThunderBird 52.4.0workingnotworking
  • Hunspell 1.6.2 (command line)
  • SublimeText build 3126

Expected behavior

Highlight (red underline) the wrong words. Right click on a word gives suggestions.

Actual behavior

There is no actual error message on the SublimeText Console or the OS Console.

The behaviour is that it 'randomly' highlights words that it considers wrong. When right clicking on a highlighted word it DOES NOT gives suggestions.

Steps to reproduce

  1. \rm -rf ~/Library/Application\ Support/Sublime\ Text\ 3
  2. Launch SublimeText 3 build 3143
  3. Use the elspell OpenOffice Greek Dictionary converted to UTF8 and edit the .aff file with SET UTF-8
  4. Get the first 710800 words from the .dic file and changed the first line of the .doc file to 718000
  5. edited the preferences in ST3 "dictionary": "Packages/dict/elspell.dic"
  6. verified that spelling works within ST3
  7. verified that spelling works within hunspell -d ~/Desktop/dict/elspell ./a.txt
  8. Get the first 710900 words from the .dic file and changed the first line of the .doc file to 719000
  9. verified that spelling does not work within ST3
  10. verified that spelling still works within hunspell -d ~/Desktop/dict/elspell ./a.txt

Note: I noticed also that although spelling works with the 710800 lines some of the words are not detected correctly as mistakes (hunspell binary works in that case).

Environment

  • Operating system and version:
    • MacOS Sierra 10.12.6
  • Monitor:
    • Resolution 1920x1200
  • Sublime Text:
    • Build 3143

Working

working

Not Working

notworking

@keith-hall
Copy link
Collaborator

This has been fixed in build 3153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants