Repository navigation
Added possessive token quantifiers - #920
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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. Committedf5783979on clean branchtickets/1125-30-038based ona5add8c6, ready for coordinator publication. Python regex syntaxbash families/feature_extraction/builds/possessive_verify.shcompiled 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.shpassed 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-learn4358542a1bd39af2e7e1cbace8b9fed067473c5b. Assembly and committed diff checks passed.