Code Monkey home page Code Monkey logo

Comments (5)

hlaueriksson avatar hlaueriksson commented on June 16, 2024

These two emojis can be found via the aliases:

  1. :speaking_head:
  2. :exclamation:

I updated a test for this: c7ddef7

The source of the data is: https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json

from gemojisharp.

zydjohnHotmail avatar zydjohnHotmail commented on June 16, 2024

Hello:
Thanks for your reply. I think your repo is rather complete. But how I can use it without missing anything. You know some telegram public channel use quite a number of Emoji, I want to extract the text from them, but I want to simply discard all those Emoji.
My C# code is like this:
string pure_text = Regex.Replace(raw_text, Emoji.RegexPattern, string.Empty);
Why I found some Emoji is missing, becuase when I used the above code for about 200 public chats, I found 2 Emoji is missing. I may have to parse 20K of such public chats, there will be more Emoji missing using the code?
I give you one of such telegram public channel: https://t.me/censor_net
Thanks,

from gemojisharp.

hlaueriksson avatar hlaueriksson commented on June 16, 2024

The emojis in this project are based on what's supported on GitHub.
It's the https://github.com/github/gemoji repo that has the master data.

The latest release of gemoji, 4.0.0.rc2, is from Jan 31, 2020.
So, it's not up to date with the Emoji v14.0.

I don't know what emojis Telegram supports.

from gemojisharp.

zydjohnHotmail avatar zydjohnHotmail commented on June 16, 2024

Hello:
You can download Telegram desktop for Windows 10 at this URL: https://telegram.org/dl/desktop/win64
And join this public channel: https://t.me/censor_net
Then you can export some chats from this channl, set to use Json format, I think 3 to 5 days will be enough, then you will see there are many emoji in the exported Json file (result.json)
You will see that Telegram use a lot of emoji.

from gemojisharp.

hlaueriksson avatar hlaueriksson commented on June 16, 2024

If GEmojiSharp is not working in your use case, you can try the regex from the Stack Overflow answer here:
https://stackoverflow.com/a/48148218

from gemojisharp.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.