Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).