std/text
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
..
_util_test.ts 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) 2024-06-30 08:30:10 +00:00
_util.ts refactor(text): prepare for noUncheckedIndexedAccess (#4148) 2024-01-11 07:33:57 +11:00
case_test.ts 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) 2024-06-30 08:30:10 +00:00
case.ts 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) 2024-06-30 08:30:10 +00:00
closest_string_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
closest_string.ts docs(text): refine documents in text module (#5425) 2024-07-11 21:57:32 -07:00
compare_similarity_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
compare_similarity.ts docs(text): refine documents in text module (#5425) 2024-07-11 21:57:32 -07:00
deno.json chore: release 2024.07.02 (#5254) 2024-07-02 20:43:42 +09:00
levenshtein_distance_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
levenshtein_distance.ts 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) 2024-06-30 08:30:10 +00:00
mod.ts 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) 2024-06-30 08:30:10 +00:00
word_similarity_sort_test.ts refactor(text): minor cleanups and improvements (#5025) 2024-06-11 19:34:14 +12:00
word_similarity_sort.ts docs(text): refine documents in text module (#5425) 2024-07-11 21:57:32 -07:00