Skip to content

Commit

Permalink
feat!: Update Scientific Terms (#2346)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Jul 19, 2023
1 parent a42db50 commit ee8ac58
Show file tree
Hide file tree
Showing 8 changed files with 30,709 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dictionaries/scientific_terms_US/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ MIT

> Some packages may have other licenses included.
[//]: # 'cspell:ignore Petrie’s'
<!--- cspell:ignore Petrie’s --->
2 changes: 1 addition & 1 deletion dictionaries/scientific_terms_US/cspell-ext.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dictionaryDefinitions": [
{
"name": "scientific-terms-us",
"path": "./custom_scientific_US.dic.trie.gz",
"path": "./custom_scientific_US.trie.gz",
"description": "Scientific Terms US dictionary for cspell."
}
],
Expand Down
11 changes: 11 additions & 0 deletions dictionaries/scientific_terms_US/cspell-tools.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-tools/cspell-tools.config.schema.json

targets:
- name: custom_scientific_US
targetDirectory: .
compress: false
format: trie3
sources:
- src/custom_scientific_US.dic.txt
- src/additional_words.txt
generateNonStrict: true
Binary file not shown.
30,690 changes: 30,690 additions & 0 deletions dictionaries/scientific_terms_US/custom_scientific_US.trie

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions dictionaries/scientific_terms_US/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
"./cspell-ext.json": "./cspell-ext.json"
},
"scripts": {
"build": "cspell-tools compile-trie \"custom_scientific_US.dic.txt\" -o .",
"test": "shx head -n 1000 \"custom_scientific_US.dic.txt\" | cspell -v -c ./cspell-ext.json --local=en --languageId=* stdin",
"build": "cspell-tools-cli build && pnpm gz",
"test": "shx head -n 1000 \"src/custom_scientific_US.dic.txt\" | cspell -v -c ./cspell-ext.json --local=en --languageId=* stdin",
"gz": "cspell-tools-cli gzip *.trie",
"prepare": "pnpm gz",
"prepublishOnly": "echo pre-publish"
},
"repository": {
Expand All @@ -33,7 +35,7 @@
},
"homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/scientific_terms_US#readme",
"files": [
"custom_scientific_US.dic.trie.gz",
"custom_scientific_US.trie.gz",
"cspell-ext.json"
]
}
1 change: 1 addition & 0 deletions dictionaries/scientific_terms_US/src/additional_words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Please add any additional terms below, one word per line.

0 comments on commit ee8ac58

Please sign in to comment.