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

Twitter users and hashtags with leading numbers #18

Open
cakelly opened this issue Sep 1, 2016 · 0 comments
Open

Twitter users and hashtags with leading numbers #18

cakelly opened this issue Sep 1, 2016 · 0 comments

Comments

@cakelly
Copy link

cakelly commented Sep 1, 2016

I am working on a comparison of tokenizers for microblog texts, and am finding issues with nlpj 1.1.3 (from http://nlp.mathcs.emory.edu/nlp4j/nlp4j-appassembler-1.1.3.tgz).

Twitter usernames and hashtags which being with a number are not correctly parsed, e.g.

RT @1310kfkanews: #1310kfkanews

is tokenized with the "@" and "#" as separate tokens.

1   RT  rt  NN  pos2=NNP    3   nmod    _   O
2   @   @   SYM pos2=IN 3   punct   _   O
3   1310kfkanews    0kfkanews   NN  pos2=NNS    12  dep _   O
4   :   :   :   pos2=,  12  punct   _   O
5   #   #   NN  pos2=SYM    6   compound    _   U-CARDINAL
6   1310kfkanews    0kfkanews   NN  pos2=NNS    10  dep _   U-MONEY

[This issue previously reported as https://github.com/emorynlp/nlp4j-tokenization/issues/11]

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