Skip to content

java.lang.NumberFormatException: Invalid int: "98xxxxxx56" #33

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

Open
coolrb opened this issue Dec 15, 2017 · 0 comments
Open

java.lang.NumberFormatException: Invalid int: "98xxxxxx56" #33

coolrb opened this issue Dec 15, 2017 · 0 comments

Comments

@coolrb
Copy link

coolrb commented Dec 15, 2017

I just tried to extract events from a mail message. However, the mobile no in the mail is tokenized as int and generated number format exception
java.lang.NumberFormatException: Invalid int: "98xxxxxx56" at java.lang.Integer.invalidInt(Integer.java:138) at java.lang.Integer.parse(Integer.java:413) at java.lang.Integer.parseInt(Integer.java:367) at java.lang.Integer.parseInt(Integer.java:334) at com.sixthsolution.apex.nlp.util.NumericUtils.toInt(NumericUtils.java:19) at com.sixthsolution.apex.nlp.tagger.StandardTagger.tag(StandardTagger.java:35) at com.sixthsolution.apex.nlp.parser.StandardParserBase.parse(StandardParserBase.java:47) at com.sixthsolution.apex.Apex.nlp(Apex.java:32)

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

1 participant