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

Check tokenization of emoji #37

Open
ziorufus opened this issue Jan 27, 2022 · 0 comments
Open

Check tokenization of emoji #37

ziorufus opened this issue Jan 27, 2022 · 0 comments
Assignees
Labels

Comments

@ziorufus
Copy link
Member

Test string: This 😈 is a devil emoji

{
  "docDate": "2022-01-27",
  "timings": "Annotation pipeline timing information:\nItalianTokenizerAnnotator: 0.0 sec.\nTOTAL: 0.0 sec. for 7 tokens at 200.0 tokens/sec.",
  "sentences": [
    {
      "index": 0,
      "characterOffsetBegin": 0,
      "characterOffsetEnd": 24,
      "text": "This 😈 is a devil emoji",
      "parse": "SENTENCE_SKIPPED_OR_UNPARSABLE",
      "tokens": [
        {
          "index": 1,
          "word": "This",
          "originalText": "This",
          "characterOffsetBegin": 0,
          "characterOffsetEnd": 4
        },
        {
          "index": 2,
          "word": "?",
          "originalText": "?",
          "characterOffsetBegin": 5,
          "characterOffsetEnd": 6
        },
        {
          "index": 3,
          "word": "?",
          "originalText": "?",
          "characterOffsetBegin": 6,
          "characterOffsetEnd": 7
        },
        {
          "index": 4,
          "word": "is",
          "originalText": "is",
          "characterOffsetBegin": 8,
          "characterOffsetEnd": 10
        },
        {
          "index": 5,
          "word": "a",
          "originalText": "a",
          "characterOffsetBegin": 11,
          "characterOffsetEnd": 12
        },
        {
          "index": 6,
          "word": "devil",
          "originalText": "devil",
          "characterOffsetBegin": 13,
          "characterOffsetEnd": 18
        },
        {
          "index": 7,
          "word": "emoji",
          "originalText": "emoji",
          "characterOffsetBegin": 19,
          "characterOffsetEnd": 24
        }
      ]
    }
  ]
}
@ziorufus ziorufus added the bug label Jan 27, 2022
@ziorufus ziorufus self-assigned this Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant