Skip to content

Commit

Permalink
feat!: Upgrade Catalan Dictionary to CSpell 6 (#1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Oct 29, 2022
1 parent 29886e1 commit 485d3db
Show file tree
Hide file tree
Showing 7 changed files with 28,400 additions and 2 deletions.
7 changes: 7 additions & 0 deletions dictionaries/ca/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Catalan dictionary for cspell.

This is a pre-built dictionary for use with cspell.

## Requirements

| Tool | Version |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
| [cspell](https://github.com/streetsidesoftware/cspell) | `>= 6` |
| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 2` |

## Installation

Global Install and add to cspell global settings.
Expand Down
28,381 changes: 28,381 additions & 0 deletions dictionaries/ca/ca.trie

Large diffs are not rendered by default.

Binary file removed dictionaries/ca/ca.trie.gz
Binary file not shown.
9 changes: 9 additions & 0 deletions dictionaries/ca/cspell-tools.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-tools/cspell-tools.config.schema.json

targets:
- name: ca
sources:
- src/ca.dic
format: trie3
targetDirectory: "."
generateNonStrict: true
5 changes: 3 additions & 2 deletions dictionaries/ca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"./cspell-ext.json": "./cspell-ext.json"
},
"scripts": {
"build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 cspell-tools compile-trie \"ca.dic\" -o .",
"test": "hunspell-reader words -n 1000 \"ca.dic\" | cspell -v -c ./cspell-ext.json --local=ca --languageId=* stdin",
"build": "cspell-tools-cli build && yarn prepare",
"test": "hunspell-reader words -n 1000 \"src/ca.dic\" | cspell -v -c ./cspell-ext.json --local=ca --languageId=* stdin",
"prepare": "gzip -f -k *.trie",
"prepublishOnly": "echo pre-publish"
},
"repository": {
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 485d3db

Please sign in to comment.