Skip to content

Commit

Permalink
feat: improve Greek dictionary (#236)
Browse files Browse the repository at this point in the history
* feat: improve Greek dictionary

* Address linter issues
  • Loading branch information
Jason3S committed Oct 21, 2020
1 parent 1b37002 commit e9bbf2e
Show file tree
Hide file tree
Showing 13 changed files with 1,147,822 additions and 7 deletions.
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${file}"
}
]
}
5 changes: 3 additions & 2 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
"language": "en",
// words - list of words to be always considered correct
"words": [
"Mutex",
"addrtype",
"ALLCAPS",
"appname",
"configstore",
"django",
"django's"
"django's",
"Mutex"
],
// flagWords - list of words to be always considered incorrect
"flagWords": [],
Expand Down
6 changes: 5 additions & 1 deletion packages/el/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change Log

## 1.1.0
- Add in [Greek spellchecking dictionary – for 🦊 Firefox](https://addons.mozilla.org/en-US/firefox/addon/greek-spellchecking-dictionary/)
- [Fix wrong suggestion in Greek CAPITALS words · Issue #218](https://github.com/streetsidesoftware/cspell-dicts/issues/218)

## 1.0.0
- Initial Release
- Initial Release
Binary file removed packages/el/Greek.trie.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/el/cspell-ext.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dictionaryDefinitions": [
{
"name": "el",
"file": "./Greek.trie.gz",
"file": "./el_GR.trie.gz",
"description": "Greek dictionary for cspell."
}
],
Expand Down
Binary file added packages/el/el_GR.trie.gz
Binary file not shown.
10 changes: 7 additions & 3 deletions packages/el/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"cspell-dict-el-unlink": "./unlink.js"
},
"scripts": {
"build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 cspell-tools compile-trie \"Greek.txt\" -o .",
"compile-all-caps": "node ./tools/toCaps ./src/Greek.txt ./src/Greek.ALLCAPS.txt",
"build-dictionary": "cross-env NODE_OPTIONS=--max_old_space_size=4096 cspell-tools compile-trie --merge el_GR src/hunspell/el-GR.dic src/Greek.txt src/Greek.ALLCAPS.txt -o .",
"build": "npm run compile-all-caps && npm run build-dictionary",
"prepublishOnly": "cp ../../util/* .",
"test": "head -n 100 Greek.txt | cspell -v -c cspell-ext.json --local=el stdin",
"test": "head -n 1000 ./src/Greek.txt | cspell -v -c cspell-ext.json --local=el stdin",
"cspell-link": "node link.js",
"cspell-unlink": "node unlink.js"
},
Expand All @@ -36,9 +38,11 @@
"configstore": "^5.0.1"
},
"files": [
"Greek.trie.gz",
"el_GR.trie.gz",
"cspell-ext.json",
"src/hunspell/README.txt",
"*.js",
"!tools",
"*.d.ts"
]
}

0 comments on commit e9bbf2e

Please sign in to comment.