Preset: company names

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
node.js, typescript

Research direction

Read the Languages and presets guide linked in the issue, then use definePreset() and assertPreset(preset, { matches, differs, normalized }) from fuzzy-toolkit/testing. Cover the listed legal forms and examples with real-looking company names. Done means the preset passes those assertions; the issue asks you to comment with the cases you plan to cover before starting.

Written by the indexing model from the issue text.

Description

help wanted preset

Matching company names despite legal forms and noise: ACME Inc. = Acme, Smith & Sons Ltd = Smith and Sons, Société Générale SA = Societe Generale. Legal forms of several countries (Inc, LLC, Ltd, GmbH, AG, SA, SARL, SAS, BV, SpA...).

How to start

  1. Write it with definePreset(): see Languages and presets.
  2. Test it with assertPreset(preset, { matches, differs, normalized }) from fuzzy-toolkit/testing, on real-looking data.
  3. Either publish it on npm as fuzzy-toolkit-preset-company-names (keyword fuzzy-toolkit-plugin) and we link it from the docs, or open a PR to propose it for the core if it is useful to most users.

Comment here with the cases you plan to cover before you start.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
14m
Merged PRs (30d)
26

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Tfoucher5/fuzzy-toolkit

All issues in Tfoucher5/fuzzy-toolkit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.