You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,9 @@ Contributors can add new methods for schema and value matching by following thes
37
37
38
38
1. Create a Python module inside the "task folder" folder (e.g., `bdikit/value_matching`).
39
39
40
-
2. Define a class in the module that implements either `BaseValueMatcher` (for value matching) or `BaseSchemaMatcher` (for schema matching).
40
+
2. Define a class in the module that implements a base class. For value matching, it could be `BaseOne2oneValueMatcher`or `BaseTopkValueMatcher`. For schema matching, it could be `BaseOne2oneSchemaMatcher` or `BaseTopkSchemaMatcher`.
41
41
42
-
3. Add a new entry to the Enum class (e.g. `ValueMatchers`) in `matcher_factory.py` (e.g., `bdikit/value_matching/matcher_factory.py`).
42
+
3. Add a new entry to the Enum class (e.g. `One2OneValueMatchers`) in `matcher_factory.py` (e.g., `bdikit/value_matching/matcher_factory.py`).
43
43
Make sure to add the correct import path for your module to ensure it can be accessed without errors.
0 commit comments