-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve word splitting options (#846)
To support dictionary words with -, _, and digits, the word splitting algorithm was improved to try multiple permutations. * fix: support `-` in dictionary words. * dev: Improve support for mixed case spell checking. * dev: Have the tool generate word lists with formatting * dev: map the word to lower case before testing ignore words. * dev: Do not use the code splitter when loading word lists * Remove support for code splitter in word lists. * dev: ignore case when looking for repeated characters * dev: add a more extensive word splitter * dev: reduce calls to has word * If we need support for Non-BMP, it can be added later. * Use isFound to match validator * dev: use splitter with text validator * move regex escape into its own file * Use native unicode support * support custom word breaks * dev ignore trailing endings * Update snapshots * Remove dependency upon cspell-util-bundle * Remove cspell-util-bundle * Remove support for 10
- Loading branch information
Showing
70 changed files
with
10,950 additions
and
7,880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: | ||
- 10.x | ||
- 12.x | ||
- 14.x | ||
- 15.x | ||
|
||
os: | ||
- ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.