vandanavk opened a new pull request #11792: [MXNET-656] Update documentation for count_tokens_from_str URL: https://github.com/apache/incubator-mxnet/pull/11792 ## Description ## count_tokens_from_str() throws an error when user tries to use special characters such as * . ? etc as delimiters. This occurs because the function makes use of re.split() which considers the delimiters to be Regular Expressions. ## Checklist ## ### Essentials ### Please feel free to remove inapplicable items for your PR. - [ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant [JIRA issue] - [ ] Changes are complete (i.e. I finished coding on this PR) - [ ] Code is well-documented: - For user-facing API changes, API doc string has been updated. - [ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change ### Changes ### Changed the documentation to let the the user know about the use of special characters as delimiters, along with an example of the correct usage.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
