-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: right now, when find an emoji block in a message, we split the message in two. This means this message: ``` Hey, let's meet at 10:30 🕐 tomorrow? ``` Will be interpreted as two separate sentences, `["Hey, let's meet at 10:30", "tomorrow?"]`, and "tomorrow" won't be taken into account. Solution: skip over emoji blocks, and collate adjacent text-like blocks. This is not parsed as a single sentence `["Hey, let's meet at 10:30 tomorrow?"]`
- Loading branch information
Showing
2 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters