Custom entities with regex pattern #86
-
|
I'm ingesting some data from Slack. Slack formats its messages with some custom templates. For example: Custom emojis are surrounded in colons At-mentions are re-encoded similar to this: More examples and docs here: https://api.slack.com/reference/surfaces/formatting#retrieving-messages How can I have wink tag these known regular elements? It seems like learnCustomEntities is the correct path but it needs to take a regex pattern. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hello @bennyty Based on the problem description, here is a possible solution: const winkNLP The corresponding HTML output on runkit: However you will have to keep in mind that Best, |
Beta Was this translation helpful? Give feedback.

Hello @bennyty
Based on the problem description, here is a possible solution: