Simplify cleaning transformers and shorten module names

Move cleaning transformers into classifiers/cleaning.py (dropping the
separate cleaning package) and implement them as plain classes rather
than BaseEstimator/TransformerMixin subclasses, since Pipeline only
needs fit/transform via duck typing. Also rename feature_classifier.py
and bag_of_words.py to features.py and bow.py for brevity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Chris Proctor
2026-06-08 10:02:41 -04:00
parent 5f6f171369
commit bbe8054910
6 changed files with 6 additions and 10 deletions

View File

@@ -16,4 +16,4 @@ requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["cli", "classifiers", "cleaning"]
packages = ["cli", "classifiers"]