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
33c631d60b
refactor(text): minor cleanups and improvements ( #5025 )
2024-06-11 19:34:14 +12: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
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
David Sherret
b0803619af
refactor: add some missing explicit types ( #3997 )
...
* refactor: add some missing return types and mark some non-exported types as `@internal`
* Update expect/fn.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* Remove @internals
* nits
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:26:13 +00:00
Jeff Hykin
06a676f1e6
feat: add std/text
with word-similarity helpers ( #3488 )
2023-11-05 21:49:00 +09:00