Skip to content

Added possessive token quantifiers - #920

Merged
Str-Gen merged 1 commit into
mainfrom
tickets/1125-30-038
Nov 29, 2026
Merged

Str-Gen merged 1 commit into
mainfrom
tickets/1125-30-038

Conversation

@Str-Gen

@Str-Gen Str-Gen commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Tracking #30.

CountVectorizer and TfidfVectorizer now support *+, ++, ?+, and possessive brace ranges in pure Mojo, including groups that can match empty text. Each group iteration commits to its first match, following the locked CPython oracle. Committed f5783979 on clean branch tickets/1125-30-038 based on a5add8c6, ready for coordinator publication. Python regex syntax

bash families/feature_extraction/builds/possessive_verify.sh compiled both vectorizer contracts with locked Mojo 1.0.0 and passed both contracts, Pipeline composition, and filename ColumnTransformer parity before the compiler crashed on the large generated CountVectorizer parity file. bash families/feature_extraction/builds/possessive_verify_recovery.sh passed using a compact driver under the same memory cap. It checked 24 new count cases, 4 new TF-IDF cases, 5 invalid possessive patterns, 91 matcher regressions, and dense and labeled filename ColumnTransformer output against pinned scikit-learn 4358542a1bd39af2e7e1cbace8b9fed067473c5b. Assembly and committed diff checks passed.

@Str-Gen
Str-Gen merged commit 7b6a275 into main Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant