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

Processing list of tokens #79

Open
athiakos opened this issue Oct 16, 2023 · 1 comment
Open

Processing list of tokens #79

athiakos opened this issue Oct 16, 2023 · 1 comment

Comments

@athiakos
Copy link

Thanks for the library, I have a more of a question and less of an issue.

What is the idiomatic way of processing a list of tokens, discarding tokens that don't pass some test?

I see in the documentation the test_item parser for the testing but how do I go about skipping an item? The skip parser requires to tell it what to skip, I just want to discard the item all together and move to the next.

Thanks

@spookylukey
Copy link
Member

Hi @athiakos

Could you give a more complete example of what you want to achieve - what the input text is, and what you want the output to be?

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

No branches or pull requests

2 participants