Joshua A. Horton
ec32e21bf4
feat(web): adds extra assertion to 'mitigation' test
2024-08-20 11:04:32 +07:00
Joshua A. Horton
92275697c0
fix(web): improve tokenization output when wordbreaker breaks spec for span .left, .right values in output
2024-08-20 10:52:40 +07:00
Joshua A. Horton
5ab2a79547
chore(web): Merge branch 'master' into change/web/tokenization-awareness-for-predictions
2024-08-06 09:57:48 +07:00
Joshua Horton
053e9bcd55
Merge pull request #11975 from keymanapp/change/common/models/tokenization
...
change(common/models): change model tokenization to also tokenize whitespace 📚
2024-08-06 09:56:31 +07:00
Joshua A. Horton
4d78ea9a3e
chore(common/models): defines Token type per review suggestion (from child PR)
2024-08-02 08:22:43 +07:00
Joshua A. Horton
bef70e6185
chore(web): drops unneeded '!.' mentioned in review
2024-08-02 08:17:55 +07:00
Joshua A. Horton
3d278a33c7
chore(web): Merge branch 'change/web/full-context-tokenization-tracking' into change/web/tokenization-awareness-for-predictions
2024-08-01 08:31:55 +07:00
Joshua A. Horton
e6cf85baf5
chore(common/models): defines Token type per review suggestion
2024-08-01 08:28:57 +07:00
Joshua A. Horton
9904a0c425
fix(web): improve post-punctuation, post-whitespace handling
2024-07-31 13:00:32 +07:00
Joshua A. Horton
092b6f7a4f
fix(common/models): null-guard left-hand token reference for split-token check during tokenization
2024-07-29 14:04:40 +07:00
Joshua A. Horton
b7c7f5a41c
chore(common/models): address PR review comments re needed comment, condition-clarity improvement
2024-07-29 12:13:36 +07:00
Joshua Horton
6717c3cdab
Merge pull request #11948 from keymanapp/feat/web/extend-dummy-model
...
feat(web): extend unit-test oriented dummy model 📚
2024-07-25 13:00:44 +07:00
Joshua A. Horton
965eeaf17b
chore(common/models): renames added unit tests
2024-07-24 13:04:08 +07:00
Joshua A. Horton
21d21fb8f4
change(common/models): change model tokenization to also tokenize whitespace
2024-07-18 11:32:09 +07:00
Joshua A. Horton
dfda3107f7
fix(common/models): use explicit undefined check for transformId copy op
2024-07-11 10:12:49 +07:00
Joshua A. Horton
dc80b1c2df
feat(web): extend unit-test oriented dummy model
2024-07-11 09:44:13 +07:00
Joshua A. Horton
946ec38ad4
chore(web): incorporate suggestions, address concerns from PR review
2024-07-08 10:43:40 +07:00
Joshua A. Horton
067d033d0d
chore(web): Merge branch 'change/common/models/templates/trie-results-through-traversal' into fix/web/low-probability-exact-matching
2024-07-08 10:29:35 +07:00
Joshua A. Horton
a7365abd66
docs(common/models): comment format adjustment per PR review
2024-07-08 10:26:40 +07:00
Joshua A. Horton
9e2f0b16a4
chore(common/models/templates): Merge branch 'feat/common/models/direct-lexicon-traversal' into change/common/models/templates/trie-results-through-traversal
2024-07-08 10:25:35 +07:00
Joshua A. Horton
dc7c1f1923
chore(common/models): makes minor adjustments per review
2024-07-08 10:15:57 +07:00
Joshua A. Horton
211c04a83e
chore(common/models): Merge branch 'feat/common/models/lexicon-traversal-probs' into feat/common/models/direct-lexicon-traversal
2024-07-08 10:15:08 +07:00
Joshua A. Horton
14b453c2a6
change(common/models): enact changes per PR review
2024-07-08 09:39:54 +07:00
Joshua A. Horton
b473ada3d3
change(common/models): directly return predictions that match keyed prefix for Trie models
2024-06-28 12:51:14 +07:00
Joshua A. Horton
7bda1e5d93
feat(web): determine suggestion to use for auto-correct
2024-06-27 09:51:30 +07:00
Joshua A. Horton
3423c63bc0
change(web): avoid use of Array.from with iterators (in TrieModel.predict)
2024-06-26 11:48:20 +07:00
Joshua A. Horton
fe31917bb5
change(common/models/templates): predict methods now utilize traversals
2024-06-21 15:15:15 +07:00
Joshua A. Horton
aef1dacc59
fix(common/models): traverse by key, not true wordform
2024-06-21 15:12:37 +07:00
Joshua A. Horton
e0892deccf
fix(common/models/templates): unit test patchup post maxP -> p
2024-06-21 15:12:37 +07:00
Joshua A. Horton
6de595394b
docs(common/models/templates): a bit more for traversal child method
2024-06-21 15:12:36 +07:00
Joshua A. Horton
64efabbc49
change(common/models/templates): traversal on Trie
2024-06-21 15:12:36 +07:00
Joshua A. Horton
b58945e255
feat(common/models/templates): unit test for new feature
2024-06-21 15:12:35 +07:00
Joshua A. Horton
15f49f2551
feat(common/models): direct, non-iterative traversal to specific children
2024-06-21 15:12:34 +07:00
Joshua A. Horton
27bc02137c
fix(common/models/templates): unit test patchup after maxP -> p
2024-06-21 15:04:17 +07:00
Joshua A. Horton
0c47fcdbe6
change(web): maxP -> p, to ensure common field name for node and entry
2024-06-21 15:04:17 +07:00
Joshua A. Horton
17fefaa86f
feat(common/models/templates): unit test enhancements for new feature
2024-06-21 15:04:16 +07:00
Joshua A. Horton
8e058a5078
fix(common/models): basic unit test patchup
2024-06-21 15:04:16 +07:00
Joshua A. Horton
abb326490f
feat(common/models): lexicon traversals - probability access
2024-06-21 15:04:15 +07:00
Joshua A. Horton
ef7d87ace1
refactor(common/models): moves TS priority-queue implementation to web-utils
2024-06-21 15:02:52 +07:00
Joshua Horton
020bdb4231
Merge pull request #11732 from keymanapp/fix/web/array-from-polyfill
...
fix(web): add limited Array.from polyfill for lm-worker use
2024-06-14 15:39:30 +07:00
Joshua A. Horton
d07fa7e953
chore(common): eliminate ts-node ref from most subpackages
2024-06-10 10:07:58 +07:00
Joshua A. Horton
e527317d3a
fix(common): remove subpackge entries for older TS version
2024-06-10 09:14:03 +07:00
Joshua A. Horton
d66d474f64
fix(web): add limited Array.from polyfill for lm-worker use
...
Fixes : #11502
Fixes: KEYMAN-WEB-K4
2024-06-07 11:56:18 +07:00
Joshua A. Horton
2c79db4cb5
chore(web): Merge branch 'master' into chore/web/update-typescript
2024-05-27 09:20:01 +07:00
Marc Durdin
ee0fc0ce14
chore(developer): cleanup npm publish
...
Use a new flag `--npm-publish` in conjunction with `publish` action,
so that the default will always be to `npm pack` if the new flag is not
specified. This flag is also guarded in the actual npm publish code to
ensure that it can only run in the appropriate CI alpha/beta/stable
environment, and not in local or test.
This then also removes the separate `pack` action.
Also removes legacy boilerplate from a number of build scripts.
2024-05-20 06:34:57 +07:00
Joshua A. Horton
70d06d7cd1
chore(web): updates all KMW-related projects to TS 5.4.5
2024-05-15 16:00:34 +07:00
Joshua A. Horton
01d0019d86
chore(web): removes package.json references to old @npm/types versions
2024-05-07 14:38:41 +07:00
Joshua A. Horton
398b9e0ae2
chore(common): drops package-specific 'chai', '@types/chai' versions
...
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Marc Durdin
cd8121ef65
chore(common): builder scripts now use /resources/build/builder.inc.sh
...
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).
This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc
chore(common): maintenance on build scripts - cd
...
Fixes #11324 .
* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00