Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some cleanup, inclusing changing TokenBuffer to use replaces rather than splits #19

Merged
merged 3 commits into from
Feb 25, 2019

Conversation

oxinabox
Copy link
Member

This change we were talking about in #10
and I think on making it it is cleaner, easier to write.

I also think this kind of rule will be useful for #18
where some of the things you flush are normalized versions of the "raw tokens".

What do you think @MikeInnes ?

@oxinabox oxinabox merged commit c59fa97 into master Feb 25, 2019
@oxinabox oxinabox deleted the ox/cleanup branch February 25, 2019 09:32
For example, `cannot` would be split into `can` and `not`.
`freeeee` would be replaced with `free`
"""
function replaces(ts, ss)
Copy link
Contributor

@aquatiko aquatiko Feb 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oxinabox if we could give an option to pass boundary here, it will help with some of the rules for TokTok implementation

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.

3 participants