We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think the regex expression is wrong.
TOKENS_ALPHANUMERIC = '[A-Za-z0-9]+(?=\s+)'
Doesn't this mean that you only consider tokens if they contain only alphanumeric characters and are followed by white space ?
Example: WORD1,WORD2, WORD3, WORD4 Word5
In the above sentence WORD4 and Word5 would be considered as tokens as the other words have a comma in them and as such are not valid tokens.
The text was updated successfully, but these errors were encountered:
I think all the WORDS will be considered as tokens. The first four will be split on the comma, and the fifth will be split on the whitespace.
Sorry, something went wrong.
No branches or pull requests
I think the regex expression is wrong.
TOKENS_ALPHANUMERIC = '[A-Za-z0-9]+(?=\s+)'
Doesn't this mean that you only consider tokens if they contain only alphanumeric characters and are followed by white space ?
Example:
WORD1,WORD2, WORD3, WORD4 Word5
In the above sentence WORD4 and Word5 would be considered as tokens as the other words have a comma in them and as such are not valid tokens.
The text was updated successfully, but these errors were encountered: