Asher Gomez
38dbb1a020
feat(text): add ability for user to control word comparison function ( #5448 )
2024-07-17 05:19:21 +10:00
Yusuke Tanaka
1b53ea72eb
docs(text): refine documents in text module ( #5425 )
...
This commit refines the document in the `text` module. Namely,
- Move the note about word distance calculation possibly to change in the future
to more visible place
- Fix the wrong doc comments (e.g. `possibleWords` description on
`closestString`)
- Change `possibleWords` type from `string[]` to `ReadonlyArray<string>` to
communicate to readers that the passed array won't be mutated
- Use `toSorted` instead of `sort` to ensure immutability
2024-07-11 21:57:32 -07:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert
( #5199 )
...
* refactor: import from `@std/assert`
* update
2024-06-30 08:30:10 +00:00
Asher Gomez
48440b807e
refactor(text): cleanup use of @std/assert
( #4977 )
...
* refactor(text): cleanup use of `@std/assert`
* x
* x
* update graph
2024-06-05 22:02:17 +00:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter ( #4911 )
2024-06-03 14:10:27 +10:00
David Sherret
5a6e99cc6e
docs(text): pass docs check ( #4837 )
2024-05-23 13:01:10 -04:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase ( #4650 )
2024-04-29 11:57:30 +09:00
Asher Gomez
46d9fa594c
chore: update browser-compatible files with declaration ( #4560 )
2024-04-10 12:43:44 +10:00
Simon Holloway
a4d02abc51
refactor(text): prepare for noUncheckedIndexedAccess
( #4148 )
2024-01-11 07:33:57 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year ( #4046 )
...
* chore: update copyright year
* fix
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Yoshiya Hinosawa
f014a03fcd
fix(text): fix closestString ( #3936 )
2023-12-12 19:34:42 +09:00
Jeff Hykin
06a676f1e6
feat: add std/text
with word-similarity helpers ( #3488 )
2023-11-05 21:49:00 +09:00