Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guo-yong-zhi/query_emoji
Query emoji with nature language, Chinese or English.
https://github.com/guo-yong-zhi/query_emoji
emoji nlp
Last synced: 16 days ago
JSON representation
Query emoji with nature language, Chinese or English.
- Host: GitHub
- URL: https://github.com/guo-yong-zhi/query_emoji
- Owner: guo-yong-zhi
- License: mit
- Created: 2024-06-12T08:33:12.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T07:29:59.000Z (5 months ago)
- Last Synced: 2024-06-13T23:14:46.529Z (5 months ago)
- Topics: emoji, nlp
- Language: Jupyter Notebook
- Homepage:
- Size: 19 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# query_emoji
Query emoji with natural language, Chinese or English.## Install
You should first `git clone --depth 1 https://github.com/guo-yong-zhi/query_emoji` and run `pip install -r requirements.txt`. Then you can run `python query_emoji.py` to see the result. You can also use it in your code:
```python
from query_emoji import QueryEmoji
E = QueryEmoji()
emoji_candidates = E.query("a beautiful girl with a hat", 5)
print(emoji_candidates)
```
```
['๐ค ', '๐ง', '๐ธ', '๐', '๐ง๐ฝ']
```## Examples
- ๅผๅฟ: ๐ | ๐ | ๐ | ๐ | ๐
- ๅ ด้ซ้็: ๐ฅ | ๐ป | ๐ | ๐ | ๐
- ไผคๅฟๆฌฒ็ป: ๐ฆ | ๐ง | ๐ญ | ๐ | ๐ข
- ้ผ ๆ : ๐น | ๐ฑ | ๐ญ | ๐ฎ | ๐
- ่ตท้ๆบ: ๐ | ๐ | ๐ | ๐ด | ๐
- ้นค: ๐ข | ๐ | ๐ | ๐ป | ๐
- crane: ๐ | ๐ | ๐ | ๐ | ๐ฆ
- ๅ้ : ๐ท | ๐ธ | ๐ป | ๐บ | ๐ฅ | โ๏ธ | ๐พ | ๐ | โ | ๐ถ
- ๅชๅ: โ | ๐ | ๐ช | โ๏ธ | ๐ด
- ้ปไบบๆณๅคด: โ๐ฟ | ๐จ๐ฟ | ๐ช๐ฟ | ๐๐ฟ | ๐๐ฟ
- black person: ๐จ๐ฟ | ๐๐ฟ | ๐ฉ๐ฟ | ๐ถ๐ฟ | ๐ฑ๐ฟ
- a beautiful girl with a hat: ๐ง | ๐ค | ๐ธ | ๐ | ๐ง๐ฝ
- a black cat: ๐ฆ๐ฟ | ๐ | ๐น | ๐ผ | ๐จ๐ฟ
- ไนไบๅฏๅธ็ๅคฉ็ฉบ: โ | โ๏ธ | โ | ๐ฆ | ๐ง
- ๆ่ฝไนๅผ้ๆปกๅคฉ: โฑ | โ | ๐๐พ | ๐ | ๐๐พ
- ๆทฑ่็ๅคฉ็ฉบไธญๆ็ไธ่ฝฎ้้ป็ๅๆ: ๐ต | ๐ | ๐ | ๐ | ๐
- ๆทฑ่็ๅคฉ็ฉบไธญๆ็ไธ่ฝฎ้้ป็ๅๆ๏ผไธ้ขๆฏๆตท่พน็ๆฒๅฐ๏ผ้ฝ็ง็ไธๆๆ ้ ็็ขง็ปฟ็่ฅฟ็ใ: ๐ | ๐ | ๐ | ๐ | ๐
- ๅ ถ้ดๆไธไธชๅไธไบๅฒ็ๅฐๅนด๏ผ้กนๅธฆ้ถๅ๏ผๆๆไธๆ้ขๅ๏ผๅไธๅน็นๅฐฝๅๅฐๅบๅป: ๐ค | ๐ฑ๐ฟ | ๐ง | ๐ฆ | ๐ด๐ฟ
- ๅๆ: ๐ | ๐ | ๐ | โช | ๐
- ๆปกๆ: ๐ | ๐ | ๐ | ๐ | ๐
- ๆฑ็ๅ ๆ : ๐ฉ | ๐ฒ | ๐ฎ | ๐ฏ | ๐ด
- ๅๆฐไผ็ฝช: ๐ | ๐ | ๐ฅ | ๐ | โฐ
- sunny: ๐ | ๐ค | โ | โ | โ ๏ธ
- sunny day: ๐ | โ | ๐ค | โ | โ ๏ธ
- ๆฏๅ ็ดข: โ | โ | โ | ๐ป | โก | โ | ๐ | ๐ฟ | ๐ฌ | ๐ญ
- ็ฑๅ ๆฏๅฆ: โ | ๐ฌ | โ | โ | โ | โก | โ | ๐ | โฆ | ๐
- ็ปๅฎถ: ๐จ | ๐ | ๐ | ๐ผ | ๐ค | ๐ | โท | ๐ฟ | ๐ | ๐ต
- ็งๅญฆๅฎถ: ๐ฌ | ๐ญ | โ | โ | โ | โ | ๐ฝ | โ | โ | ๐ฏ
- ่ทณ้ซ: ๐ | โ | ๐ | ๐ด | ๐
- ๅซ็็บธ: ๐ณ๐ท | ๐ | ๐ | ๐ป | ๐ฝ
- ๅคงๅญฆ: ๐ | ๐ | ๐ซ | ๐ | ๐ข
- ่ฎบๆ: ๐ฌ | โ | ๐ | ๐ค | ๐
- ็ฏฎ็: ๐ | โฝ | โพ๏ธ | โน | โพ
- ๆ็ฏฎ็: โน | โพ๏ธ | ๐ | ๐ | โพ
- ๆๆถ: ๐คน | โ | ๐คฆ | ๐ซ | ๐
- ๆปกๅ: ๐ต | ๐ | ๐ณ | ๐ | ๐
- 100ๅ: ๐ฏ | ๐ถ | ๐ | ๐ฎ | โฝ
- ๆปกๅ๏ผ100ๅ: ๐ต | ๐ถ | ๐ฏ | ๐ณ | ๐
- 100ๅ : ๐ถ | ๐ฏ | ๐ถ | ๐ด | ๐ท
- ๆ : ๐ | โ | ๐ณ | 0๏ธโฃ | โ
- nothing: ๐ | 0๏ธโฃ | ๐ณ | ๐ฑ | โ๏ธ
- reverse: โช | ๐ | โ | ๐๐ฟ | ๐
- intersection: ๐ฃ | โน | ๐ฅ | ๐ | ๐ธ
- 8: 8๏ธโฃ | ๐ | โด๏ธ | โด | 9๏ธโฃ
- 8.6: 6๏ธโฃ | 6โฃ๏ธ | 8๏ธโฃ | ๐ | ๐ฟ
- 3.14: ๐ | ๐ | ๐ | ๐ท๏ธ | ๐ต
- 3.14159: ๐ต | ๐๐พ | ๐ | ๐ | ๐ซ
- 4็น30: ๐ | ๐ | ๐ก | ๐ | ๐
- ไธๅ: ๐ฐ | ๐ | โ | ๐ | ๐
- ๆไธ: ๐ | ๐ | ๐ถ | ๐ | ๐ญ
- ๆไธๅฅฝ: ๐ | ๐ | ๐ถ | ๐ | ๐---
I would extend my thanks to [emoji2vec](https://github.com/uclnlp/emoji2vec) and [jinaai](https://huggingface.co/jinaai/jina-embeddings-v2-base-zh).